[Deluge] #3512: builtins.KeyError: 'disk.num_blocks_cache_hits' log spam

357 views
Skip to first unread message

Deluge

unread,
Mar 12, 2022, 10:29:20 AM3/12/22
to delug...@googlegroups.com
#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

Deluge

unread,
Mar 29, 2023, 6:47:40 PM3/29/23
to delug...@googlegroups.com
#3512: builtins.KeyError: 'disk.num_blocks_cache_hits' log spam
------------------------+----------------------------
Reporter: edechamps | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Unknown | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------
Changes (by MotoFckr9k):

* cc: firedefender1@… (added)


--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3512#comment:1>

Reply all
Reply to author
Forward
0 new messages