Solved

Kernel (shared memory)

Posted on 2002-04-03
3
541 Views
Last Modified: 2013-12-27
when installing a databse on my system, I get this error:

The request to the operating system to allocate 10944512 bytes of
shared memory failed.  This request most probably failed because the size of
the allocation exceeds the maximum size shared memory segment configured for the
OS.  In most system V interface compliant shared memory OS implementations this
maximum size is user tunable by altering the SHMSIZE parameter in the kernel
configuration procedure.

My question is what is the kernel configurtion procedure and how can I increase the SHMSIZE so my database will run?

0
Comment
Question by:carydb
3 Comments
 
LVL 5

Expert Comment

by:Nisus091197
ID: 6916396
Hi,

You need to edit the /etc/system file and reboot.

Make sure you take a backup copy of the file first.

Follow the installation instructions.

Also, check the amount of physical memory you have and don't allocate more than that.

Regards, Nisus
http://www.omnimodo.com
0
 
LVL 3

Accepted Solution

by:
elfie earned 100 total points
ID: 6916477
The /etc/system file van be modified in the following way  (number are given as an example, and must set according to db needs/installation documentation.
shmmax is needed. Other can be useful.


Add the following lines to the /etc/system file:

                set shmsys:shminfo_shmmax=10944512
                set shmsys:shminfo_shmmin=1
                set shmsys:shminfo_shmmni=100
                set shmsys:shminfo_shmseg=20
                set semsys:seminfo_semmns=200
                set semsys:seminfo_semmni=70
0
 

Author Comment

by:carydb
ID: 6918137
Thanks,  I added the entries as you listed and it worked just fine.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question