zim-tools
zim-tools copied to clipboard
Document why/how to deal with filehandling max limitation on Linux
Following #289
After discussion which should be able to implement a solution to:
- Save files smaller than cluster size in memory
- Keep filehandle open for bigger files
How do I work around the "Too many open files" error?
run ulimit -n 2048 before running zimwriterfs to change the limit of open files to 2048 (or more, the default value is 1024)
run
ulimit -n 2048before running zimwriterfs to change the limit of open files to 2048 (or more, the default value is 1024)
Thank you, this worked (well, a higher value than 2048, but it worked).