Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to PERMANENTLY set semaphores in Linux - Suse Personal Edition 8.2?

Re: How to PERMANENTLY set semaphores in Linux - Suse Personal Edition 8.2?

From: David <thunderbolt01_at_netscape.net>
Date: Sat, 15 Nov 2003 03:15:16 GMT
Message-ID: <8Tgtb.3571$Dw6.28916@attbi_s02>


linuxquestion_at_yahoo.com wrote:
> HI,
>
> Thanks for your response. I'll show you what I did.
>
> file /etc/sysctl.conf
> /etc/sysctl.conf: can't stat `/etc/sysctl.conf' (No such file or directory).
>
> touch /etc/sysctl.conf
>
> ls -l /etc/sysctl.conf
> -rw-r--r-- 1 root root 0 Nov 14 12:36 /etc/sysctl.conf
>
> echo `expr 2048 \* 1024 \* 1024`
> 2147483648
>
> Edit empty /etc/sysctl.conf, and add one line only:
>
> /etc/sysctl.conf:
> kernel.shmmax=2147483648
>
> sysctl -p
> kernel.shmmax = 2147483648
>
> cat /proc/sys/kernel/shmmax
> 2147483648
>
> Edit /etc/init.d/boot.local. Add:
> sysctl -p
>
> -----------
> Reboot.
> ------------
> cat /proc/sys/kernel/shmmax
> 33554432

Add it to "rc.local" to have it loaded during system boot.

/sbin/sysctl -p

-- 
Confucius:  He who play in root, eventually kill tree.
Registered with The Linux Counter.  http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.22 SMP i686 (GCC) 3.3.2
Uptime: 39 days, 8:56, 1 user, load average: 1.03, 1.34, 1.51
Received on Fri Nov 14 2003 - 21:15:16 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US