MusicPlayerDaemon / mpdscribble

a MPD client which submits information about tracks being played to a scrobbler (e.g. last.fm)
GNU General Public License v2.0
117 stars 15 forks source link

High CPU load when idle #61

Closed Lodger-test closed 2 months ago

Lodger-test commented 2 months ago

Version: mpdscribble 0.25-2 Mode: runs as an enabled mpdscribble.service (/usr/bin/mpdscribble --no-daemon) System: Arch GNU/Linux [x86_64] Bundle: mpd 0.23.15-5 + mpc 0.35-1 + ncmpc 0.49-2 + mpdscribble 0.25-2

Actual behavior:

100% load of one CPU core when mpd playback is paused or stopped.

How to reproduce:

Add some tracks to playlist, play them and pause or stop the playback. In a while you should hear the cooler increasing noise and then you could see a high CPU load (top, htop) by mpdscribble.

MaxKellermann commented 2 months ago

Probably duplicate of https://github.com/MusicPlayerDaemon/mpdscribble/issues/60 and it's really a CURL bug.

Lodger-test commented 2 months ago

Probably duplicate of #60 and it's really a CURL bug.

Thanks. Updated curl to 8.9.1-2, hope it will solve the issue.