epoch1970 wrote: 
> By accident I launched today my player-launching script twice. There
> were 2 instances, but "the player" was working so all seemed mostly
> normal.
> Since audio was scratchy I looked at the machine's CPU load and found
> SBS was consuming > 90% of the CPU cycles. 
> 
> In the server log I was getting mysb.com login errors.
> - I restarted SBS
> - I changed mySB.com sync options in the server
> - I rescanned the DB
> - I brought down one of the network interfaces
> - …
> I would still be looking for a cause but by chance I saw both
> squeezelite processes in the 'top' console. Killed both and SBS CPU load
> came back to 1%
> 
> The SBS server is colocated with the player. I haven't tried to see if
> the same phenomenon happens with a remote server.
> 
> The instances were identical, squeezelite v1.0 launched like this:
> "/usr/local/bin/squeezelite-i486 -n Prades -m 00:04:01:02:03:04 -b
> 4096:8192 -c flac,pcm,aac,mad -o plughw:CARD=DAC,DEV=0 -a 10:4::1 -p 96 
> -z 172.17.10.11"
> 
> I don't know what could be done on the squeezelite side besides a big
> fat warning, but since symptoms are quite misleading I thought I'd let
> you know.

This is really a feature of LMS - I have some rate limiting in the
reconnect attempts, but LMS will kick off a second connection and cause
load on an existing connection if there is more than one client using
the same mac address in its hello message.  I've tried rate limiting to
one connect per second rather than 10 per second, but it does not really
improve this.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to