Page 2 of 3

Re: High cpu usage during download

Posted: Wed May 15, 2013 5:19 pm
by f.lambe
I've downloaded some torrent and...here we are...cpu up to 70%. I've to delete again stat folder? Is there some permanent fix?

Re: High cpu usage during download

Posted: Sun May 19, 2013 10:23 am
by bro
This must be a bug somewhere. Without being able to reproduce the issue it's nearly impossible to fix. Is it a specific torrent that causes this?

Re: High cpu usage during download

Posted: Mon May 20, 2013 9:23 pm
by Smyl3
bro wrote:This must be a bug somewhere. Without being able to reproduce the issue it's nearly impossible to fix. Is it a specific torrent that causes this?
No, high cpu usage also exists without any torrents, as I wrote it before. It's certainly a bug, but unfortunately nobody has any idea or solution for that yet. Useless client for me in that state.

Re: High cpu usage during download

Posted: Tue May 21, 2013 4:26 pm
by f.lambe
Exactly, it happens with any torrents.

Is there some more infos that i could give?

Re: High cpu usage during download

Posted: Tue May 21, 2013 10:05 pm
by Cas
Smyl3 wrote:No, high cpu usage also exists without any torrents, as I wrote it before. It's certainly a bug, but unfortunately nobody has any idea or solution for that yet. Useless client for me in that state.
Sorry but I do not think your issue is relevant to this topic.

Re: High cpu usage during download

Posted: Wed May 22, 2013 1:34 pm
by Smyl3
Cas wrote:Sorry but I do not think your issue is relevant to this topic.
I can create a new separated topic for high cpu usage without any torrents if there aren't any relationship between those problems/bugs, if that helps. Should I?

Re: High cpu usage during download

Posted: Wed May 22, 2013 1:36 pm
by bro
If it's the daemon that uses all the CPU you can try to profile it and I can look at the results.

To profile the daemon do this:

To get the absolute path of deluged

Code: Select all

$ which deluged
Will output something like "/usr/local/bin/deluged"

Then run deluged like this:

Code: Select all

python -m cProfile -o profile.out /usr/local/bin/deluged -l deluged.log -L info -d
If you need to specify a config directory, use -c "path to config dir", e.g.

Code: Select all

python -m cProfile -o profile.out /usr/local/bin/deluged -l deluged.log -L info -d -c /home/youruser/.config/deluge
You can open the profile results with runsnake but I'll gladly look at it.

Re: High cpu usage during download

Posted: Wed May 22, 2013 1:37 pm
by bro
Smyl3 wrote:
Cas wrote:Sorry but I do not think your issue is relevant to this topic.
I can create a new separated topic for high cpu usage without any torrents if there aren't any relationship between those problems/bugs, if that helps. Should I?
Can verify if it's the daemon or client that uses all the CPU?

Re: High cpu usage during download

Posted: Wed May 22, 2013 6:21 pm
by Smyl3
bro wrote:Can verify if it's the daemon or client that uses all the CPU?
Can I? I'm using the windows version of Deluge..

Re: High cpu usage during download

Posted: Wed May 22, 2013 7:05 pm
by f.lambe
bro wrote:If it's the daemon that uses all the CPU you can try to profile it and I can look at the results.

To profile the daemon do this:

To get the absolute path of deluged

Code: Select all

$ which deluged
Will output something like "/usr/local/bin/deluged"

Then run deluged like this:

Code: Select all

python -m cProfile -o profile.out /usr/local/bin/deluged -l deluged.log -L info -d
If you need to specify a config directory, use -c "path to config dir", e.g.

Code: Select all

python -m cProfile -o profile.out /usr/local/bin/deluged -l deluged.log -L info -d -c /home/youruser/.config/deluge
You can open the profile results with runsnake but I'll gladly look at it.

ok, i'll do that. It's necessary to use thin client with deluged daemon?