View Single Post
  #1  
Old 08-26-2008, 08:38 AM
hayward6
Forum Guide
 
Join Date: Jul 2005
Posts: 468
Default Debian Shared Memory

In the wiki there's some steps to take for changing the shared memory amount. I used vi to add the line below and it seemed to work, but I was wondering if that number is good, or should I increase it. And in the sysctl.conf file almost everything was #'d out... so I hope thats the way it should be... it just didn't look right, because I expected to see a similar line with a smaller number there to change.

Permanent
To changed the shared memory limit permanently, you will have to edit the /etc/sysctl.conf file to reflect the following:

kernel.shmmax = 134217728

This will set the limit to 128MB (134217728 bytes) permanently. You can then run the following command for it to take effect immediately:

/sbin/sysctl -p
__________________
Sayin Silverwolf
Server Op of The Sandbox (Non-Legit)
Reply With Quote