[pulseaudio-discuss] Leaky shm??
lennart at poettering.net
Tue Sep 30 11:00:42 PDT 2008
On Tue, 30.09.08 09:42, Nick Thompson (rextanka at comcast.net) wrote:
> On both x86 and on an arm system there appears to be a huge shm file:
>> -r-------- 1 nick nick 67108888 2008-09-29 09:33 pulse-shm-319812569
> This is with pulseaudio 0.9.12
> Is there any explanation for this somewhat large file?
It's POSIX shared memory used for transfer data between PulseAudio
clients and the server. Each client and the server own one of these
segments and place data in there they want other processes to access.
It's a sparse file. Usually only the first blocks are used. Use "du"
to learn how much actually is used of the 64M pre-allocated.
Note that the size of the file is misleading. Due to the way modern
memory managers work that size is more of an upper limit of what could
be used, only the value shown by "du" is actually taken up.
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss