Re: "Out of memory" errors..

From: "Sander Steffann" <s(dot)steffann(at)computel(dot)nl>
To: "Lim Berger" <straightfwd007(at)gmail(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Postgresql General List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: "Out of memory" errors..
Date: 2007-08-13 18:25:13
Message-ID: B1CF4277478B4D5E8D4D4A9EC78369C5@sanderthuis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Lim,

>> It might also be in /etc/security/limits.conf.
>
> Thanks. I see these two lines in that file:
>
> postgres soft nofile 8192
> postgres hard nofile 8192
>
> How should I change these values? I am not sure how this reflects the
> "ulimit" options.

Those are limits to the allowed number of open files (ulimit -n). I think
8192 should be enough for PostgreSQL. The problem you had were related to
other settings, so if only the "nofile" setting is changed your strange
ulimits do not come from here :-)

- Sander

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Browne 2007-08-13 19:04:54 Re: is there a psql equivilent of fsck?
Previous Message Ben 2007-08-13 18:20:20 Re: is there a psql equivilent of fsck?