Uses too much memory (6Gbyte process)

Bug #1834794 reported by Bram Stolk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

So, my pulseaudio process is 6Gbyte large, 3.5Gb of that resident in memory.

version: 1:11.1-1ubuntu7.2

OS: Ubuntu 18.04.2 LTS

System uptime: 11 days

Desktop: GNOME

pmap output:

$ pmap 25499
25499: /usr/bin/pulseaudio --start --log-target=syslog
000055e3bb805000 84K r-x-- pulseaudio
000055e3bba1a000 4K r---- pulseaudio
000055e3bba1b000 4K rw--- pulseaudio
000055e3bd1b9000 132K rw--- [ anon ]
000055e3bd1da000 3671036K rw--- [ anon ]
00007f705c000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7060000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7064000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7068000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f706c000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7070000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7074000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7078000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f707c000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7080000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7084000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7088000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70bc000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70c0000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70c4000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70c8000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70ec000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70f0000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70f4000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70f8000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f70fc000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7100000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7104000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7108000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f710c000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7110000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7114000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7118000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f711c000000 172K rw--- [ anon ]
00007f711c02b000 65364K ----- [ anon ]
00007f7120957000 24K r-x-- libuuid.so.1.3.0
00007f712095d000 2044K ----- libuuid.so.1.3.0
00007f7120b5c000 4K r---- libuuid.so.1.3.0
00007f7120b5d000 4K rw--- libuuid.so.1.3.0
00007f7120b5e000 28K r-x-- libSM.so.6.0.1
00007f7120b65000 2044K ----- libSM.so.6.0.1
00007f7120d64000 4K r---- libSM.so.6.0.1
00007f7120d65000 4K rw--- libSM.so.6.0.1
00007f7120d66000 92K r-x-- libICE.so.6.3.0
00007f7120d7d000 2044K ----- libICE.so.6.3.0
00007f7120f7c000 4K r---- libICE.so.6.3.0
00007f7120f7d000 4K rw--- libICE.so.6.3.0
00007f7120f7e000 12K rw--- [ anon ]
00007f7120f81000 8K r-x-- module-x11-xsmp.so
00007f7120f83000 2048K ----- module-x11-xsmp.so
00007f7121183000 4K r---- module-x11-xsmp.so
00007f7121184000 4K rw--- module-x11-xsmp.so
00007f7121185000 68K r-x-- libXext.so.6.4.0
00007f7121196000 2044K ----- libXext.so.6.4.0
00007f7121395000 4K r---- libXext.so.6.4.0
00007f7121396000 4K rw--- libXext.so.6.4.0
00007f7121397000 20K r-x-- libXtst.so.6.1.0
00007f712139c000 2044K ----- libXtst.so.6.1.0
00007f712159b000 4K r---- libXtst.so.6.1.0
00007f712159c000 4K rw--- libXtst.so.6.1.0
00007f712159d000 8K r-x-- module-x11-cork-request.so
00007f712159f000 2044K ----- module-x11-cork-request.so
00007f712179e000 4K r---- module-x11-cork-request.so
00007f712179f000 4K rw--- module-x11-cork-request.so
00007f71217a0000 8K r-x-- module-x11-bell.so
00007f71217a2000 2044K ----- module-x11-bell.so
00007f71219a1000 4K r---- module-x11-bell.so
00007f71219a2000 4K rw--- module-x11-bell.so
00007f71219a3000 12K r-x-- module-x11-publish.so
00007f71219a6000 2044K ----- module-x11-publish.so
00007f7121ba5000 4K r---- module-x11-publish.so
00007f7121ba6000 4K rw--- module-x11-publish.so
00007f7121ba7000 8K r-x-- libcli.so
00007f7121ba9000 2044K ----- libcli.so
00007f7121da8000 4K r---- libcli.so
00007f7121da9000 4K rw--- libcli.so
00007f7121daa000 8K r-x-- libprotocol-cli.so
00007f7121dac000 2044K ----- libprotocol-cli.so
00007f7121fab000 4K r---- libprotocol-cli.so
00007f7121fac000 4K rw--- libprotocol-cli.so
00007f7121fad000 8K r-x-- module-cli-protocol-unix.so
00007f7121faf000 2044K ----- module-cli-protocol-unix.so
00007f71221ae000 4K r---- module-cli-protocol-unix.so
00007f71221af000 4K rw--- module-cli-protocol-unix.so
00007f71221b0000 24K r-x-- module-filter-apply.so
00007f71221b6000 2044K ----- module-filter-apply.so
00007f71223b5000 4K r---- module-filter-apply.so
00007f71223b6000 4K rw--- module-filter-apply.so
00007f71223b7000 12K r-x-- module-filter-heuristics.so
00007f71223ba000 2044K ----- module-filter-heuristics.so
00007f71225b9000 4K r---- module-filter-heuristics.so
00007f71225ba000 4K rw--- module-filter-heuristics.so
00007f71225bb000 20K r-x-- module-role-cork.so
00007f71225c0000 2044K ----- module-role-cork.so
00007f71227bf000 4K r---- module-role-cork.so
00007f71227c0000 4K rw--- module-role-cork.so
00007f71227c1000 8K r-x-- module-position-event-sounds.so
00007f71227c3000 2044K ----- module-position-event-sounds.so
00007f71229c2000 4K r---- module-position-event-sounds.so
00007f71229c3000 4K rw--- module-position-event-sounds.so
00007f71229c4000 8K r-x-- module-systemd-login.so
00007f71229c6000 2048K ----- module-systemd-login.so
00007f7122bc6000 4K r---- module-systemd-login.so
00007f7122bc7000 4K rw--- module-systemd-login.so
00007f7122bc8000 12K r-x-- module-console-kit.so
00007f7122bcb000 2048K ----- module-console-kit.so
00007f7122dcb000 4K r---- module-console-kit.so
00007f7122dcc000 4K rw--- module-console-kit.so
00007f7122dcd000 20K r-x-- module-suspend-on-idle.so
00007f7122dd2000 2044K ----- module-suspend-on-idle.so
00007f7122fd1000 4K r---- module-suspend-on-idle.so
00007f7122fd2000 4K rw--- module-suspend-on-idle.so
00007f7122fd3000 12K r-x-- module-intended-roles.so
00007f7122fd6000 2044K ----- module-intended-roles.so
00007f71231d5000 4K r---- module-intended-roles.so
00007f71231d6000 4K rw--- module-intended-roles.so
00007f71231d7000 8K r-x-- module-always-sink.so
00007f71231d9000 2044K ----- module-always-sink.so
00007f71233d8000 4K r---- module-always-sink.so
00007f71233d9000 4K rw--- module-always-sink.so
00007f71233da000 12K r-x-- module-rescue-streams.so
00007f71233dd000 2044K ----- module-rescue-streams.so
00007f71235dc000 4K r---- module-rescue-streams.so
00007f71235dd000 4K rw--- module-rescue-streams.so
00007f71235de000 8K r-x-- module-default-device-restore.so
00007f71235e0000 2044K ----- module-default-device-restore.so
00007f71237df000 4K r---- module-default-device-restore.so
00007f71237e0000 4K rw--- module-default-device-restore.so
00007f71237e1000 8K r-x-- module-native-protocol-unix.so
00007f71237e3000 2048K ----- module-native-protocol-unix.so
00007f71239e3000 4K r---- module-native-protocol-unix.so
00007f71239e4000 4K rw--- module-native-protocol-unix.so
00007f71239e5000 76K r-x-- libbluez5-util.so
00007f71239f8000 2048K ----- libbluez5-util.so
00007f7123bf8000 4K r---- libbluez5-util.so
00007f7123bf9000 4K rw--- libbluez5-util.so
00007f7123bfa000 8K r-x-- module-bluez5-discover.so
00007f7123bfc000 2044K ----- module-bluez5-discover.so
00007f7123dfb000 4K r---- module-bluez5-discover.so
00007f7123dfc000 4K rw--- module-bluez5-discover.so
00007f7123dfd000 8K r-x-- module-bluetooth-discover.so
00007f7123dff000 2044K ----- module-bluetooth-discover.so
00007f7123ffe000 4K r---- module-bluetooth-discover.so
00007f7123fff000 4K rw--- module-bluetooth-discover.so
00007f7124000000 65536K rw-s- memfd:pulseaudio (deleted)
00007f7128000000 132K rw--- [ anon ]
00007f7128021000 228K rw--- [ anon ]
00007f712805a000 65176K ----- [ anon ]
00007f712c19e000 16K r-x-- module-bluetooth-policy.so
00007f712c1a2000 2044K ----- module-bluetooth-policy.so
00007f712c3a1000 4K r---- module-bluetooth-policy.so
00007f712c3a2000 4K rw--- module-bluetooth-policy.so
00007f712c3a3000 4K ----- [ anon ]
00007f712c3a4000 8192K rw--- [ anon ]
00007f712cba4000 280K r-x-- libalsa-util.so
00007f712cbea000 2048K ----- libalsa-util.so
00007f712cdea000 8K r---- libalsa-util.so
00007f712cdec000 4K rw--- libalsa-util.so
00007f712cded000 1020K r-x-- libasound.so.2.0.0
00007f712ceec000 2048K ----- libasound.so.2.0.0
00007f712d0ec000 28K r---- libasound.so.2.0.0
00007f712d0f3000 4K rw--- libasound.so.2.0.0
00007f712d0f4000 28K r-x-- module-alsa-card.so
00007f712d0fb000 2044K ----- module-alsa-card.so
00007f712d2fa000 4K r---- module-alsa-card.so
00007f712d2fb000 4K rw--- module-alsa-card.so
00007f712d2fc000 116K r-x-- libudev.so.1.6.9
00007f712d319000 2044K ----- libudev.so.1.6.9
00007f712d518000 4K r---- libudev.so.1.6.9
00007f712d519000 4K rw--- libudev.so.1.6.9
00007f712d51a000 24K r-x-- module-udev-detect.so
00007f712d520000 2044K ----- module-udev-detect.so
00007f712d71f000 4K r---- module-udev-detect.so
00007f712d720000 4K rw--- module-udev-detect.so
00007f712d721000 8K r-x-- module-switch-on-connect.so
00007f712d723000 2048K ----- module-switch-on-connect.so
00007f712d923000 4K r---- module-switch-on-connect.so
00007f712d924000 4K rw--- module-switch-on-connect.so
00007f712d925000 12K r-x-- module-switch-on-port-available.so
00007f712d928000 2044K ----- module-switch-on-port-available.so
00007f712db27000 4K r---- module-switch-on-port-available.so
00007f712db28000 4K rw--- module-switch-on-port-available.so
00007f712db29000 12K r-x-- module-augment-properties.so
00007f712db2c000 2048K ----- module-augment-properties.so
00007f712dd2c000 4K r---- module-augment-properties.so
00007f712dd2d000 4K rw--- module-augment-properties.so
00007f712dd2e000 20K r-x-- module-card-restore.so
00007f712dd33000 2044K ----- module-card-restore.so
00007f712df32000 4K r---- module-card-restore.so
00007f712df33000 4K rw--- module-card-restore.so
00007f712df34000 72K r-x-- module-stream-restore.so
00007f712df46000 2044K ----- module-stream-restore.so
00007f712e145000 4K r---- module-stream-restore.so
00007f712e146000 4K rw--- module-stream-restore.so
00007f712e147000 128K r-x-- libprotocol-native.so
00007f712e167000 2048K ----- libprotocol-native.so
00007f712e367000 4K r---- libprotocol-native.so
00007f712e368000 4K rw--- libprotocol-native.so
00007f712e369000 36K r-x-- module-device-restore.so
00007f712e372000 2044K ----- module-device-restore.so
00007f712e571000 4K r---- module-device-restore.so
00007f712e572000 4K rw--- module-device-restore.so
00007f712e573000 4K ----- [ anon ]
00007f712e574000 8192K rw--- [ anon ]
00007f712ed74000 10044K r---- locale-archive
00007f712f743000 76K r-x-- libbsd.so.0.8.7
00007f712f756000 2044K ----- libbsd.so.0.8.7
00007f712f955000 4K r---- libbsd.so.0.8.7
00007f712f956000 4K rw--- libbsd.so.0.8.7
00007f712f957000 4K rw--- [ anon ]
00007f712f958000 92K r-x-- libresolv-2.27.so
00007f712f96f000 2048K ----- libresolv-2.27.so
00007f712fb6f000 4K r---- libresolv-2.27.so
00007f712fb70000 4K rw--- libresolv-2.27.so
00007f712fb71000 8K rw--- [ anon ]
00007f712fb73000 92K r-x-- libnsl-2.27.so
00007f712fb8a000 2044K ----- libnsl-2.27.so
00007f712fd89000 4K r---- libnsl-2.27.so
00007f712fd8a000 4K rw--- libnsl-2.27.so
00007f712fd8b000 8K rw--- [ anon ]
00007f712fd8d000 20K r-x-- libXdmcp.so.6.0.0
00007f712fd92000 2044K ----- libXdmcp.so.6.0.0
00007f712ff91000 4K r---- libXdmcp.so.6.0.0
00007f712ff92000 4K rw--- libXdmcp.so.6.0.0
00007f712ff93000 8K r-x-- libXau.so.6.0.0
00007f712ff95000 2048K ----- libXau.so.6.0.0
00007f7130195000 4K r---- libXau.so.6.0.0
00007f7130196000 4K rw--- libXau.so.6.0.0
00007f7130197000 564K r-x-- libvorbisenc.so.2.0.11
00007f7130224000 2044K ----- libvorbisenc.so.2.0.11
00007f7130423000 112K r---- libvorbisenc.so.2.0.11
00007f713043f000 4K rw--- libvorbisenc.so.2.0.11
00007f7130440000 168K r-x-- libvorbis.so.0.4.8
00007f713046a000 2044K ----- libvorbis.so.0.4.8
00007f7130669000 4K r---- libvorbis.so.0.4.8
00007f713066a000 4K rw--- libvorbis.so.0.4.8
00007f713066b000 28K r-x-- libogg.so.0.8.2
00007f7130672000 2048K ----- libogg.so.0.8.2
00007f7130872000 4K r---- libogg.so.0.8.2
00007f7130873000 4K rw--- libogg.so.0.8.2
00007f7130874000 468K r-x-- libFLAC.so.8.3.0
00007f71308e9000 2048K ----- libFLAC.so.8.3.0
00007f7130ae9000 4K r---- libFLAC.so.8.3.0
00007f7130aea000 4K rw--- libFLAC.so.8.3.0
00007f7130aeb000 80K r-x-- libgpg-error.so.0.22.0
00007f7130aff000 2044K ----- libgpg-error.so.0.22.0
00007f7130cfe000 4K r---- libgpg-error.so.0.22.0
00007f7130cff000 4K rw--- libgpg-error.so.0.22.0
00007f7130d00000 20K r-x-- libasyncns.so.0.3.1
00007f7130d05000 2044K ----- libasyncns.so.0.3.1
00007f7130f04000 4K r---- libasyncns.so.0.3.1
00007f7130f05000 4K rw--- libasyncns.so.0.3.1
00007f7130f06000 32K r-x-- libwrap.so.0.7.6
00007f7130f0e000 2048K ----- libwrap.so.0.7.6
00007f713110e000 4K r---- libwrap.so.0.7.6
00007f713110f000 4K rw--- libwrap.so.0.7.6
00007f7131110000 152K r-x-- libxcb.so.1.1.0
00007f7131136000 2048K ----- libxcb.so.1.1.0
00007f7131336000 4K r---- libxcb.so.1.1.0
00007f7131337000 4K rw--- libxcb.so.1.1.0
00007f7131338000 72K r-x-- libspeexdsp.so.1.5.0
00007f713134a000 2044K ----- libspeexdsp.so.1.5.0
00007f7131549000 4K r---- libspeexdsp.so.1.5.0
00007f713154a000 4K rw--- libspeexdsp.so.1.5.0
00007f713154b000 84K r-x-- libtdb.so.1.3.15
00007f7131560000 2044K ----- libtdb.so.1.3.15
00007f713175f000 4K r---- libtdb.so.1.3.15
00007f7131760000 4K rw--- libtdb.so.1.3.15
00007f7131761000 476K r-x-- liborc-0.4.so.0.28.0
00007f71317d8000 2044K ----- liborc-0.4.so.0.28.0
00007f71319d7000 8K r---- liborc-0.4.so.0.28.0
00007f71319d9000 16K rw--- liborc-0.4.so.0.28.0
00007f71319dd000 464K r-x-- libsndfile.so.1.0.28
00007f7131a51000 2044K ----- libsndfile.so.1.0.28
00007f7131c50000 12K r---- libsndfile.so.1.0.28
00007f7131c53000 4K rw--- libsndfile.so.1.0.28
00007f7131c54000 8K rw--- [ anon ]
00007f7131c56000 1228K r-x-- libX11.so.6.3.0
00007f7131d89000 2048K ----- libX11.so.6.3.0
00007f7131f89000 4K r---- libX11.so.6.3.0
00007f7131f8a000 16K rw--- libX11.so.6.3.0
00007f7131f8e000 4K r-x-- libX11-xcb.so.1.0.0
00007f7131f8f000 2044K ----- libX11-xcb.so.1.0.0
00007f713218e000 4K r---- libX11-xcb.so.1.0.0
00007f713218f000 4K rw--- libX11-xcb.so.1.0.0
00007f7132190000 1104K r-x-- libgcrypt.so.20.2.1
00007f71322a4000 2044K ----- libgcrypt.so.20.2.1
00007f71324a3000 8K r---- libgcrypt.so.20.2.1
00007f71324a5000 20K rw--- libgcrypt.so.20.2.1
00007f71324aa000 4K rw--- [ anon ]
00007f71324ab000 108K r-x-- liblz4.so.1.7.1
00007f71324c6000 2044K ----- liblz4.so.1.7.1
00007f71326c5000 4K r---- liblz4.so.1.7.1
00007f71326c6000 4K rw--- liblz4.so.1.7.1
00007f71326c7000 144K r-x-- liblzma.so.5.2.2
00007f71326eb000 2048K ----- liblzma.so.5.2.2
00007f71328eb000 4K r---- liblzma.so.5.2.2
00007f71328ec000 4K rw--- liblzma.so.5.2.2
00007f71328ed000 1948K r-x-- libc-2.27.so
00007f7132ad4000 2048K ----- libc-2.27.so
00007f7132cd4000 16K r---- libc-2.27.so
00007f7132cd8000 8K rw--- libc-2.27.so
00007f7132cda000 16K rw--- [ anon ]
00007f7132cde000 1652K r-x-- libm-2.27.so
00007f7132e7b000 2044K ----- libm-2.27.so
00007f713307a000 4K r---- libm-2.27.so
00007f713307b000 4K rw--- libm-2.27.so
00007f713307c000 12K r-x-- libdl-2.27.so
00007f713307f000 2044K ----- libdl-2.27.so
00007f713327e000 4K r---- libdl-2.27.so
00007f713327f000 4K rw--- libdl-2.27.so
00007f7133280000 28K r-x-- librt-2.27.so
00007f7133287000 2044K ----- librt-2.27.so
00007f7133486000 4K r---- librt-2.27.so
00007f7133487000 4K rw--- librt-2.27.so
00007f7133488000 104K r-x-- libpthread-2.27.so
00007f71334a2000 2044K ----- libpthread-2.27.so
00007f71336a1000 4K r---- libpthread-2.27.so
00007f71336a2000 4K rw--- libpthread-2.27.so
00007f71336a3000 16K rw--- [ anon ]
00007f71336a7000 16K r-x-- libcap.so.2.25
00007f71336ab000 2048K ----- libcap.so.2.25
00007f71338ab000 4K r---- libcap.so.2.25
00007f71338ac000 4K rw--- libcap.so.2.25
00007f71338ad000 300K r-x-- libdbus-1.so.3.19.4
00007f71338f8000 2048K ----- libdbus-1.so.3.19.4
00007f7133af8000 4K r---- libdbus-1.so.3.19.4
00007f7133af9000 4K rw--- libdbus-1.so.3.19.4
00007f7133afa000 36K r-x-- libltdl.so.7.3.1
00007f7133b03000 2044K ----- libltdl.so.7.3.1
00007f7133d02000 4K r---- libltdl.so.7.3.1
00007f7133d03000 4K rw--- libltdl.so.7.3.1
00007f7133d04000 312K r-x-- libpulse.so.0.20.2
00007f7133d52000 2044K ----- libpulse.so.0.20.2
00007f7133f51000 8K r---- libpulse.so.0.20.2
00007f7133f53000 4K rw--- libpulse.so.0.20.2
00007f7133f54000 496K r-x-- libpulsecommon-11.1.so
00007f7133fd0000 2044K ----- libpulsecommon-11.1.so
00007f71341cf000 8K r---- libpulsecommon-11.1.so
00007f71341d1000 4K rw--- libpulsecommon-11.1.so
00007f71341d2000 660K r-x-- libpulsecore-11.1.so
00007f7134277000 2044K ----- libpulsecore-11.1.so
00007f7134476000 8K r---- libpulsecore-11.1.so
00007f7134478000 4K rw--- libpulsecore-11.1.so
00007f7134479000 512K r-x-- libsystemd.so.0.21.0
00007f71344f9000 2044K ----- libsystemd.so.0.21.0
00007f71346f8000 12K r---- libsystemd.so.0.21.0
00007f71346fb000 4K rw--- libsystemd.so.0.21.0
00007f71346fc000 4K rw--- [ anon ]
00007f71346fd000 156K r-x-- ld-2.27.so
00007f713486a000 328K rw--- [ anon ]
00007f71348bc000 64K rw-s- orcexec.DfgHi8 (deleted)
00007f71348cc000 64K r-xs- orcexec.DfgHi8 (deleted)
00007f71348ec000 64K rw--- [ anon ]
00007f71348ff000 64K rw-s- pcmC1D0p
00007f713490f000 4K rw-s- pcmC1D0p
00007f7134910000 4K r--s- pcmC1D0p
00007f7134911000 20K rw-s- dd251032340d43558efadd0563ccb1fd-card-database.tdb
00007f7134916000 12K rw-s- dd251032340d43558efadd0563ccb1fd-stream-volumes.tdb
00007f7134919000 12K rw-s- dd251032340d43558efadd0563ccb1fd-device-volumes.tdb
00007f713491c000 4K r---- pulseaudio.mo
00007f713491d000 28K r--s- gconv-modules.cache
00007f7134924000 4K r---- ld-2.27.so
00007f7134925000 4K rw--- ld-2.27.so
00007f7134926000 4K rw--- [ anon ]
00007ffdef7dd000 132K rw--- [ stack ]
00007ffdef95f000 12K r---- [ anon ]
00007ffdef962000 8K r-x-- [ anon ]
ffffffffff600000 4K r-x-- [ anon ]
 total 5896412K

