Re: LARGE Oracle Installation (Buffer Problems)

Chris Wedgwood (cw@ix.net.nz)
Thu, 25 Mar 1999 14:28:48 +1200


On Tue, Mar 23, 1999 at 01:47:13PM +0100, Anas Nashif wrote:

> ORA-27123: unable to attach to shared memory segment
> Linux Error: 22: Invalid argument
> ^^^^^^^^^^^

I still think this is probably because your trying to use more sysV
memory that then kernel will allow.

You either have to up this value by patching the kernel in the case
of 2.0.x) or by increasing /proc/sys/kernel/shmmax. In the laters
2.2.x-ac kernels you can certainly do this:

echo "64 1024 2 ^ * p" | dc > /proc/sys/kernel/shmmax

to set the maximum amount of shared memory to 64MB.

> And it works with:
>
> Database Buffers = db_block_buffers * db_block_size
> Database Buffers = 8000 * 8192 = 62.5 MB

[...]

> I have enough shared memory (512MB) and free shows this:

ok... I didn't read this at forst. What does

cat /proc/sys/kernel/shmmax

say?

-cw

-
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/