/proc/sys/kernel/shmmax
Gérard BIGOT
gerard.bigot at gmail.com
Sun Jan 20 14:32:46 UTC 2008
On Jan 20, 2008 3:07 PM, Luca Ferrari <fluca1978 at infinito.it> wrote:
> Hi all,
> using a 7.1 server I tried to increment the shmmax value in the proc file,
> but
> it seems I cannot get more than 600 MB. I tried to fix it to 1GB but the
> system still has 600MB, is it a parameter fixed in the ubuntu kernel?
To change the value SHMMAX, you can use either of the following three
methods:
- This is method I use most often. This method sets the SHMMAX on
startup by inserting the following kernel parameter in the
/etc/sysctl.conf startup file:
# *echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf*
- If you wanted to dynamically alter the value of SHMMAX without
rebooting the machine, you can make this change directly to the
/procfile system. This command can be made permanent by putting it
into the
/etc/rc.local startup file:
# *echo "2147483648" > /proc/sys/kernel/shmmax*
- You can also use the sysctl command to change the value of SHMMAX:
# *sysctl -w kernel.shmmax=2147483648*
>From http://www.idevelopment.info/data/Oracle/DBA_tips/Linux/LINUX_8.shtml ,
obviously ...
G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080120/0752cefe/attachment.html>
More information about the ubuntu-users
mailing list