$ cat /etc/pulse/daemon.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0

flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0

Tags: memory
Revision history for this message
Bram Stolk (b-stolk) wrote :

Running with 'pmap -x' gives this info:

$ pmap -x 25499
25499: /usr/bin/pulseaudio --start --log-target=syslog
Address Kbytes RSS Dirty Mode Mapping
000055e3bb805000 84 84 0 r-x-- pulseaudio
000055e3bb805000 0 0 0 r-x-- pulseaudio
000055e3bba1a000 4 4 4 r---- pulseaudio
000055e3bba1a000 0 0 0 r---- pulseaudio
000055e3bba1b000 4 4 4 rw--- pulseaudio
000055e3bba1b000 0 0 0 rw--- pulseaudio
000055e3bd1b9000 132 132 132 rw--- [ anon ]
000055e3bd1b9000 0 0 0 rw--- [ anon ]
000055e3bd1da000 3671036 3671036 3671036 rw--- [ anon ]
000055e3bd1da000 0 0 0 rw--- [ anon ]
...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report.

'pmap' displays virtual memory (address space), which is mostly not real memory.

Please attach a copy of your /proc/PID/status file. The important field that affects machine performance is VmRSS, and VmData tells you the amount of regular memory allocations.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Bram Stolk (b-stolk) wrote :

