Article 4ZQQT Pulseaudio - too many inputs per sink.

Pulseaudio - too many inputs per sink.

by
rarog
from LinuxQuestions.org on (#4ZQQT)
Hi,

I'm having another problem related with Pulseaudio and Firefox.

Slackware x64 current
Code:Linux5.4.20 #1 SMP Fri Feb 14 18:48:06 CST 2020Pulseaudio 13.0
Firefox 73.0.1 (64 bit)

During normal web browsing I'm capable of exceeding pulseaudio sink-inputs limit. Which causes Firefox to crash. Then I need to kill and restore Firefox session to be able to continue browsing. Sometimes I need to kill Pulseaudio as well.
After that all created sink inputs are dropped and I'm able to continue browsing.

Is there a way to manually or automatically clear unused sink-inputs?

On some pages with "infinity" content to scroll, Firefox creates audio inputs on every media content with sound even if I don't play it(unmute it). When I've scroll long enough I'm getting
Code:[pulseaudio] sink-input.c: Failed to create sink input: too many inputs per sink.in syslog.

I think there is sink-input limit of 255 per source in Pulseaudio and during everyday use I'm capable of exceeding it.
Raising that limit won't be a good idea, but clearing old, existing and unused sink-inputs may do the trick. Is there a way to do it?

Problem occurred in other browsers as well, but have different symptoms. For example Konquereor became unresponsive even before reaching inputs limit. But it had still create them and keep them.latest?d=yIl2AUoC8zA latest?i=Z2yV2VZ5buI:ys6qrnrXtVg:F7zBnMy latest?i=Z2yV2VZ5buI:ys6qrnrXtVg:V_sGLiP latest?d=qj6IDK7rITs latest?i=Z2yV2VZ5buI:ys6qrnrXtVg:gIN9vFwZ2yV2VZ5buI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments