Re: fallo en el server "Out of Memory"

From: "Ing(dot) Marcos L(dot) Ortí­z Valmaseda" <mlortiz(at)uci(dot)cu>
To: Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
Cc: Sergio Gabriel Rodriguez <sgrodriguez(at)gmail(dot)com>, PostgreSQL Español Ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: fallo en el server "Out of Memory"
Date: 2009-09-29 12:47:39
Message-ID: 4AC201EB.2090507@uci.cu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Rafael Martinez escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sergio Gabriel Rodriguez wrote:
>
>> Sept 29 07:42:31 server1 kernel: Out of Memory: Killed process 23357
>> (postmaster)
>>
>> A qué se debe este fallo?
>>
>>
>
> Hola
>
> El servidor se ha quedado sin memoria disponible libre (ram+sawp) y ha
> empezado a matar procesos.
>
> Como esta la situacion de memoria en ese servidor ahora mismo?
>
> Al arrancar la base de datos de nuevo deberia de ser posible usarla
> despues de que haya terminado de recuperarse. Una vez acabada la
> recuperacion deberias de obtener otro mensaje "database system is ready
> to accept connections"
>
> Puedes ver con el comando top si postgres esta trabajando en el proceso
> de recuperacion.
>
> Mas informacion sobre este tema de memoria en linux:
> http://www.postgresql.org/docs/8.3/interactive/kernel-resources.html#AEN22235
>
> - --
> Rafael Martinez, <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>
> Center for Information Technology Services
> University of Oslo, Norway
>
> PGP Public Key: http://folk.uio.no/rafael/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.7 (GNU/Linux)
>
> iD8DBQFKwfq/BhuKQurGihQRAltFAJ4tFBHhPncBvwlUo+REOp8sztdufQCgoOse
> xV6fvd/CvtAO1NuBnpRYbfA=
> =ISeX
> -----END PGP SIGNATURE-----
> --
> TIP 10: no uses HTML en tu pregunta, seguro que quien responda no podrá leerlo
>
Debes fijarte como dice Rafael en la memoria que le estás asignando en
el kernel.
Debe estar en concordancia con los valores incluidos en el:
work_mem
free_spacemap
shared_buffers

etc.
En la Sección 17.4 Managing Kernel Resources, está toda la información
sobre el tema.

Saludos

--
"DBAs must implements decisions based on the best fit of the application,DBMS, and platform
......for that reason.......I use PostgreSQL + Linux"

Ing. Marcos L. Ortiz Valmaseda
Línea Soporte y Despliegue
Centro de Tecnologías de Almacenamiento y Análisis de Datos (CENTALAD)

Linux User # 418229
PostgreSQL User
http://www.postgresql.org
http://www.planetpostgresql.org/
http://www.postgresql-es.org/

Attachment Content-Type Size
mlortiz.vcf text/x-vcard 306 bytes

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Ing. Marcos L. Ortí­z Valmaseda 2009-09-29 12:49:33 Re: fallo en el server "Out of Memory"
Previous Message Rafael Martinez 2009-09-29 12:45:15 Re: fallo en el server "Out of Memory"