You are not logged in.
Every now and then, some of my programs dealing with many files fail with the error "Too many open files". Especially Deluge does this, and I simply don't know why.
Right now, Deluge is running with pid 1406, so I:
$ grep files /proc/1406/limits
Max open files 1024 4096 files
$ lsof -p 1406 | wc -l
1070While Deluge does exceed the soft limit (1024), it doesn't exceed the upper, hard limit (4096). Why, then, does it keep on stopping my torrents?
Offline
Softlimit means that an unprivileged user (or program) can raise this limit. It's a bit of a guard against misbehaving software. You can modify this limit with ulimit.
fs/super.c : "Self-destruct in 5 seconds. Have a nice day...\n",
Offline