Thanks for the reply. It is 3.7G byte mapped hardware memory, not just virtual.
Here's the output you asked:

$ cat status
Name: pulseaudio
Umask: 0022
State: S (sleeping)
Tgid: 25499
Ngid: 0
Pid: 25499
PPid: 1
TracerPid: 0
Uid: 1000 1000 1000 1000
Gid: 1000 1000 1000 1000
FDSize: 128
Groups: 4 24 27 30 46 116 126 129 131 1000 1001 64055
NStgid: 25499
NSpid: 25499
NSpgid: 25498
NSsid: 25498
VmPeak: 7469272 kB
VmSize: 7207128 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 3694032 kB
VmRSS: 3694032 kB
RssAnon: 3672980 kB
RssFile: 9136 kB
RssShmem: 11916 kB
VmData: 3688908 kB
VmStk: 132 kB
VmExe: 84 kB
VmLib: 14096 kB
VmPTE: 7792 kB
VmSwap: 0 kB
HugetlbPages: 0 kB
CoreDumping: 0
Threads: 3
SigQ: 0/95728
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000381000
SigCgt: 0000000180004a43
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
Speculation_Store_Bypass: thread vulnerable
Cpus_allowed: f
Cpus_allowed_list: 0-3
Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list: 0
voluntary_ctxt_switches: 64080270
nonvoluntary_ctxt_switches: 3402344

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for that. I've never seen pulseaudio do this before.

1. Do you have any ideas as to what apps might have been using pulseaudio recently?

2. Is the problem regular? Does it return after a reboot?

3. Does the same problem exist in Ubuntu 19.04 if you boot that from USB? (http://releases.ubuntu.com/19.04/) We use a newer version of PulseAudio in all Ubuntu releases from 18.10 onward so I am wondering if this is a bug that was fixed already.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.