Re: shmget problem on solaris - Mailing list pgsql-general

From Martín Marqués
Subject Re: shmget problem on solaris
Date
Msg-id 20011207210515.406CEFBE1@bugs.unl.edu.ar
Whole thread Raw
In response to shmget problem on solaris  (qradius@qnet.com.pe)
List pgsql-general
On Vie 07 Dic 2001 12:13, qradius@qnet.com.pe wrote:
> Dear Sirs:
>
> Please I have a problem at attempting  to run postmaster on
> Solaris
>
> when I executed:
>
> /usr/local/pgsql/bin/postmaster -i -D  /usr/local/pgsql/data
>
> I get the follow error:
>
> This error can be caused by one of three things:
>
> 1. The maximum size for shared memory segments on your system
> was
>    exceeded.  You need to raise the SHMMAX parameter in your
> kernel
>    to be at least 1245184 bytes.
>
> 2. The requested shared memory segment was too small for your
> system.
>    You need to lower the SHMMIN parameter in your kernel.
>
> 3. The requested shared memory segment already exists but is
> of the
>    wrong size.  This is most likely the case if an old
> version of
>    PostgreSQL crashed and didn't clean up.  The `ipcclean'
> utility
>    can be used to remedy this.
>
> I am running Soalris v SunOS 5.8 , what possible solutions
> exists?

You'll have to configure the shared memory parameters in /etc/system.

Check this:

http://www.postgresql.org/idocs/index.php?kernel-resources.html

Saludos... :-)

--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------

pgsql-general by date:

Previous
From: qradius@qnet.com.pe
Date:
Subject: shmget problem on solaris
Next
From: Joe Koenig
Date:
Subject: Where do I learn about optimization?