UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

traceback: too many files open....

Open James-MF-Thomas opened this issue 6 years ago • 6 comments

So this happens:

Screen Shot 2020-11-09 at 12 31 39 PM

and this happens: Screen Shot 2020-11-09 at 12 32 36 PM

James-MF-Thomas avatar Nov 09 '20 18:11 James-MF-Thomas

You can ignore this error, increase the number of files you can open, or use a diff operating system

UltimaHoarder avatar Nov 09 '20 19:11 UltimaHoarder

wheres the issue in this file path? Screen Shot 2020-11-10 at 4 58 12 AM

It keeps creating this path inside .sites directory..

(this is the same path I was using with 5.5, where it was downloading to a secondary SSD)

James-MF-Thomas avatar Nov 10 '20 11:11 James-MF-Thomas

just emailed you

James-MF-Thomas avatar Nov 11 '20 19:11 James-MF-Thomas

You can run this command in terminal

ulimit -S -n 2048

Then run start_ofd.py

That resolved the issue for me.

This command will only apply to the current shell session.

You can add it to your shell configuration file (.bashrc, .zshrc, etc) if you want it to run every time you open a shell.

Code4Win avatar Nov 22 '20 00:11 Code4Win

Yeah I ended up running;

sudo launchctl limit maxfiles 10000 2147483647

2147483647 Is equivalent to “unlimited” which is the system install hard limit. apparently if you change the soft limit it automatically and forever removes the unlimited setting(option)

Obviously unlimited is theoretical, where as 2147483647 is the actual ceiling.

The real difference was changing the soft limit from 256 to 10000

James-MF-Thomas avatar Nov 22 '20 10:11 James-MF-Thomas

Changing from the default 256 to 2048 fixed it for me.

Code4Win avatar Nov 24 '20 21:11 Code4Win