Re: postmaster crashing - Mailing list pgsql-general

From Tom Lane
Subject Re: postmaster crashing
Date
Msg-id 13661.1062772939@sss.pgh.pa.us
Whole thread Raw
In response to Re: postmaster crashing  (psql-mail@freeuk.com)
List pgsql-general
psql-mail@freeuk.com writes:
> The server has 4GB of memory and is not running any other services - so
> i wouldn't expect there to be memory shortage problems.

That has nothing whatever to do with how much memory the kernel will let
any one process have.  Check what ulimit settings the postmaster is
running under (particularly -d, -m, -v).

> I have since changed the kernel settings to allow 1GB of shared mem and
> changed shared_buffers in postgresql.conf to request just under that.

If anything, that's counterproductive for this problem.  I'm not sure
whether shared memory is counted against your ulimit -d, but it might
be.

            regards, tom lane

pgsql-general by date:

Previous
From: Jonathan Bartlett
Date:
Subject: Re: Seq scan of table?
Next
From: "scott.marlowe"
Date:
Subject: Re: Pagination - 1 or 2 queries?