Home > Uncategorized > Increase shared memory Linux

Increase shared memory Linux

April 16th, 2010 Leave a comment Go to comments

echo $((1024 * 1024 * xxx)) > /proc/sys/kernel/shmmax

Change xxx to MB required

To read value ( in MB )

echo $((`cat /proc/sys/kernel/shmmax` / 1048576))

Add command to rc.local to enter at boot.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Categories: Uncategorized Tags:
  1. No comments yet.