This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Annoying too many files open error

Tags: None
(comma "," separated)
DjDarkman
Registered Member
Posts
53
Karma
0

Annoying too many files open error

Mon Aug 07, 2006 5:21 pm
Is kt desinged only to run with a few (<30) torrents?this error is very anoying when I leave my pc for a few hours and see that it`s not doing anything because there are "too many files open".What does this mean?
George
Moderator
Posts
5421
Karma
1
DjDarkman wrote:Is kt desinged only to run with a few (<30) torrents?this error is very anoying when I leave my pc for a few hours and see that it`s not doing anything because there are "too many files open".What does this mean?


Each process has a limited amount of files it can open and network connections are also files. Usually this limit is set to 1024, and with 30 torrents you can probably hit this limit pretty easily.

You can change this using ulimit, though you probably need to be root to do this.
DjDarkman
Registered Member
Posts
53
Karma
0
George wrote:
DjDarkman wrote:Is kt desinged only to run with a few (<30) torrents?this error is very anoying when I leave my pc for a few hours and see that it`s not doing anything because there are "too many files open".What does this mean?


Each process has a limited amount of files it can open and network connections are also files. Usually this limit is set to 1024, and with 30 torrents you can probably hit this limit pretty easily.

You can change this using ulimit, though you probably need to be root to do this.
How come utorrent emulated with wine never reaches this limit?
stoeptegel
Registered Member
Posts
1075
Karma
0
George wrote:You can change this using ulimit, though you probably need to be root to do this.


Yep.
In debian/ubuntu this works like:

vim /etc/security/limits.conf
And add:
Code: Select all
username hard nofile 1300
username soft nofile 1200

After doing this, the limit is set on 1200 and can changed by the user to max 1300. This probable works the same in other distro's.
Personally i haven't got issues running out of file limits with the standard limit for months on the svn version. Dunno about utorrent though, sorry.
George
Moderator
Posts
5421
Karma
1
DjDarkman wrote:
George wrote:
DjDarkman wrote:Is kt desinged only to run with a few (<30) torrents?this error is very anoying when I leave my pc for a few hours and see that it`s not doing anything because there are "too many files open".What does this mean?


Each process has a limited amount of files it can open and network connections are also files. Usually this limit is set to 1024, and with 30 torrents you can probably hit this limit pretty easily.

You can change this using ulimit, though you probably need to be root to do this.
How come utorrent emulated with wine never reaches this limit?


Don't know, they probably divide this evenly among torrents, or they have a tighter limit on the number of connections per torrent.
DjDarkman
Registered Member
Posts
53
Karma
0

Tue Aug 08, 2006 4:52 pm
But sometimes this error disapears if I restart kt.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft