HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Showing results for 
Search instead for 
Did you mean: 

shmmax limitation

Occasional Contributor

shmmax limitation

I have the OS version 11.31.
I only need to Know, the recommended value for the shmmax parameter is 0x40000000000.
Also some time, on application level trace I get the error message like
shmget() of 17179869184 bytes failed. errno = 12(Not enough space)
Can I set it with the 8 GB RAM and 20 GB SWAP?


Re: shmmax limitation

This hex value is way too big, two extra zeros?

Your colleague's thread?

While you can get 17 Gb, only if you have enough swap configured. What is "swapinfo -tam" when it fails?
Trusted Contributor

Re: shmmax limitation

For database servers, ideal shmmax value is equal to physical memory.

find out the physical memory.
#dmesg |grep -i phy
or glance

calculate shmmax in bytes.
phy mem * 1024 *1024

tune the parameter.
#kctune shmmax=value