Hi,

I've been using Squeezelite on my RPi (running Squeezeplug 6) for a
while now and like it!
I'm using a USB Soundcard (Terratec Aureon Dual), an external USB hub
and a 1TB HDD with it.

However, I frequently have the Squeezelite process hogging CPU cycles
while being completely unresponsive. 
This seems to have something to do with Samba in my case, but I can't
pinpoint what exactly. Server and Player are on the same Pi, this also
serves as a mini-NAS for my TV recordings and Videos.
The Pi can handle this without problems, not even breaking a sweat when
running two HD streams at the same time, however the Squeezelite process
often suddenly starts to go mad and eat up CPU cycles (80-100%) and
makes the whole setup unusable.
Squeezelite is usually not playing anything at the time and is not
involved in anything at all actually. My Shares are handled by MiniDLNA.

The weird stuff often starts happening when my TV recording server
writes data to the external HDD connected to an external (powered) hub
on the Pi or sometimes also when streaming to my TV and/or Tablet.
Since the Process does not really crash, there are no useable logs...

What I'd like to do for now is create a watchdog for Squeezelite that
kills and restarts the process as soon as it starts to eat CPU power. I
tried the script postet earlier in this thread, but it did not work for
me, even when I tried to adapt it to my setup.

I'm not that savvy with Linux yet, so some help with creating a script
for this would be appreciated. Since its all local I don't think Telnet
is needed. Maybe the Internal Watchdog could be used somehow?


------------------------------------------------------------------------
CommanderROR's Profile: http://forums.slimdevices.com/member.php?userid=59408
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