Hi All . .

I've been runnning Pd-Extended on a number of Raspberry Pis for an installation. Its working great for the most part. I had eight Pi's running Pd for over 24 hours straight without much trouble. However, occasionally one of the pis will stop producing sound out of nowhere and give the dreaded "Alsa input error (restart failed) : cannot allocate memory)". Pd does not crash as the Pd process is still running along but since there is no sound I was wondering if there was a way through a shell script to check and see if the Alsa process is working properly. is there a process or ID number associated with the alsa sound running? if there is I could simply reboot the Pi when alas fails and keep things going. Or is there another way to check and see if Pd is still producing sound independent of the Pd process
Thanks!