>This is true.  You can adjust the value in the /proc/sys/kernel/shmmax 
>file.  If you change the value it will be reset when you reboot, so you 
>will need to write a start-up script to always change this value if you 
>want it to be permanent.
>
>-r
>
>At 09:51 AM 5/24/01 -0700, you wrote:
>
>>In the past, I had to change the RedHat Linux kernel so that the
>>shared memory was set to something much higher than the default (which
>>I think was about 32 MBytes). It seems that this is no longer
>>necessary in RH 7.1 (kernel 2.4). Can someone confirm this?
>>
>>-Tony
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>>
>>
>>
>>---
>>Incoming mail is certified Virus Free.
>>Checked by AVG anti-virus system (http://www.grisoft.com).
>>Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01
Thu, 24 May 2001 13:37:37 +0100
Ryan Mahoney <ryan@paymentalliance.net>
Fwd: Re: Shared memory for RH Linux 7.1
On Thu, 24 May 2001, Ryan Mahoney wrote:

> >This is true.  You can adjust the value in the /proc/sys/kernel/shmmax 
> >file.  If you change the value it will be reset when you reboot, so you 
> >will need to write a start-up script to always change this value if you 
> >want it to be permanent.

or you can let sysctl do it with this in /etc/sysctl.conf:

kernel.shmmax = 268435456

(obviously changing the value with what is appropriate for your machine).

This is for a RH 6.2 box.  DOnt know if its the same on 7.1.  We switched to
FreeBSD between redhat 6.2 and 7.0, so we dont have any RH7.1 boxes laying
around.  I suspect it hasn't changed though.

Mike


Fri, 1 Jun 2001 15:54:42 -0500 (CDT)
Michael J Schout <mschout@gkg.net>
Re: Fwd: Re: Shared memory for RH Linux 7.1