ClemsonJeeper wrote: 
> Hello all,
> 
> Here's my setup:
> 
> Raspberry pi 2 with a powered (4Amp) USB 2.0 Hub.  I have 4x of these
> guys (Syba SD-CM-UAUD USB Stereo Audio Adapter): 
> 
> http://www.amazon.com/gp/product/B001MSS6CS?psc=1&redirect=true&ref_=od_aui_detailpages00
> 
> plugged into the Hub.  I have Raspbian installed and have created an
> init script to start up 4 instances of squeezelite.
> 
> The first 3 fire up just fine, but the 4th always locks up the RPi2.  I
> was thinking either a couple things : squeezelite exhausting all the RAM
> on the device, or it overdrawing current from the Pi.
> 
> > 
Code:
--------------------
  >   > 
  > /usr/bin/squeezelite -z -o front:CARD=Device,DEV=0 -n Kitchen -m 
"00:00:00:00:00:01"
  > /usr/bin/squeezelite -z -o front:CARD=Device_1,DEV=0 -n Basement -m 
"00:00:00:00:00:02"
  > /usr/bin/squeezelite -z -o front:CARD=Device_2,DEV=0 -n Bathroom -m 
"00:00:00:00:00:03"
  > /usr/bin/squeezelite -z -o front:CARD=Device_3,DEV=0 -n Backyard -m 
"00:00:00:00:00:04"
  > 
--------------------
> > 
> 
> The overdrawing of current doesn't seem feasible since the sound cards
> are all on a separate powered USB hub, and running out of RAM doesn't
> seem to be the case since squeezelite doesn't seem to be consuming
> much RAM per instance (according to free).
> 
> Any ideas?  I don't see anything in the Rpi2 logs (no kernel panics or
> anything), it just freezes completely.  I have to hard reboot the RPi2
> in order to get it back up and running.

Launch the last squeezelite instance with debug options. With the 3
instances running, what does 'top' says in term of memory ? squezelite
allocates a few buffers each of them 2-4MB (I'll have to look at the
code to know exactly how many)



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=104049

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

Reply via email to