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

automatically take-up of downloads that encurred errors?

Tags: None
(comma "," separated)
ungua
Registered Member
Posts
46
Karma
0
i have it a lot of times now that a download is stopped because of some error not related to the torrent. clicking on it with right mouse button i have to choose "start" to make it run again. is it possible to let ktorrent do that automatically and probably write the reason for an error in a log?

regards
ungua
George
Moderator
Posts
5421
Karma
1

Tue Feb 06, 2007 5:31 pm
Why does it stop ?
ungua
Registered Member
Posts
46
Karma
0

Tue Feb 06, 2007 10:42 pm
it says "too many files open" - but this message does not depend on the number of torrents in the list. a little bit strange but i wouldn't care if it would start where it stopped automatically.

regards
ungua
ungua
Registered Member
Posts
46
Karma
0

Thu Feb 08, 2007 2:51 pm
okay, might this "too many files open" message be connected to files opened in other applications, too? like firefox?

regards
ungua

edit: can i limit the number of files simultanously opened by ktorrent?
George
Moderator
Posts
5421
Karma
1

Thu Feb 08, 2007 7:40 pm
Too many files open means that KTorrent has to many files open (linux limits this), network connections are also count as files.

I would certainly limit the number of connections.

Alternatively you can up the limit with ulimit.

In 2.2, we will try to prevent this from happening.
ungua
Registered Member
Posts
46
Karma
0

Mon Feb 12, 2007 10:17 pm
okay, thank you. what number of network connections would be a reasonable choice? will this further slow down ktorrent?

regards
ungua
George
Moderator
Posts
5421
Karma
1

Tue Feb 13, 2007 8:14 pm
It all depends, on how many torrents are running and now many connections you allow per torrent.
sn0w
Registered Member
Posts
2
Karma
0

Mon Apr 02, 2007 1:24 pm
My ISP sent me a new cable modem, an Arris Touchstone TM402B, since I installed it, I get too-many-files-open errors on torrents within the hour. So I lowered the global and per torrent connections, from 800/100 to ultimately 50/10. Even with one torrent running I still get the error, on torrents with 50+ peers or so. I have not installed anything since before the installation of the new modem, nor changed settings or such. I use a SVN of ktorrent from about two months or so ago, tried twice to install a newer version, but get a 'peermanager.cpp:136: error: `MaxOpenFiles' is not a member of `bt'' error. Manually restarting a torrent every so many minutes is not working for me though. It not that I really know what I'm doing, but ktorrent works best for me and I don't particulary want to use Azureus anymore even if that would solve anything.

I don't know if I could find this myself, still if I'm allowed to ask, I was wondering does the latest SVN have this auto-resume / prevention function?
George
Moderator
Posts
5421
Karma
1

Mon Apr 02, 2007 4:37 pm
Latest SVN will automatically ensure that reaching the file limit is difficult. If you are really experiencing this often, you could increase the limit with ulimit
sn0w
Registered Member
Posts
2
Karma
0

Tue Apr 03, 2007 2:59 pm
Thank you.

As 'ulimit -a' reports 'open files (-n) 1024', a torrent exceeding a thousand files was apparently causing the problem.

I find both reading and thinking very difficult, I apologize for any inconvenience I caused.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar