SHMMAX share Linux memory

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



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}

Please shareShare on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page