Re: Oracle SHM values?
From: Michael Mauch
Date: Sun Mar 28 2004 - 04:07:14 EST
Robert L. Harris wrote:
> I have users who need this:
> set the following in /usr/src/linux/include/asm/shmparam.h
> SHMMAX 128MB
> SHMMIN 1
> SHMMNI 100
> SHMSEG 10
>
> and following in /usr/src/linux/inlude/linux/sem.h
>
> SEMMNI 100
> SEMMSL 60
> SEMMNS 110
> SEMOPM 100
> SEMVMX 32767
> then recompile and install.
> Is there a way to pass these values via append, or anything other than
> having a one-off custom kernel config?
You can set some of them with sysctl:
% sysctl -a | egrep "sem|shm"
kernel.sem = 250 32000 32 128
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 33554432
The order of the space separated list in kernel.sem is semmsl semmns
semopm semmni (see /usr/src/linux/ipc/sem.c).
I guess the "missing" variables are no longer needed in kernel 2.4/2.6.
Regards...
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/