[FIX] ulimit "open-files" too low for KTorrent
Bug #189691 reported by
Thomas Ohms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ktorrent (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: ktorrent-kde4
Bug: Downloading sample amount of 26 torrents stops downloads with notification "too many open files"
Fix: set default ulimit value of "open files" from 1024 to 4096
Request: Why not set default ulimit value of "open files" higher?
description: | updated |
Changed in ktorrent-kde4: | |
assignee: | nobody → vorian |
status: | New → Confirmed |
To post a comment you must log in.
This bug also applies to KTorrent KDE3 also, and has been discussed in upstream's forums before. Setting ulimit higher is only a workaround -- there's only so many times you can do that before KTorrent DoS'es the system with thousands of open file handles.
The previously agreed upon, and still unimplemented, resolution was for KTorrent to internally limit itself on the max # of open files to the ulimit, which is a more reasonable approach. Once I had a torrent I needed to download with over 16,000 files and I had to resort to Azureus, a client that uses the approach I just described.