disk activity

General support for problems installing or using Deluge
Post Reply
Winand
New User
New User
Posts: 9
Joined: Fri May 11, 2012 9:05 am

disk activity

Post by Winand »

Hi. I use deluged 1.3.5-0~jaunty on my NAS (debian lenny). I want hdd to sleep when all torrents are paused, but deluged awakes it continually (hdd sleeps if i stop deluged). Cause kernel doesn't include i/o accounting support i cannot know what exactly deluged is doing.
So is it possible to stop disk activity when torrents are paused? any other comments?)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: disk activity

Post by Cas »

You could try turning off auto-managed on all torrents so that paused torrents are no longer checked, also by default deluged will log to disk so you may wish to set that to none.
Winand
New User
New User
Posts: 9
Joined: Fri May 11, 2012 9:05 am

Re: disk activity

Post by Winand »

Ok. I turned off 'auto-managed' for all torrents but that didn't help.
Suddenly! i found out that can watch debug info with

Code: Select all

deluged -d -L debug
Here is the output (at 20:59:25 i pressed Quit button on client side)

Code: Select all

[INFO    ] 20:59:25 rpcserver:223 Deluge client disconnected: Connection to the other side was lost in a non-clean fashion.

[DEBUG   ] 21:00:42 alertmanager:123 scrape_failed_alert: Ya.Kiborg.2006_[torrents.ru].mkv (http://bt3.rutracker.org/ann?uk=vmxC4lbFGj) scrape failed: scrape is not available on url: 'http://bt3.rutracker.org/ann?uk=vmxC4lbFGj'

[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: Peep Show resume data generated
[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: Ya.Kiborg.2006_[torrents.ru].mkv resume data generated
[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: The.Bleak.Old.Shop.Of.Stuff.2011-2012.S01.XviD.TVRip resume data generated
[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: American Dad - Season 7 resume data generated
[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: п¦п¦пЇп+пҐ 1 resume data generated
[DEBUG   ] 21:00:52 alertmanager:123 save_resume_data_alert: House M.D. - Season 8 (LostFilm) resume data generated
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:52 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:00:53 torrentmanager:727 Opening torrents fastresume file for load.
[DEBUG   ] 21:00:53 torrentmanager:767 Saving fastresume file: /root/.config/deluge/state/torrents.fastresume
[DEBUG   ] 21:01:02 torrentmanager:687 Saving torrent state file.

[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: Peep Show resume data generated
[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: Ya.Kiborg.2006_[torrents.ru].mkv resume data generated
[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: The.Bleak.Old.Shop.Of.Stuff.2011-2012.S01.XviD.TVRip resume data generated
[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: American Dad - Season 7 resume data generated
[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: п¦п¦пЇп+пҐ 1 resume data generated
[DEBUG   ] 21:04:02 alertmanager:123 save_resume_data_alert: House M.D. - Season 8 (LostFilm) resume data generated
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:02 torrentmanager:1035 on_alert_save_resume_data
[DEBUG   ] 21:04:03 torrentmanager:727 Opening torrents fastresume file for load.
[DEBUG   ] 21:04:03 torrentmanager:767 Saving fastresume file: /root/.config/deluge/state/torrents.fastresume
[DEBUG   ] 21:04:22 torrentmanager:687 Saving torrent state file.
What can i do with i/o operations every 3 min 20 sec

Code: Select all

[DEBUG   ] 21:00:53 torrentmanager:727 Opening torrents fastresume file for load.
[DEBUG   ] 21:00:53 torrentmanager:767 Saving fastresume file: /root/.config/deluge/state/torrents.fastresume
[DEBUG   ] 21:01:02 torrentmanager:687 Saving torrent state file.
Winand
New User
New User
Posts: 9
Joined: Fri May 11, 2012 9:05 am

Re: disk activity

Post by Winand »

Ok. i just symlinked 'state' dir to /var/log so ramlog now takes care about saving&restoring it on reboot. I think this approach isn't good:-)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: disk activity

Post by Cas »

I thought that may be the case and its a reasonable solution.
Post Reply