Re: Re: Shared memory for RH Linux 7.1

From: Ryan Mahoney <ryan(at)paymentalliance(dot)net>
To: "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Shared memory for RH Linux 7.1
Date: 2001-05-24 13:35:41
Message-ID: 5.0.2.1.0.20010524143406.026bcc50@paymentalliance.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)localhost kernel]# cat /proc/sys/kernel/shmmax
>33554432
>[root(at)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

Attachment Content-Type Size
unknown_filename text/plain 166 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-05-24 14:30:01 Re: BSD gettext
Previous Message Tom Lane 2001-05-24 12:42:35 Re: Smaller access privilege changes