Re: "Out of memory" errors..

Поиск
Список
Период
Сортировка
От Sander Steffann
Тема Re: "Out of memory" errors..
Дата
Msg-id B1CF4277478B4D5E8D4D4A9EC78369C5@sanderthuis
обсуждение исходный текст
Ответ на "Out of memory" errors..  ("Lim Berger" <straightfwd007@gmail.com>)
Ответы Re: "Out of memory" errors..
Re: "Out of memory" errors..
Список 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 по дате отправления:

Предыдущее
От: Ben
Дата:
Сообщение: Re: is there a psql equivilent of fsck?
Следующее
От: Chris Browne
Дата:
Сообщение: Re: is there a psql equivilent of fsck?