![]() Registered Member ![]()
|
Hi
" Error starting torrent ................ Cannot open Too many open files " I have SuSE 9.3 KDE 3.5.1 KTorrent 1,2 my Options are: Maximum download, seed, connection per download, upload rate and download rate - 0 - no limit can you help me ? Thanks |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Is it possible to edit the open files limit to a much bigger number? If so how? Take care, Bob.
|
![]() Registered Member ![]()
|
Ah-ha! I figured it out. Open Konsole, become superuser, type ulimit -n (than the number of files desired ex: ulimit -n 2048) Take care, Bob.
|
![]() Registered Member ![]()
|
I tried this and it didn't help, any ideas? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
We open and close files on the fly, only when they are needed, if you are still hitting the limit, what more can I do ? KT is bound by the limits of the OS. We try to minimize the number of open files. |
![]() Registered Member ![]()
|
I'd limit descriptors per torrent. I have approx 50 seeds. if I give 5 each I'll end up with 250 descriptors, far less than 2048 (the hard limit here).
I really don't care if files have to be reopened during seeds. Yes it may be faster if keep them open but this would work only with large files, not many. 2048 (descriptors) is not small number... ![]() ps: if I limit conns per torrent would it be helpful? how many fd are open, one per peer? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
I don't have one. I think i have too less knowlegde about the structure of linux and ktorrent to be able to think contrustive about this subject. So, that's where you're talking over my head. I thought the "on the fly disconnecting files not needed" was a pretty nifty idea, and it worked out flawless here so far. (but i don't seed 50 torrents at the same time here, that would be insane on my 6/1mb connection) |
![]() Registered Member ![]()
|
oh, sorry I think I misunderstood you
![]() 'too many open files' error can be also triggered by sockets (they are files as well). I'm trying to figure how many files and sockets are opened in my case (50 seeds). I have just one torrent with many files. The max files (files only) opened in a single moment reached 895 (I realised my soft limit is 1024 actually). if there is a way to reduce this number (files opened) it would be great... ![]() ps: I guess if I cleanup seeds list frequently, it would help perhaps... ![]() |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]