Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 548
  • Last Modified:

Kernel (shared memory)

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
carydb
Asked:
carydb
1 Solution
 
Nisus091197Commented:
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
 
elfieCommented:
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
 
carydbAuthor Commented:
Thanks,  I added the entries as you listed and it worked just fine.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now