** Description changed:
+ --- SRU information follows ---
+
+ Impact: 9.10 users may experience a local denial of service due to fd
+ exhaustion caused by alsa-lib failing to properly free timers upon
+ closing slave pcm devices.
+
+ 10.04 resolution: http://bazaar.launchpad.net/~ubuntu-core-dev/alsa-
+ lib/ubuntu.new/annotate/head:/debian/patches/0001-ALSA-pcm-Properly-
+ close-timer-when-freeing-slaves.patch has been applied and submitted
+ upstream.
+
+ Minimal 9.10 patch: http://launchpadlibrarian.net/37005087/alsa-
+ lib_1.0.20-3ubuntu6.1.debdiff
+
+ TEST CASE: Choose a multichannel surround profile in Sound Preferences >
+ Hardware > Profile
+
+ Regression potential: low to none -- all pcm (including slave pcm)
+ devices will properly free associated timers
+
+ --- original bug report follows ---
+
Binary package hint: pulseaudio
First: note that this is not bug 446355, though it is similar. The
message in the system log is:
Oct 13 14:25:51 zest pulseaudio[3578]: alsa-util.c: Unable to set sw params:
Too many open files
Oct 13 14:25:51 zest pulseaudio[3578]: alsa-sink.c: Failed to set software
parameters: Too many open files
Infinitely, repeatedly, until the /var/log/syslog and /var/log/user.log
files fill up the partition that they are on. I have had to clear my
log files 3 times now in the past day because my root filesystem was
full, which started breaking various things (like my postfix
installation which gets my mail delivered directly to me).
The log files are available on request privately, they contain
information that I do not want published on the bug report, and due to
their size, I cannot be sure to filter them and not accidentally remove
anything relevant. There may be more in the log files than I have seen,
simply because of the amount of stuff there. For anyone who requests
the files, I'll email them: note that the log files are to 4 MB.
However, they will expand to somewhere around 9 GB; compression on my
system (4x 2.2 GHz 64-bit cores) took 300 minutes each, compressing with
pbzip2. If you have a multiple-core system, decompression will go a lot
more quickly if you use pbzip2 instead of bzip2 (and note also that
compression took about 5 hours, I'd expect decompression to be similar).
I will attached trimmed-down versions of these files as well, shortly
after uploading the full log files.
This bug causes denial of service of anything in /var or on /, so I am
classifying this as a security bug.
ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
- USER PID ACCESS COMMAND
- /dev/snd/controlC0: mbt 27536 F.... pulseaudio
- /dev/snd/timer: mbt 27536 f.... pulseaudio
+ USER PID ACCESS COMMAND
+ /dev/snd/controlC0: mbt 27536 F.... pulseaudio
+ /dev/snd/timer: mbt 27536 f.... pulseaudio
Card0.Amixer.info:
- Card hw:0 'Live'/'SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at
0xdc00, irq 19'
- Mixer name : 'SigmaTel STAC9708,11'
- Components : 'AC97a:83847608'
- Controls : 224
- Simple ctrls : 45
+ Card hw:0 'Live'/'SB Live! 5.1 [SB0060] (rev.7, serial:0x80611102) at
0xdc00, irq 19'
+ Mixer name : 'SigmaTel STAC9708,11'
+ Components : 'AC97a:83847608'
+ Controls : 224
+ Simple ctrls : 45
Date: Thu Oct 15 00:42:33 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.19-0ubuntu1
ProcEnviron:
- PATH=(custom, user)
- LANG=en_US.UTF-8
- SHELL=/bin/bash
+ PATH=(custom, user)
+ LANG=en_US.UTF-8
+ SHELL=/bin/bash
SourcePackage: pulseaudio
Uname: Linux 2.6.31.3-bfs303 x86_64
** Changed in: alsa-lib (Ubuntu Karmic)
Assignee: (unassigned) => Daniel T Chen (crimsun)
--
PulseAudio opens too many files, locks up, and fills up root fs (/var/log)
https://bugs.launchpad.net/bugs/451893
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs