zim-tools icon indicating copy to clipboard operation
zim-tools copied to clipboard

Document why/how to deal with filehandling max limitation on Linux

Open kelson42 opened this issue 3 years ago • 4 comments

Following #289

kelson42 avatar Feb 16 '22 15:02 kelson42

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

kelson42 avatar Feb 16 '22 15:02 kelson42

How do I work around the "Too many open files" error?

ghost avatar Aug 20 '22 10:08 ghost

run ulimit -n 2048 before running zimwriterfs to change the limit of open files to 2048 (or more, the default value is 1024)

mgautierfr avatar Aug 22 '22 12:08 mgautierfr

run ulimit -n 2048 before 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).

ghost avatar Aug 22 '22 13:08 ghost