Re: Very big shm area

William Lee Irwin III (wli@holomorphy.com)
Sun, 2 Jun 2002 11:37:21 -0700


On Sun, Jun 02, 2002 at 07:21:21PM +0200, Kilobug wrote:
> Hello,
> I wanted to know if it is possible to have a very big system V
> shared memory segment (say about 1Gb) ?
> I've quickly looked into the source code of shm.c and shm.h in ipc/
> and I've read the following:
> /*
> * SHMMAX, SHMMNI and SHMALL are upper limits are defaults which can
> * be increased by sysctl
> */
> But how far is it possible to increase them ? And which sysctl must be
> done ?
> Thank you for answering,

ls /proc/sys/kernel/sh* and the names shouldn't be too tough from there.
I'd be concerned about exercising this code on a virgin 2.4.17 as ISTR
bugfixes for sysv ipc/shm cropping up in later kernel versions, though
I can't say I've tracked this area very closely. Hopefully someone who
does can chime in here and enlighten us both.

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