Page 1 of 2

"max outstanding disk writes reached"?

Posted: Fri Mar 19, 2010 3:56 pm
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

Re: "max outstanding disk writes reached"?

Posted: Fri Mar 19, 2010 6:38 pm
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.

Re: "max outstanding disk writes reached"?

Posted: Sat Mar 20, 2010 12:04 am
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?

Re: "max outstanding disk writes reached"?

Posted: Sat Mar 20, 2010 8:41 am
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.

Re: "max outstanding disk writes reached"?

Posted: Sat Mar 20, 2010 2:24 pm
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?

Re: "max outstanding disk writes reached"?

Posted: Sat Mar 20, 2010 2:45 pm
by johnnyg

Re: "max outstanding disk writes reached"?

Posted: Fri Mar 26, 2010 1:33 am
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!? :?:

Re: "max outstanding disk writes reached"?

Posted: Fri Mar 26, 2010 3:24 am
by Cas
i would have thought it to be more sensible to compile against 1.3 but i am surprised its not backward compatible.

Re: "max outstanding disk writes reached"?

Posted: Fri Mar 26, 2010 1:04 pm
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.

Re: "max outstanding disk writes reached"?

Posted: Fri Mar 26, 2010 2:16 pm
by Cas
that doesn't stop you building it...