Re: Really out of memory? - Mailing list pgsql-general

From Tom Lane
Subject Re: Really out of memory?
Date
Msg-id 18576.1243975557@sss.pgh.pa.us
Whole thread Raw
In response to Re: Really out of memory?  (Ben Chobot <bench@silentmedia.com>)
List pgsql-general
Ben Chobot <bench@silentmedia.com> writes:
> On Tue, 2 Jun 2009, Tom Lane wrote:
>> You don't have /proc/<pid>/limits ?

> Nope. I'd like to believe I would consider that "obviously relevant." :)

Next best thing I can think of is to stick "ulimit -a >/tmp/mylimits"
into the postgres initscript and restart.

If the initscript is starting postgres via "su -l", it might be better
to add the command in postgres' ~/.bashrc or some such place.  You
have to consider the possibility that the su is changing the ulimit
environment.

            regards, tom lane

pgsql-general by date:

Previous
From: Geoffrey
Date:
Subject: Re: warm standby with WAL shipping
Next
From: Geoffrey
Date:
Subject: Re: warm standby with WAL shipping