You are not logged in.

#1 2014-05-15 09:10:08

Grima
Member
Registered: 2011-09-02
Posts: 58

Error: Too many open files

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
1070

While 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

#2 2014-05-15 10:14:05

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Error: Too many open files

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

Board footer

Powered by FluxBB