Hello folks,

please consider my request below. If not possible so far, please let me know.

Thanks

My request:

I'm running alsaplayer in daemon mode on several small machines (raspberries). Sometimes one of the daemons stops, gets into pause mode or even blocks completely once the network gets slow.

I'm looking for a reliable method to restart such a degraded session, e.g. by issuing a 'systemctl restart PID'. I t seems, currently there is no means to detect the PID of the daemon running a particular alsaplayer session. Yes, it's possible to run the 'fuser' utility to figure out the creator process of alsaplayer's communication socket, but this is a fairly clumsy attempt.

For me it seems 2 other approaches are feasible:
1. have libalsaplayer support a request for the daemon PID (a patch of mine exists for this)
2. have alsaplayer create a PID file when running in daemon mode

For the first option I created a patch for the debian sources. I would like to forward my patch to the community. However, I'm not skilled in building debian packets. So, if you are interested in one of the above extensions, please give me a hint on how to submit my work.

Thanks a lot
Andreas
--
*Andreas Schindler*
Klappacher Str. 2-i
D 64285 Darmstadt <https://www.openstreetmap.org/?mlat=49.8623&mlon=8.65461#map=17/49.8623/8.65461> E-Mail: [email protected] <mailto:[email protected]>
Tel: +49 1575 6384244

Reply via email to