log: Python module is up-to-date
Maximum of files that will be opened=10000
log: Max number of opened files (10000) is larger than required number of images (59062)
I’ve triple checked every file limit on latest Ubuntu 24.04.2 LTS, on a new 4tb SSD no errors, I’ve manually set in every config file soft and hard limits to 100,000 and output of ulimit -n is 100000. It was much higher before but I figured manually setting it everywhere couldn’t hurt. I can’t find anywhere an open file limit of 10,000. I ran with strace and no errors or warnings that would explain this. I’m assuming siril gets it from rlimit_nofile which the output of is python3 -c “import resource; print(resource.getrlimit(resource.RLIMIT_NOFILE))”
(100000, 100000).
Super confusing. Anyone have any ideas?
Hi,
the limitation is set by cfitsio (defined by NMAXFILES in fitsio2.h)
So nothing to do with Python.
Cheers,
C.
1 Like
Yes, I remember asking the cfitsio team to increase their limit, which was originally 1000
1 Like
I swear I looked around before asking
Thanks for the quick reply, much appreciated.
1 Like
Now, if you are doing lucky deep sky imaging, just use SER format.
1 Like
Not to reopen an old topic but for anyone else just wanted tk add I recompiled the cfitsio lib after changing their number to 100,000 and same in the siril stacking limit and have had no problems, gone up to 36k lights so far on a 5tb total drizzeled stack.
Perhaps we should ask the Cfitsio team to make this change. Do you want to do it? It’s probably best if you ask - and explain your needs.
1 Like
I sent in a request to their email to change it to 100k or perhaps just eliminate that constraint / reference from environment.