Re: Shared Memory in 2.4.0-test6 and test7

From: Christoph Rohland (cr@sap.com)
Date: Mon Aug 28 2000 - 04:53:54 EST


Michael Bielicki <Michael.Bielicki@Parmastocks.com> writes:

> ipcs -lm:
>
> ------ Shared Memory Limits --------
> max number of segments = 4096
> max seg size (kbytes) = 32768
> max total shared memory (kbytes) = 8388608
> min seg size (bytes) = 0

[...]

> Could it be that the max shared memory is too small ?

Yes, the max segment size is 32M. That's too small for most databases.

> but /proc/sys/kernel/shmmax = 335544320

That's probably not true. I cross-checked here. Echoing something
different too /proc/sys/kernel/shmmax changes output of 'ipcs -lm' and
this says that the trailing zero is missing...

Greetings
                Christoph

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:21 EST