shm: general confusion

From: Paul Barton-Davis (pbd@Op.Net)
Date: Mon Apr 03 2000 - 16:01:53 EST


There are a lot of questions and problems coming up related to the new
shm filesystem. I haven't noticed a pointer to any docs that we can
read to help us solve the problems for ourselves. Does anyone know of
any such thing ?

My own personal problem is understanding this:

pbd[93]>cat /proc/sys/kernel/shmmax
33554432
pbd[94]>df
Filesystem 1k-blocks Used Available Use% Mounted on
none 4194304 0 4194304 0% /var/shm
  [ ... etc. ... ]

How do these numbers relate to each other ? How do I increase the
amount of shm available, and what are the consequences of doing so ?

I've also had my system (SMP 2.3.51 on a dual PII-450) end up with
dozens of shmid's that don't correspond to any known processes, and
cannot be removed with ipcrm. Is this a bug ?

--p

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:10 EST