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

tmpfs / shm on 2.4.x



the current thread on memory usage in debian got me thinkin.

I remember back when I first played with 2.4.x(.7?), and before that
reading about the shm filesystem for shared memory. Running 'free'
today on my laptop which runs 2.4.20 didn't show shared memory
(as expected under 2.4.x) but I realized that I didn't have the
shm filesystem in use. And haven't used it since I started testing
2.4.20(my kernel build date appears to be dec 19). Haven't had any
trouble.. X.. phoenix.. xmms, gnome-terminal, staroffice, buncha other
stuff ..reading a bit more on the shm filesystem(specifically on IBM's
site) it mentions this is needed for POSIX shared memory. So, what
uses it? I logged into my redhat machine which has 2.4.18 and it has
the filesystem mounted.

I remember reading that I think apache 2 uses it? I have apache 1.3
on my laptop and theres no problems.

so my question is what needs POSIX shared memory? My laptop doesn't
get extensive use, but was suprised that I haven't noticed the
slightest trouble since I started using 2.4.x while not having this
filesystem mounted.

the IBM site mentions that System V shared memory isn't affected by
this, so I guess thats what everything I use uses ...if it uses shared
memory.

I suppose I'll unmount the filesystem and enable it again if I ever
see a problem.

thanks

nate





Reply to: