SHMMAX share Linux memory

by
Share this Article: Facebook1Google+0Twitter1LinkedIn0Reddit0StumbleUpon0

The Linux kernel has many parameters that may be tuned, and are not well documented. Shared memory has been a big issue with big application like Oracle, Tibco, Webmethods on linux, This is the way to show you how to set limit of your used memory .  




To determine the maximum size of a shared memory segment, run:

# cat /proc/sys/kernel/shmmax

2147483648

 


The default shared memory limit for SHMMAX can be changed in the proc file system without reboot:

# echo 2147483648 > /proc/sys/kernel/shmmax


Alternatively, you can use sysctl(8) to change it:

# sysctl -w kernel.shmmax=2147483648


To make a change permanent, add the following line to the file /etc/sysctl.conf (your setting may vary). This file is used during the boot process.

# echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf

{loadposition user9}

Related Articles By Tags:

{loadposition user1}


For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook1Google+0Twitter1LinkedIn0Reddit0StumbleUpon0