Yes, that's the complete log.
The easiest way to reproduce this behaviour, is to schedule Tv
recordings from my (Windows based) Server. It saves the files directly
to an attached USB HDD that is connected to the Pi running Squeezeplug.
Often (but not always) the problem pops up after the server has been
writing data to the HDD over ethernet for a while, maybe 10-15 Minutes.

The problem is, that TV recordings then often get corrupted, since the
system is too busy (because the Squeezelite process is eating up CPU
cycles) to cope with the incoming data. The recordings don't break off,
but the files can be full of glitches afterwards. 

If squeezelite is not running (killed process) this never happens.

I'm assuming this is some complex interaction between the USB Sound
driver, Ethernet and USB HDD all working at the same time. I can't
really force this to happen, I tried by streaming two recordings from
the HDD (with MiniDLNA) and running the radio at the same time, this did
not cause any problems, at least not during the short test run. However,
I've managed to set this off by simply streaming a recording from the
HDD, no radio running and no other activity on the Pi.
This makes it hard to accurately pinpoint the culprit.

Due to the complexity of this, I think the easiest way would be to
create a script that watches for Squeezelite starting to go crazy and
then kills and restarts. This would not fix the root cause, but it would
make the system perfectly useable for me.
Sadly, the script somebody else posted earlier in this thread was not so
easy to adapt to my Pi installation, and I really don't know how to go
about writing something like this from scratch. I'd be really grateful
if you could help me out with this... ;)


------------------------------------------------------------------------
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