On Thu, Apr 21, 2011 at 2:53 PM, Claudio Freire <klaussfreire@gmail.com> wrote:
> On Thu, Apr 21, 2011 at 2:48 PM, Stephen Frost <sfrost@snowman.net> wrote:
>>
>> There's probably something else that's trying to grab all the memory and
>> then tries to use it and PG ends up getting nailed because the kernel
>> over-attributes memory to it. You should be looking for that other
>> process..
>
> Not only that, you probably should set up your oom killer not to kill
> postmaster. Ever.
>
Here: http://developer.postgresql.org/pgdocs/postgres/kernel-resources.html