Re: [SlimDevices: SqueezeCenter] 25% CPU slimserver.pl in 8.2 docker while idle

2021-03-04 Thread Michael Herger

Doesn't matter if i use the original version of trackstat from Erland or
the modified one by myself which prevents duplicate musicbrainz_id.
But as i said. the plugin is according to logs doing nothing.


As you know how to edit the plugin (and you've done so), just add log 
statements wherever you want (assuming you've already enabled debug 
logging for plugin.trackstat or whatever it is).

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] 25% CPU slimserver.pl in 8.2 docker while idle

2021-03-04 Thread mamema


bpa wrote: 
> Can you clarify the CPU load figure and how many cores on the system.
> 
> On some systems with 4 cores if LMS took 100% of a core it could show
> 25% overall but detailed CPU display would show 100% on one core.
> 
> Is the 25% on a single core or overall ?

the system has 4 cores, the docker container uses 25% of one core. It's
not much, but as described, it's for "nothing"



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114073

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] 25% CPU slimserver.pl in 8.2 docker while idle

2021-03-04 Thread bpa


mamema wrote: 
> yes, you've said it -> trackstat.
> 
> It is/was trackstat. Completely disable this plugin and the CPU load
> from 25% to 2%.
> But! The usual, enable debugging on plugin doesn't help here. As
> trackstat according to the log, does nothing. The plugin is activated,
> but doing nothing (according to logs)
> Doesn't matter if i use the original version of trackstat from Erland or
> the modified one by myself which prevents duplicate musicbrainz_id.
> But as i said. the plugin is according to logs doing nothing.
> But still LMS slimserver.pl is running with 25% so "something" is acting
> weird. Can you tell me which server specific debug log would help to
> see, why slimserver.pl is on this high CPU level?

Can you clarify the CPU load figure and how many cores on the system.

On some systems with 4 cores if LMS took 100% of a core it could show
25% overall but detailed CPU display would show 100% on one core.

Is the 25% on a single core or overall ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114073

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] 25% CPU slimserver.pl in 8.2 docker while idle

2021-03-04 Thread mamema


yes, you've said it -> trackstat.

It is/was trackstat. Completely disable this plugin and the CPU load
from 25% to 2%.
But! The usual, enable debugging on plugin doesn't help here. As
trackstat according to the log, does nothing. The plugin is activated,
but doing nothing (according to logs)
Doesn't matter if i use the original version of trackstat from Erland or
the modified one by myself which prevents duplicate musicbrainz_id.
But as i said. the plugin is according to logs doing nothing.
But still LMS slimserver.pl is running with 25% so "something" is acting
weird. Can you tell me which server specific debug log would help to
see, why slimserver.pl is on this high CPU level?



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=114073

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] 25% CPU slimserver.pl in 8.2 docker while idle

2021-03-03 Thread Michael Herger

As the docker image has no top or htop included, i'm asking here which
debug protocol i should enable to find the culprit?
The "Server information" protocol task doesn't reveal anything
special..


Disabling plugins is always an option to narrow down the culprit. But as 
you're working on TrackStat anyway, my bet would be on it.

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter