#3512: builtins.KeyError: 'disk.num_blocks_cache_hits' log spam
----------------------------+---------------------
 Reporter:  edechamps       |       Type:  bug
   Status:  new             |   Priority:  minor
Milestone:  needs verified  |  Component:  Unknown
  Version:  2.0.3           |   Keywords:
----------------------------+---------------------
 My Deluge daemon is currently flooding its text output with:

 {{{
 15:21:04 [CRITICAL][twisted                       :147 ] Unhandled Error
 Traceback (most recent call last):
 File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line
 122, in run_daemon
   daemon.start()
 File "/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 164, in
 start
   reactor.run()
 File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1315,
 in run
   self.mainLoop()
 File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 1325,
 in mainLoop
   reactorBaseSelf.runUntilCurrent()
 --- <exception caught here> ---
 File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 991,
 in runUntilCurrent
   call.func(*call.args, **call.kw)
 File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 345, in
 _on_alert_session_stats
   self._update_session_cache_hit_ratio()
 File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 361, in
 _update_session_cache_hit_ratio
   self.session_status['disk.num_blocks_cache_hits'] / blocks_read
 builtins.KeyError: 'disk.num_blocks_cache_hits'
 }}}

 This is logged multiple times per second, resulting in massive flooding.
 This doesn't seem to impair the operation of Deluge itself though.

 Running Debian Sid with package versions:

 * deluge 2.0.3-3.1
 * python3-twisted 22.2.0-1
 * python3-libtorrent 2.0.5-6
 * libtorrent-rasterbar2.0 2.0.5-6

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3512>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/048.ee5ff73d10244ca05408f661206576fc%40deluge-torrent.org.

Reply via email to