Re: [Bug 424655] Re: Pulse audio memory leak
fwiw, i just did a fresh reformat and install of karmic on my 64-bit system (system76 darter ultra). i had previously been running karmic after upgrading from intrepid (upgraded from jaunty, i think), and i had the pulseaudio memory leak. after a fresh install, seems to be gone (thus far). hope this helps. On Tue, Dec 15, 2009 at 4:24 PM, Daniel T Chen seven.st...@gmail.comwrote: ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Triaged ** Summary changed: - Pulse audio memory leak + using module-udev-detect leaks memory -- using module-udev-detect leaks memory https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a direct subscriber of the bug. -- http://www.madebyparker.com -- using module-udev-detect leaks memory https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
false alarm. the leak is back. i swear it was stable for at least a bit tho. maybe it took one restart or something to provoke the leak? but yeah, its definitely back now. how are you guys coping in the mean time? just running pulseaudio -k every 20 minutes? On Wed, Dec 16, 2009 at 12:22 AM, Parker gamegu...@gmail.com wrote: fwiw, i just did a fresh reformat and install of karmic on my 64-bit system (system76 darter ultra). i had previously been running karmic after upgrading from intrepid (upgraded from jaunty, i think), and i had the pulseaudio memory leak. after a fresh install, seems to be gone (thus far). hope this helps. On Tue, Dec 15, 2009 at 4:24 PM, Daniel T Chen seven.st...@gmail.comwrote: ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Triaged ** Summary changed: - Pulse audio memory leak + using module-udev-detect leaks memory -- using module-udev-detect leaks memory https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a direct subscriber of the bug. -- http://www.madebyparker.com -- http://www.madebyparker.com -- using module-udev-detect leaks memory https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Also confirmed -- commenting out the if/else surrounding module-udev- detect keeps pulseaudio from leaking memory. I don't notice abnormal CPU usage though, before or after the change. (core 2 T7700) -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Triaged ** Summary changed: - Pulse audio memory leak + using module-udev-detect leaks memory -- using module-udev-detect leaks memory https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I also had this problem (2+Gig mem usage within a few hours and about 30% higher baseline proc usage). Reverting to udev 147~6.0 seems to have corrected the problem. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Could everyone please test using module-detect instead of module-udev-detect? You'd need to comment out the appropriate if/fi/else in /etc/pulse/default.pa, then logout and login. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
i commented out the module-udev-detect loading so module-detect is used instead. The pulseaudio memory leak is now gone. However the higher than normal cpu idle usages is still there. There are a bunch of udevd processes in the system monitor (76+ of them) -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
The pulseaudio memory leak is now gone. However the higher than normal cpu idle usages is still there. There are a bunch of udevd processes in the system monitor (76+ of them) same here. leak seems to be gone, memory stays low, but cpu still a bit high when idle -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
if can matter, I run Karmic on an Asus A6K with no problems. while I run into this bug on an Fujitsu Siemens Amilo SI3655, equiped with the following card: 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) both amd64. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
@Maxxer It's the controller and codec (not lspci) that matter; see /proc/asound/card*/codec* -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Daniel, I just tried inserting that into .bashrc. I rebooted, but the problem persists. Does your line need to go in a specific location in the bashrc file? Thanks, Vaughn -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Just: export PULSE_MEMPOOL_DISABLE=1 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Daniel, I think I added it correctly. I am attaching my .bashrc file for your review. Pulseaudio is till consuming memory as before. Please let me know if I added your line correctly to the .bashrc file. Thanks, Vaughn ** Attachment added: .bashrc http://launchpadlibrarian.net/36703323/.bashrc -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Yes, that's correct. So we've eliminated the mempool as a possible culprit. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Martin, Well, you're right. It's not an appropriate workaround after all. My USB ports wouldn't work with UDEV downgraded. I'm back to square one and a major memory leak. I sure hope this gets resolved quickly. Vaughn -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Please export PULSE_MEMPOOL_DISABLE=1 in ~/.bashrc (or whatever your shell uses), logout and login again. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I installed Karmic yesterday and have installed all available updates. Pulseaudio was using over 300mb of memory a few minutes ago. I issued the command 'pulseaudio -k' and memory usage dropped back down under 2mb. After 10 minutes however, it's crept back up to over 14 mb and is still climbing. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Are you folks seeing these leaks with apps that open lots of short-lived connections, e.g., lots of system sounds? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
for other readers, i had around 40MB of updates and installed all updates minus udev, and then rebooted to find no leak (no suprise). Installed udev -~6.1 again and rebooted and started leaking again. Forced version back -~6 and stable. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
i have system sounds turned off, and it'll leak when idling as soon as the system is first booted up. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Martin Pitt's workaround above works nicely. When this is solved and a fix is released, will UDEV upgrade or will it stick to the downgraded version? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
vaughn [2009-12-07 17:49 -]: Martin Pitt's workaround above works nicely. When this is solved and a fix is released, will UDEV upgrade or will it stick to the downgraded version? Well, a memleak in pulse can't really be fixed in udev, I'm afraid. I don't even understand yet why udev triggers it. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Pulseaudio stopped leaking my memory today. It stays at ~1.6 MiB. The only thing that I did was install the usual updates on my system. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Hm, looks like none of those valgrind logs catch memory leaks. I don't know valgrind too well, but I think you need to run it in massif mode, which is for leaks (unlike the standard mode which catches allocation/access errors). http://developer.gnome.org/doc/guides/optimisation/Massif.html has some documentation about this. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
here you go, i ran it as indicated in the link you sent about massif mode. ** Attachment added: pulselog2.txt http://launchpadlibrarian.net/36464911/pulselog2.txt -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I suspect udev is not the only source of the leak. I removed pulseaudio-module-udev (because valgrind wouldn't run with it), but I was still seeing leaks. The leaking was dramatically slower, but still there. Valgrind and pulseaudio output attached. ** Attachment added: pulse audio output http://launchpadlibrarian.net/36156907/pulse2.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Valgrind log ** Attachment added: valgrind.log http://launchpadlibrarian.net/36156917/valgrind.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
just to note, for those you who are like me and reverted back to Version 147~6.0 of udev to stop the memory leaks, you can get your hot swapping of external drives/memory sticks, etc working by opening up a terminal and typing sudo stop udev sudo start udev then your external drives will get will pop up as normal. You'll have to do this every time you reboot your system though. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
ok, so it looks like I was wrong. Downgraded udev and the memory leak disappeared. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Unfortunately pulseaudio started leaking again today. I've backed out the http://bazaar.launchpad.net/~ubuntu-core- dev/udev/ubuntu/revision/2521 change. Apologies gpstar - I think you are correct; only the vanilla 147~-6 cures the leak. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
does this help? http://pastebin.com/m3ebb23c2 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I tried the fix with udev and just like gpstar pusleaudio has started leaking again once I do the fix to re enable usb mounting. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Can anyone please produce a valgrind log (https://wiki.ubuntu.com/Valgrind)? The one from comment 20 is invalid. ** Changed in: pulseaudio (Ubuntu) Assignee: (unassigned) = Luke Yelavich (themuso) -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
in process manager pulsaaudio is using up to 2 GB sometimes more :) pls guys in 9.04 everything was fine ... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Thanks for your instructions Martin. I found the previous version of udev fixed the memory leak, but followed your rebuild instructions in order to get the benefit of the USB fix: http://bazaar.launchpad.net /~ubuntu-core-dev/udev/ubuntu/revision/2521 Testing now - but looks good so far. The pulseaudio process now sits at 6.6MB (resident) and 260MB (virtual). NOTE: this is contrary to what gpstar reported in comment 58. Thanks again - this was causing regular headaches for me (despite the fact we haven't yet got to the root cause). -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
is there any fix in the near future for this, reverting udev makes it so i cant mount anything, and that seem to be the only fix so far. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
147~-6== http://pastebin.com/m5482e46f 147~-6.1 == http://pastebin.com/m4210c16 easiest way for me to host... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Thanks. So for ageeb the difference is basically nothing (just some noise due to different enumeration order, which is expected to be pretty random). For gpstar the diff is that with 6.1 you get a proper identification of your hard disk (which is one incarnation of what 6.1 was supposed to fix). Neither affect the detection of sound devices, though. To rule out/check if it is an issue with a changed tool chain, would anyone be up to trying to rebuild the karmic final package and see whether or not the leak happens with that? sudo apt-get build-dep udev apt-get source -b udev=147~-6 sudo dpkg -i *.deb then reboot, and check whether you get the leak. Thanks! -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
sudo apt-get build-dep udev apt-get source -b udev=147~-6 sudo dpkg -i *.deb then reboot, and check whether you get the leak. my pulseaudio process is stable after applying those intstructions... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
pulseaudio process stable here on my end after doing the above instructions. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Thanks. So this rules out a toolchain issue. The first change which was done to fix bug 463347 was http://bazaar.launchpad.net/~ubuntu-core-dev/udev/ubuntu/revision/2521 This does not change any external API, and just fixes a demonstrated major fd leak. I am fairly sure that this was not the culprit. The second change was http://bazaar.launchpad.net/~ubuntu-core-dev/udev/ubuntu/revision/2522 which repairs inotify handling. It also does not change external API, but by making it actually work again on a lot of machines it seems like the kind of bug which might trigger pulseaudio bugs which were previously not visible. In the built tree that you have, can you please open udev/udev-node.c in gedit and apply the change in http://bazaar.launchpad.net/~ubuntu- core-dev/udev/ubuntu/revision/2521 ? (I. e. add the closedir line at the right place), then do dpkg-buildpackage -us -uc -b -nc inside the udev-147~ directory, and then install ../*.deb again? I expect that this will still keep pulseaudio happy, but I'd like to make 100% sure. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
ok, I made the closedir(dir); changes to udev-node.c, rebuilt the packages and installed them and rebooted. Pulseaudio is now eating up my memory. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I'm only a week or two into linux :( i'm with you until this part: and then install ../*.deb again? I'm not sure which commands actually execute that... all this or a certain part? sudo apt-get build-dep udev apt-get source -b udev=147~-6 sudo dpkg -i *.deb sorry you have to hold my hands... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
** Changed in: udev (Ubuntu) Status: Incomplete = Invalid ** Changed in: udev (Ubuntu Karmic) Status: New = Invalid -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Thanks for confirming. TBH this is really a miracle to me, since merely closing an internal fd in udev should not have _any_ impact on pulseaudio, except if pulseaudio was actually relying on udev not working. I don't think we want to break udev for half of the systems again, so we need to track down the actual pulse leak. Please try to restart pulse in the foreground with debugging mode with this: pulseaudio -k; pulseaudio -vvv 21 | tee /tmp/pulse.log If you see this in the second last line: E: pid.c: Daemon already running. then please just keep retrying until it works and it says I: main.c: Daemon startup complete. in the bottom. Does this reproduce the leak as well? Normally it stops after daemon startup complete and there's only occasional output. I hope/suspect that you will get a wild endless loop of output; if you do, press Control-C after a couple of seconds. If it stops outputing text, wait 20 seconds and press Control-C then. Please attach /tmp/pulse.log afterwards. If you can reproduce the leak, but don't see looping output, please try to obtain a valgrind log as described on https://wiki.ubuntu.com/Valgrind Thanks! ** Changed in: pulseaudio (Ubuntu) Status: Confirmed = Incomplete -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Ah, nevermind. In fact this bug already has valgrind and pulseaudio -v logs attached, and http://launchpadlibrarian.net/35516770/pulseverbose2.log seems to point it out pretty nicely. (Sorry, should have checked before, I just replied by mail before). Also, the reporting of this bug predates the udev SRU by two months. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Hello ageeb, don't worry about this too much, it was already confirmed. ageeb [2009-11-19 19:45 -]: i'm with you until this part: and then install ../*.deb again? Sorry, that was meant to be sudo dpkg -i ../*.deb. But as I said, I don't think you actually need to do it now. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I 've been experimenting with different udev versions: 1) 147-6 , which has problem with mounting removable media. but pulseaudio seem to be not leaking memory 2) 147-6.1 (which differs from -6 by this commit http://git.kernel.org/?p=linux/hotplug/udev.git;a=patch;h=4daa146b ) It fixes mounting media but pulseaudio leaks memory badly 3) vanilla udev 147 , which behaves like 147-2 ubuntu karmic amd64 Meya: 3) vanilla udev 147 , which behaves like 147-6.1 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
maybe this will help others? http://ubuntuforums.org/showthread.php?t=1330201 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
thanks for the link, the last post here shows what is going on http://ubuntuforums.org/showpost.php?p=8344591postcount=5 package 'udev' (147~-6.1 according to synaptic) makes pulseaudio eat up all the memory. Reverting back to the previous version of udev (146~6.0) fixes the pulseaudio memory problem. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
thanks! for those looking to avoid the clickthrough: system without package 'udev' has no memory leak. so a fix is aptitude remove udev? is this an essential package? ageeb wrote: maybe this will help others? http://ubuntuforums.org/showthread.php?t=1330201 -- D Parker Phinney madebyparker.com -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
so if udev is causing the problem... how can that be fixed? it's dependant... you can't just remove udev -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
revert back to the older version. Version 147~6.0 (typo on my above post on the version #). in synaptic if you have udev (147~-6.1) installed from karmic-updates, that is what is causing the problem. Select it udev in synaptic and goto Packages then Force Version and choose the 147~-6 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Please verify that reverting to karmic's version of udev resolves this symptom after a fresh boot. I'm a bit doubtful, but... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Just did a reboot. Everything looks good. PulseAudio is sitting at a stable 1.8MB. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I'll also point out. the karmic udev on 64bit systems (dunno about the 32bit version), will not automount usb/card reader/esata with 147.60 udev, 147.61 udev solves the issue, but then you get the pulseaudio memory problem associated with it. So downgrading to 147.60 udev you may loose the possibilty on some systems on automounting external storage devices. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
just downgraded and not only did that fix the memory leak, but my CPU now sits at 0-5% when inactive (instead of the previous 50%+ all the time) gpstar; that was ANOTHER annoying bug I got all the time (inability to auto-mount USB) can someone please fix this? if I was able to program I would do it... it can't be that complicated to find where the problem was created... this bug doesn't seem to be getting any attention even though (in my mind) it seems somewhat of a high-priority... it seems like no one tested the code before applying it. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
** Also affects: udev (Ubuntu) Importance: Undecided Status: New -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
One potential explanation: the fd leak made udev completely stop recognizing new hardware on a lot of systems (which was fixed in -6.1). So the fix might uncover another leak by adding/probing sound hw which previously didn't appear in udev (since it simply stopped working because of exceeding the 1024 fd limit) For those of you who can reproduce this pulseaudio memleak (I can't), it would be interesting to compare an udev dump with both versions. Please install 147~6, do udevadm info --export-db /tmp/udev.log attach /tmp/udev.log here. Then upgrade to 147~-6.1, reboot, do the command again, and attach /tmp/udev.log again. Thanks! ** Also affects: pulseaudio (Ubuntu Karmic) Importance: Undecided Status: New ** Also affects: udev (Ubuntu Karmic) Importance: Undecided Status: New ** Changed in: udev (Ubuntu) Status: New = Incomplete ** Changed in: udev (Ubuntu) Importance: Undecided = High ** Changed in: pulseaudio (Ubuntu) Importance: Undecided = High -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
here's the udev-147~-6.1 log (typo again on my previous post, i should have said udev-147~-6.0 instead of 146~-6.0) ** Attachment added: udev-147~-6.1.log http://launchpadlibrarian.net/35841671/udev-147%7E-6.1.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Here's the log of udev146~-6 ** Attachment added: udev 146~-6.0 log http://launchpadlibrarian.net/35841608/udev-146%7E-6.0.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I seem to have a milder version of this. I'll attach an htop screenshot showing pulseaudio to use about 2 gigs overall and 1 gig resident memory after about three and a half days uptime. It's usually half that much after a day I'd say, whether I use audio or not. Perhaps this is a different issue but I've found no other bug report on this so far. Is there an upstream report BTW or is this thought to be caused by Ubuntu- specific patches? I'll post the PA stats corresponding to the htop output below. I resist having run PA in valgrind for a significant amount of time as this might be required since the leak doesn't seem as large for me as for many others. I'll do it though if required but the other valgrind logs don't seem to have done any good so far so please let me know. $ pactl stat Currently in use: 3 blocks containing 158.3 KiB bytes total. Allocated during whole lifetime: 30817296 blocks containing 1.4 GiB bytes total. Sample cache size: 0 B User name: cmertes Host Name: Inara Server Name: pulseaudio Server Version: 0.9.19 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-_00_1b.0.analog-stereo Default Source: alsa_input.pci-_00_1b.0.analog-stereo ** Attachment added: htop screenshot showing the memory usage of PA http://launchpadlibrarian.net/35743277/pulseaudio_screenshot_crop2.png -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Actually, I now did find a similar bug for another distro than Ubuntu: https://bugzilla.redhat.com/show_bug.cgi?id=537692 ** Bug watch added: Red Hat Bugzilla #537692 https://bugzilla.redhat.com/show_bug.cgi?id=537692 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Proposition: change bug importance to critical. This is my making my machine nearly unusable. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
this is really getting annoying. is there a way to limit the amount of RAM pulseaudio can use? or maybe just a script to kill it every X minutes... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
t...@tim-laptop:~$ uptime 02:54:58 up 45 min, 2 users, load average: 0.70, 0.60, 0.56 t...@tim-laptop:~$ ps --sort rss -eo rss,cmd 222440 /usr/bin/pulseaudio --start -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
** Attachment added: pulseverbose.log http://launchpadlibrarian.net/35662250/pulseverbose.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
the ppa is here https://launchpad.net/~ubuntu-audio-dev/+archive/ppa i'm using the ppa version, it does not fix the problem yet. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
so is that useful? how do I install the ppa version mentioned above? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
here is another updated pulseaudio log file. During this time, i decided to play back a mp3 in rhythmbox. Everything was going fine until i opened up firefox to browse the web then the sound just stopped cutting out. pulseaudio kept on eating up memory, and computer started to lag, cursor lag, etc. ** Attachment added: pulseverbose2.log http://launchpadlibrarian.net/35516770/pulseverbose2.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
same symptoms as gpstar when running firefox I am using the latest nightly version (Minefield) build# 20091110030934 addons: Adblock Plus 1.1.1 Download Statusbar 0.9.6.5 Flashblock 1.5.11.2 FxIF 0.3.1 Greasemonkey 0.8.20090123.1 Nightly Tester Tools 2.0.2 Ubuntu Firefox Modifications 0.8 but I DO still get a leaky memory issue even if Firefox isn't opened -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
ya i get the memory leak even with everything closed and just idling. But playing back sound when firefox is open seems to make it want to crash or hang up my system as well. Could be a entire other issue though. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
up above someone mentioned to use the ~ubuntu-audio-dev PPA version does this still fix the issue? and if so, how do I use that version? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
getting same issue on my laptop. Pulse audio is eating up memory until it slows my system to a halt and locks it up. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Please see https://wiki.ubuntu.com/PulseAudio/Log On Nov 9, 2009 7:25 PM, gpstar michael.rajo...@gmail.com wrote: getting same issue on my laptop. Pulse audio is eating up memory until it slows my system to a halt and locks it up. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notificati... Status in “pulseaudio” package in Ubuntu: Confirmed Bug description: Binary package hint: pulseaudio Pulse audio routinely uses 2GB+ over the course of a few hours. D... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
ran valgrind on pulseaudio, log attached. ** Attachment added: valgrind.log http://launchpadlibrarian.net/35446726/valgrind.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
pulseverbose.log attached as requested. ** Attachment added: pulseverbose.log http://launchpadlibrarian.net/35446987/pulseverbose.log -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
oh forgot to add, here's a screenshot to show it eating up memory. http://img94.imageshack.us/img94/8135/pulseaudio.jpg -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I am getting this exact same problem. if I leave my computer running all night, I often wake up to pulseaudio trying to use 2gb+ of ram... what can I do to help? there are no clear instructions in here... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
On Mon, Nov 9, 2009 at 8:24 PM, Andrew Saturn sat...@gmail.com wrote: I am getting this exact same problem. if I leave my computer running all night, I often wake up to pulseaudio trying to use 2gb+ of ram... what can I do to help? there are no clear instructions in here... valgrind output would be useful. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
what should I type? valgrind pulseaudio? never heard of that command... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
run this in a terminal echo autospawn = no ~/.pulse/client.conf killall pulseaudio then sudo apt-get install valgrind then you can do something like this valgrind --log-file=pulselog.txt --leak-check=full -v pulseaudio then you can do this to restore pulseaudio settings afterwards To return your system to a clean state again, edit ~/.pulse/client.conf with your favorite editor and remove the line autospawn = no. If the file is now empty, you can just as well delete it. Then log out and log in again -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
so that one command; valgrind --log-file=pulselog.txt --leak-check=full -v pulseaudio gave no feedback and continues to run... pulseaudio is also climbing in memory usage... how long should I let it run? or will it automatically stop? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
it got up to 100mb of ram useage before I killed it. here is the log it put in my home dir... ** Attachment added: pulselog.txt http://launchpadlibrarian.net/35460122/pulselog.txt -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
@Artyom: If you run LANG=C pactl stat result will be in the native language of the application, which is often preferred. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Sorry for hungarian shot/info, here are the same things in english: LANG=C pactl stat: Currently in use: 45 blocks containing 215.5 KiB bytes total. Allocated during whole lifetime: 1064585 blocks containing 3.0 GiB bytes total. Sample cache size: 0 B User name: artyom Host Name: artyom-laptop Server Name: pulseaudio Server Version: 0.9.19 Default Sample Specification: s16le 2ch 44100Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-_00_1b.0.analog-stereo Default Source: alsa_input.pci-_00_1b.0.analog-stereo Cookie: 59a973d5 ** Attachment added: pulseaudio 1.6 Gb http://launchpadlibrarian.net/35333005/pulseaudio.png -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
now my laptop as running for about 5 hours and pulseaudio has already eaten up 1,3 Gb.. pactl stat writes next: art...@artyom-laptop:~$ pactl stat Jelenleg lefoglalt blokkok száma: 10, amely összesen 146,6 KiB bájtot jelent. A futás során összesen lefoglalt blokkok száma: 116516, amely összesen 1,3 GiB bájtot jelent. Minta-gyorsítótár mérete: 0 B Felhasználónév: artyom Számítógépnév: artyom-laptop Kiszolgálónév: pulseaudio Kiszolgáló verzió: 0.9.19 Alapértelmezett mintavételi leírás: s16le 2ch 44100Hz Alapértelmezett csatornaleképzés: front-left,front-right Alapértelmezett nyelő: alsa_output.pci-_00_1b.0.analog-stereo Alapértelmezett forrás: alsa_input.pci-_00_1b.0.analog-stereo Süti: d1073605 Sorry it is in hungarian, but first two lines mean now allocated 10 blocks, 146 KiB, total allocated blocks: 116516 - 1,3 Gb ** Attachment added: Pusle audio 1,3Gb http://launchpadlibrarian.net/35121462/pulseaudio1.png -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
pactl stat should reveal some information More than likely there's at least one misbehaved client. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
This is a HUGE regression. I left a karmic desktop turned on overnight. In the morning I was trying to figure out why my computer was so slow. It turns out that pdflush was writing data to disk (swap) as fast as possible and was stuck in IO Wait (D state in ps aux). pulseaudio was taking almost 80% of my 8G of memory. Not cool. 19170 jeff 20 0 12.2g 6.2g 1464 S0 79.9 14:35.83 /usr/bin/pulseaudio --start This should be a release blocker. ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Confirmed -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
Are you using the PPA? On Oct 11, 2009 1:00 PM, Jeff Schroeder jeffschroe...@computer.org wrote: This is a HUGE regression. I left a karmic desktop turned on overnight. In the morning I was trying to figure out why my computer was so slow. It turns out that pdflush was writing data to disk (swap) as fast as possible and was stuck in IO Wait (D state in ps aux). pulseaudio was taking almost 80% of my 8G of memory. Not cool. 19170 jeff 20 0 12.2g 6.2g 1464 S0 79.9 14:35.83 /usr/bin/pulseaudio --start This should be a release blocker. ** Changed in: pulseaudio (Ubuntu) Status: Incomplete = Confirmed -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notificati... Status in “pulseaudio” package in Ubuntu: Confirmed Bug description: Binary package hint: pulseaudio Pulse audio routinely uses 2GB+ over the course of a few hours. D... -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
No I'm not using the PPA. Should I be? It seems like if the ppa fixes the problem that the ppa packages should be put in main asap to get more visibility. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 424655] Re: Pulse audio memory leak
On Sun, Oct 11, 2009 at 3:07 PM, Jeff Schroeder jeffschroe...@computer.org wrote: No I'm not using the PPA. Should I be? It seems like if the ppa fixes the problem that the ppa packages should be put in main asap to get more visibility. Yes, you should be testing it. That's why it's called staging for main. (: -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Alright I've upgraded to the ppa alsa and pulse packages. If the problem happens again I'll let you know. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
I wrote this hack handy to see if pulse was still leaking memory and thought I'd share: while true; do echo -n $(date +'%m/%d/%Y %H:%M:%S - ') pulse-audio-memleak.txt ps -o args=,rss= $(pgrep -f 'pulseaudio --start') pulse-audio-memleak.txt sleep 60 done It seems that the ppa packages have fixed the bug. I'll know for sure tomorrow. j...@desktopmonster:~$ tail -f pulse-audio-memleak.txt 10/11/2009 12:52:26 - /usr/bin/pulseaudio --start 15164 10/11/2009 12:53:26 - /usr/bin/pulseaudio --start 14728 10/11/2009 12:54:26 - /usr/bin/pulseaudio --start 14960 10/11/2009 12:55:27 - /usr/bin/pulseaudio --start 15076 10/11/2009 12:56:27 - /usr/bin/pulseaudio --start 15228 10/11/2009 12:57:27 - /usr/bin/pulseaudio --start 15012 10/11/2009 12:58:27 - /usr/bin/pulseaudio --start 15244 -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Hi all, Hi Daniel, This sounds like a pretty serious issue. Perhaps more information could be given to the submitter so that we can get this bug status changed back to new, or confirmed, or whatever it needs to be looked at? Or did you mean by your last post there that this issue doesn't exist in the pulse audio version that will be used in the release version of Karmic Koala? Thanks for any information on this one. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Issue appears to have been fixed. Pulse audio now stays at ~ 5.6MB. -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
Cancel that. Memory usage is climbing at a rate of about 1MB every 5 seconds. Does anyone have a typical amount of memory that pulseaudio should be using? -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 424655] Re: Pulse audio memory leak
You need to use the ~ubuntu-audio-dev PPA version until it enters main (likely next week, since it's the weekend). ** Changed in: pulseaudio (Ubuntu) Status: New = Incomplete -- Pulse audio memory leak https://bugs.launchpad.net/bugs/424655 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs