0.5.8.3 locks up occasionally

General support for problems installing or using Deluge
bugsbunny
New User
New User
Posts: 9
Joined: Sun Jan 20, 2008 4:12 am

Re: 0.5.8.3 locks up occasionally

Post by bugsbunny »

OK, today I ended up deleting ~/.config/Deluge and recreating (after I was getting boost::filesystem::create_directory messages for some reason).

Torrents could then start up fine (no more libboost messages)

I loaded up (at the moment) a total of 84 torrents. Of those 3 are downloads and 81 are seeds (of which currently about 3 are active, including 1 of the downloads which is also actively seeding). The active numbers are, obviously, subject to change.

I haven't minimized this at all, but have just been watching resource utilization and I see a pattern that runs roughly:
1 minute of minimal cpu, followed by about 20 seconds of peak cpu (on 1 of the 2 cpus), followed by 1 minute of minimal, followed by 20 seconds of peak . . .

When it locked up last night there was no drop back down to minimal levels (or at least the drops were few and far between).
As I've been watching the peak time has been extending somewhat (last cycle it extended for 30 seconds rather than 20). The 1 minute low usage portion is, so far, appearing to remain constant.

Occasionally I'll get a dip (giving a short valley) during the peak portion, but that's not the norm. Usually it's a steep climb, folllowed by continuous peak, followed by steep drop.

the peak is now up to about a 40 second duration. The 1 minte low usage is still there.

Now trying to pause a bunch of torrents and see if that impacts things. I selected about 60 torrents (maybe a bit more) and clicked on "pause". This resulted in a delay, followed by which almost all the torrents came back with a tracker status of "announce sent" and a "time to next announce" of 0:00

Finally worked my way through and paused the torrents - this didn't help. Times were still getting longer, separated by a 1 minute low usage gap.

I then removed almost all the torrents, leaving 4 seeding and 2 downloading. This impacted things tremendously.
The cpu peaks dropped to a duration of under 5 seconds, still separated by 1 minute intervals.

So it looks like a tight loop processing some internal torrent table may be the culprit. Why it increases as time passes is another issue, unless the queue is somehow increasing and never getting emptied (unless the torrent is removed).

Hope this helps somehow. Anything I can do just let me know.
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: 0.5.8.3 locks up occasionally

Post by markybob »

i think this is due to the webui. is everyone who's having this problem have the webui enabled? if so, does disabling it fix it for you?
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: 0.5.8.3 locks up occasionally

Post by johnnyg »

markybob wrote:i think this is due to the webui. is everyone who's having this problem have the webui enabled? if so, does disabling it fix it for you?
jarlath wrote:I have the Speed Limiter, Torrent Files / Notification / Peers / Search enabled.
yupotem wrote:I'm only using the Torrent Files and the Torrent Peers plugins.
doesn't look like web ui is the culprit this time...
bugsbunny
New User
New User
Posts: 9
Joined: Sun Jan 20, 2008 4:12 am

Re: 0.5.8.3 locks up occasionally

Post by bugsbunny »

No web-ui here.

Active plugins:
Desired ratio
network graph
network monitor
scheduler
speed limiter
torrent-files
torrent-peers

I'll try playing with those to see if I get a correlation.
infinit
New User
New User
Posts: 6
Joined: Sat Jan 26, 2008 4:56 pm

Re: 0.5.8.3 locks up occasionally

Post by infinit »

markybob wrote:i think this is due to the webui. is everyone who's having this problem have the webui enabled? if so, does disabling it fix it for you?
Gutsy 64, 0.5.8.3, plugins: blocklist importer, desired ratio, move torrent, net activity, net health, scheduler, speed limiter, torrent files, torrent peers.
There are 14 torrents, 4 active (seeding).
Seems to happen periodically: 1 minute CPU 100% because of Deluge, 1 minute CPU normal usage.
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: 0.5.8.3 locks up occasionally

Post by markybob »

infinit wrote:
markybob wrote:i think this is due to the webui. is everyone who's having this problem have the webui enabled? if so, does disabling it fix it for you?
Gutsy 64, 0.5.8.3, plugins: blocklist importer, desired ratio, move torrent, net activity, net health, scheduler, speed limiter, torrent files, torrent peers.
There are 14 torrents, 4 active (seeding).
Seems to happen periodically: 1 minute CPU 100% because of Deluge, 1 minute CPU normal usage.
today was the first day that i was able to reproduce this, and i was testing stuff and having it hang consistenly for about two hours...and then suddenly it stopped happening, even with the same plugins, # of torrents, etc, that was causing it to hang for a bit just hours ago. i just cant make it happen anymore :? if this is happening to you, try removing deluge, completely removing ~/.config/deluge, then reinstalling deluge and seeing if it happens again. i have no idea what's going on here.
bugsbunny
New User
New User
Posts: 9
Joined: Sun Jan 20, 2008 4:12 am

Re: 0.5.8.3 locks up occasionally

Post by bugsbunny »

At least you know we're not crazy. :) As mentioned earlier I already had deleted the config folder. I'll try a purge and re-install tomorrow (or maybe later tonight). Although I really would be surprised if that helps long term (short term anything is possible, if it gets better it could well be co-incidence based on what happened to you)

At the moment I have all plugins, except for torrent-speed, turned off. It makes no difference (as you found out).
infinit
New User
New User
Posts: 6
Joined: Sat Jan 26, 2008 4:56 pm

Re: 0.5.8.3 locks up occasionally

Post by infinit »

I restarted X (and Deluge) and now it doesn't happen anymore.
The Blocklist importer plugin seems to be disabled, I think it happened automatically because it blocked the starting of the application (by the browser that downloaded a torrent file) and I had to kill -9 it..
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: 0.5.8.3 locks up occasionally

Post by markybob »

infinit wrote:I restarted X (and Deluge) and now it doesn't happen anymore.
The Blocklist importer plugin seems to be disabled, I think it happened automatically because it blocked the starting of the application (by the browser that downloaded a torrent file) and I had to kill -9 it..
crazy. i'm not sure. so, people having a problem, try restarting x and let us know :?
bugsbunny
New User
New User
Posts: 9
Joined: Sun Jan 20, 2008 4:12 am

Re: 0.5.8.3 locks up occasionally

Post by bugsbunny »

I just rebooted the system. Been watching Deluge for a while know. Haven't seen it go over 3% cpu, and even that is rare. Usually it's 1% or 0. Plugins enabled as before.

Strange. I'll keep an eye on it but so far so good.
Post Reply