Re: Parametros para postgresql

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: "Alejandro Brust" <alejandrob(at)federacion(dot)pasteleros(dot)org(dot)ar>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Parametros para postgresql
Date: 2005-06-08 21:54:19
Message-ID: 200506081854.20533.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El Mié 08 Jun 2005 18:10, Alejandro Brust escribió:
> Hola a todos soy nuevo en la lista y estoy teniendo algunos problemas en
cuanto a la configuracion del archivo postgresql.conf
>
> Les describo lo que tengo:
> Pent IV
> 1Gb ram
> 120 Gb HD
> OS Freebsd 5.3
> postgrsql 8.0
>
> La cuestion es que estoy alcanzado picos de conexiones maximas y me pide que
levante el parametro max_connections pero....
>
>
> DETAIL: Failed system call was semget(5432004, 17, 03600).
> HINT: This error does *not* mean that you have run out of disk space.
> It occurs when either the system limit for the maximum number of semaphore
sets (SEMMNI), or the system wide maximum number of
> semaphores (SEMMNS), would be exceeded. You need to raise the respective
kernel parameter. Alternatively, reduce PostgreSQL's
> consumption of semaphores by reducing its DETAIL: Failed system call was
semget(5432004, 17, 03600).
> HINT: This error does *not* mean that you have run out of disk space.
> It occurs when either the system limit for the maximum number of semaphore
sets (SEMMNI), or the system wide maximum number of
> semaphores (SEMMNS), would be exceeded. You need to raise the respective
kernel parameter. Alternatively, reduce PostgreSQL's

Aca lo dice claro. Tenes que aumentar la cantidad maxima de SEM que el kernel
acepta.

En Linux seria algo como:

cat nnnnnn > /proc/sys/kernel/shmmax

O mejor, configurarlo en /etc/sysctl.conf.

Averigua como se hace eso en FreeBSD (seguramente en la documentacion de PG
dice como).

> Alguien me podria decir para esta cantidad de ram y este S.O. si hay que
compilar el kernel o tocar algun parametro, tengo algo leido pero
> se me hace muy confuso y estoy muy corto de tiempo....

No. Solo hay que configurarlo correctamente.

--
18:50:51 up 2 days, 6:42, 3 users, load average: 1.55, 0.76, 0.52
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message J. Arturo Llanquihuén M. 2005-06-08 22:09:16 Re: Parametros para postgresql
Previous Message Ing. Jhon Carrillo - Caracas, Venezuela 2005-06-08 21:44:49 Re: duda sobre plpgsql