Solved

Kernel (shared memory)

Posted on 2002-04-03
3
539 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now