Re: postmaster crash - another server process exited abnormally

From: Richard Huxton <dev(at)archonet(dot)com>
To: Michael Korotun <michael(at)softasap(dot)net>, List <pgsql-general(at)postgresql(dot)org>
Subject: Re: postmaster crash - another server process exited abnormally
Date: 2005-05-06 15:11:31
Message-ID: 427B8923.1070508@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Korotun wrote:
> Yes, this is oom
> Firstly it killed httpd and then postmaster. But who took all the memory? I
> see there Free swap: 0Kb in the messages log - was it a reason?

Sounds likely.

> I have 1GB of RAM. For shared memory I took about 262MB.
>
> /etc/sysctl.conf
> ===================
> #shared memory increase to 262 MB
> kernel.shmmax=268435456
> kernel.shmall=268435456
> ====================
>
> Postgresql.conf
> =======================
> Max_connections = 100
> shared_buffers = 20000 # min 16, at least max_connections*2, 8KB

What's your sort-mem? That is the memory per-sort, and you can have
several sorts in one query.

Also - might be worth checking if you have reasonable memory constraints
for Apache / PHP (if you are running it).

--
Richard Huxton
Archonet Ltd

Browse pgsql-general by date

  From Date Subject
Next Message Ying Lu 2005-05-06 15:22:35 Question about running "Vacuum" through JDBC
Previous Message Tony Caduto 2005-05-06 14:35:42 Re: Adventures in Quest for GUI RAD