?
Solved

Kernel (shared memory)

Posted on 2002-04-03
3
Medium Priority
?
546 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
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…
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

771 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