Re: "Out of memory" errors.. - Mailing list pgsql-general

From Sander Steffann
Subject Re: "Out of memory" errors..
Date
Msg-id B1CF4277478B4D5E8D4D4A9EC78369C5@sanderthuis
Whole thread Raw
In response to "Out of memory" errors..  ("Lim Berger" <straightfwd007@gmail.com>)
Responses Re: "Out of memory" errors..
Re: "Out of memory" errors..
List 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



pgsql-general by date:

Previous
From: Ben
Date:
Subject: Re: is there a psql equivilent of fsck?
Next
From: Chris Browne
Date:
Subject: Re: is there a psql equivilent of fsck?