Open file limit Siril 1.3.6 on Ubuntu

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 :joy: Thanks for the quick reply, much appreciated.

1 Like

Now, if you are doing lucky deep sky imaging, just use SER format.

1 Like