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: Thu, 20 Nov 2003 07:22:23 GMT
Message-ID: <OYZub.254693$Fm2.272654@attbi_s04>


linuxquestion_at_yahoo.com wrote:
>
> Edit /etc/sysctl.conf
> add/change: kernel.shmmax=2147483648
>
> sysctl -p
> kernel.shmmax = 2147483648
>
> cat /proc/sys/kernel/shmmax
> 2147483648
>
> Edit the file, /etc/init.d/boot.local and add:
> sysctl -p

--snip--
>
> Does anyone have any more ideas on how to set the
> shmmax at boot time?

I'm not familiar with SuSe but I think there should be an rc.local file that is run during the system boot.

If you want to set it to "2147483648" then do it like this.

Edit /etc/rc.d/rc.local and add the line below to the end of it.

/sbin/sysctl -p

Edit /etc/sysctl.conf and add the line below.

kernel.shmmax = 2147483648

Then run "/sbin/sysctl -p" to update /proc without rebooting. That should cause it run and update /proc during system boot.

-- 
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: 21 min, 2 users, load average: 1.83, 1.75, 1.21
Received on Thu Nov 20 2003 - 01:22:23 CST

Original text of this message

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