Re: [LAU] zita-a2j bridge eating resources if device becomes unavailable

From: Len <len@email-addr-hidden>
Date: Sat Apr 04 2020 - 09:11:24 EEST

On 2020-04-03 17:02, Max wrote:

> I guess it's a known issue that zita-a2j will eat all memory if the
> device it was bridging was disconnected. Is there a way to make it
> handle disconnects more gracefully without taking down the system
> after some time?

Best way is to monitor the audio device (I use dbus) and if it vanishes
send a sigint (like a control C) to zita-ajbridge. Yes this means
keeping track of the PID when starting it. I use a python script to do
this. It both starts zita-ajbridge and stops it when it is no longer
needed.

-- 
Len Ovens
www.ovenwerks.net
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Apr 5 04:15:01 2020

This archive was generated by hypermail 2.1.8 : Sun Apr 05 2020 - 04:15:01 EEST