This value can be dynamically changed by:

echo "new value here" > /proc/sys/kernel/shmmax

Glad I bought that expensive RedHat support contract!

-r

At 08:02 PM 5/24/01 +0200, Poul L. Christiansen wrote:

>I think you still need to set your shared memory size, because my Redhat
>7.1 gives me this:
>
>[root@localhost kernel]# cat /proc/sys/kernel/shmmax
>33554432
>[root@localhost kernel]# uname -a
>Linux localhost.localdomain 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686
>unknown
>
>I think shared memory is set this low for compatability reasons, but I'm
>not sure.
>
>Poul L. Christiansen
>
>Tony Reina 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 4: Don't 'kill -9' the postmaster
>
>
>
>---
>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 14:35:41 +0100
Ryan Mahoney <ryan@paymentalliance.net>
Re: Re: Shared memory for RH Linux 7.1
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

24 May 2001 09:51:05 -0700
reina@nsi.edu (Tony Reina)
Shared memory for RH Linux 7.1
Tony Reina 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?

One can:

echo 67108864  > /proc/sys/kernel/shmmax

To adjust limits




Thu, 24 May 2001 13:45:11 -0400
mlw <markw@mohawksoft.com>
Re: Shared memory for RH Linux 7.1
I think you still need to set your shared memory size, because my Redhat
7.1 gives me this:

[root@localhost kernel]# cat /proc/sys/kernel/shmmax
33554432
[root@localhost kernel]# uname -a
Linux localhost.localdomain 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686
unknown

I think shared memory is set this low for compatability reasons, but I'm
not sure.

Poul L. Christiansen

Tony Reina 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

Thu, 24 May 2001 20:02:47 +0200
"Poul L. Christiansen" <poulc@cs.auc.dk>
Re: Shared memory for RH Linux 7.1
This is my first post here. I hope that I got
everything right...

This has already been possible for 2.2.x Kernels.
Check out the Postgresql admin documentation at

http://www.fr.postgresql.org/devel-corner/docs/admin/kernel-resources.html#SYSVIPC

Or did I get something wrong.

By the way. Is there a release date for PG 7.1.2?


Yours

David Kuczek

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Thu, 24 May 2001 11:17:15 -0700 (PDT)
David Kuczek <royblackd@yahoo.com>
Re: Re: Shared memory for RH Linux 7.1
On Thu, 24 May 2001, Ryan Mahoney wrote:

> echo "new value here" > /proc/sys/kernel/shmmax

The new canonical way is to:

$ sysctl -w kernel.shmmax="new value"

you can arrange for it you happen at boot time via /etc/sysctl.conf.

Matthew.


Fri, 25 May 2001 10:21:01 +0100 (BST)
Matthew Kirkwood <matthew@hairy.beasts.org>
Re: Re: Shared memory for RH Linux 7.1