Solved

Kernel (shared memory)

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

829 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