"max outstanding disk writes reached"?

General support for problems installing or using Deluge
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

"max outstanding disk writes reached"?

Post by simonbcn »

Deluge 1.2.1
Ubuntu 9.04 32 bits

What's the meaning of this error in my deluged.log?

Code: Select all

[DEBUG] alertmanager:115 performance_alert: Trainspotting_JMBD: performance warning: max outstanding disk writes reached
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: "max outstanding disk writes reached"?

Post by andar »

simonbcn wrote:Deluge 1.2.1
Ubuntu 9.04 32 bits

What's the meaning of this error in my deluged.log?

Code: Select all

[DEBUG] alertmanager:115 performance_alert: Trainspotting_JMBD: performance warning: max outstanding disk writes reached
It basically means what it says. libtorrent tries to be nice and throttles it's writes to disk or how much data it will hold in a buffer before flushing to disk. This has the side-effect of slowing down some your downloads. This is all in an effort to keep the memory usage down and file integrity up. That being said, these settings can be adjusted, but they aren't exposed in Deluge. The new libtorrent 0.15 version improves on how it handles these types of situations and the defaults should work better.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: "max outstanding disk writes reached"?

Post by simonbcn »

andar wrote:The new libtorrent 0.15 version improves on how it handles these types of situations and the defaults should work better.
And what version of Deluge will use this new version of libtorrent?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: "max outstanding disk writes reached"?

Post by andar »

simonbcn wrote:
andar wrote:The new libtorrent 0.15 version improves on how it handles these types of situations and the defaults should work better.
And what version of Deluge will use this new version of libtorrent?
You can use it with 1.2 or the upcoming 1.3.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: "max outstanding disk writes reached"?

Post by simonbcn »

andar wrote:You can use it with 1.2 or the upcoming 1.3.
Thanks, but it doesn't yet available this version in libtorrent downloads page.
I will wait for deluge 1.3.
What's the schedule of the version 1.3?
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: "max outstanding disk writes reached"?

Post by johnnyg »

simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: "max outstanding disk writes reached"?

Post by simonbcn »

andar wrote:
simonbcn wrote:
andar wrote:The new libtorrent 0.15 version improves on how it handles these types of situations and the defaults should work better.
And what version of Deluge will use this new version of libtorrent?
You can use it with 1.2 or the upcoming 1.3.
I have downloaded and compiled libtorrent 0.15 and deluge 1.2.2, but deluge 1.2.2 can't run with libtorrent 0.15! :(

Code: Select all

[ERROR   ] 02:27:00 main:216 No registered converter was able to extract a C++ reference to type libtorrent::announce_entry from this Python object of type dict
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/main.py", line 209, in start_daemon
    Daemon(options, args)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/daemon.py", line 169, in __init__
    component.start()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/component.py", line 210, in start
    _ComponentRegistry.start()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/component.py", line 118, in start
    self.start_component(component)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/component.py", line 131, in start_component
    self.components[name].start()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/torrentmanager.py", line 203, in start
    self.load_state()
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/torrentmanager.py", line 585, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/torrentmanager.py", line 440, in add
    torrent = Torrent(handle, options, state, filename, magnet)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/torrent.py", line 132, in __init__
    self.set_trackers(state.trackers)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.2-py2.6.egg/deluge/core/torrent.py", line 309, in set_trackers
    self.handle.replace_trackers(trackers)
TypeError: No registered converter was able to extract a C++ reference to type libtorrent::announce_entry from this Python object of type dict
I have wasted time and effort for nothing!

Why do you say this if it's not true!? :?:
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: "max outstanding disk writes reached"?

Post by Cas »

i would have thought it to be more sensible to compile against 1.3 but i am surprised its not backward compatible.
simonbcn
Leecher
Leecher
Posts: 53
Joined: Tue Sep 18, 2007 7:10 pm
Location: Barcelona, Spain
Contact:

Re: "max outstanding disk writes reached"?

Post by simonbcn »

Cas wrote:i would have thought it to be more sensible to compile against 1.3 but i am surprised its not backward compatible.
The 1.3 version is in development yet.
Simón
Usuario Linux nº 413.257 (http://counter.li.org/)
Usuario Ubuntu nº 11312 (http://ubuntucounter.geekosophical.net/)
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: "max outstanding disk writes reached"?

Post by Cas »

that doesn't stop you building it...
Locked