[pulseaudio-tickets] [Bug 94629] PulseAudio gets reliably killed upon a big number of client connections

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 20 10:46:40 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94629

--- Comment #4 from Ahmed S. Darwish <darwish.07 at gmail.com> ---
On Sun, Mar 20, 2016 at 10:26:33AM +0000, bugzilla-daemon at freedesktop.org
wrote:
>
> https://bugs.freedesktop.org/show_bug.cgi?id=94629
> 
> --- Comment #3 from Alexander E. Patrakov <patrakov at gmail.com> ---
> One possibility is to make sure that it doesn't attempt to mix too much ahead.
> Please reenable realtime scheduling, and try this in default.pa:
> 
> load-module module-udev-detect tsched_buffer_size=50000
>

Yup, I confirm this has made the bug appear much less. Originally,
PA got killed only after 30 clients connections

After adding the parameter above, the kill got triggered only
after 60 client connections + waiting for a full minute..

> But note that this will add up to 0.7W of extra power consumption in the
> single-client case, so cannot be made the default.
> 

Sorry, my knowledge in this area is limited, but can we program
PA to dynamically stop accepting more clients when it's close to
approaching its realtime CPU limit?

Maybe program PA upon approaching its soft limit and getting a
SIGXCPU from the kernel not to accept more clients?

Thanks,

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160320/6cf06a9b/attachment.html>


More information about the pulseaudio-bugs mailing list