Re: Re: Shared memory for RH Linux 7.1 - Mailing list pgsql-hackers

From Ryan Mahoney
Subject Re: Re: Shared memory for RH Linux 7.1
Date
Msg-id 5.0.2.1.0.20010524143406.026bcc50@paymentalliance.net
Whole thread Raw
In response to Re: Shared memory for RH Linux 7.1  ("Poul L. Christiansen" <poulc@cs.auc.dk>)
Responses Re: Re: Shared memory for RH Linux 7.1  (Matthew Kirkwood <matthew@hairy.beasts.org>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Smaller access privilege changes
Next
From: Tom Lane
Date:
Subject: Re: Bug#98565: postgresql logs notices with GMT timestamps in syslog (fwd)