pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50539: pulseaudio consumes too much /var/shm for shm_open(3)



Kamil Rytarowski wrote:

>  At first look I think it should be configurable from a config file and
>  just tuned by user. Perhaps with a MESSAGE warning.

I notice both client.conf and daemon.conf in /usr/pkg/etc/pulse
already have the following options:

---
% grep shm /usr/pkg/etc/pulse/*.conf
/usr/pkg/etc/pulse/client.conf:; enable-shm = yes
/usr/pkg/etc/pulse/client.conf:; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
/usr/pkg/etc/pulse/daemon.conf:; enable-shm = yes
/usr/pkg/etc/pulse/daemon.conf:; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
---

so it might be easier to explicitly specify
>> enable-shm = no
or
>> shm-size-bytes = 8388608
in these config files during make install at least on NetBSD?

I also see some clients (at least onscripter) don't remove
the fat shm files in /var/shm on exit.  Umm.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index