I've run into this problem resently as well when starting squeezeslave
from the init scripts.

Turns out, in my case anyway, that the read keypress loop "spins", due
to not having a "true" pty to read from.

Try redirecting stdin and stdout to an unused pty.
I've also redirected stderr to the pty as well.  Doing this dropped my
CPU utilization to 60% on an old P133 MMX laptop I use to pipe music
outside on the deck.

For example;

squeezeslave hostname < /dev/vc/8 > /dev/vc/8 2>&1

You can do a 'ps -fe | grep getty' to find out what your pty devices
are and pick one that's not listed.    Don't use '7' as it's usually
reserved for X.


-- 
ralphy
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=25438

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

Reply via email to