Re: PostgreSQL's vacuumdb fails to allocate memory for non-root users

Поиск
Список
Период
Сортировка
От Charles Swiger
Тема Re: PostgreSQL's vacuumdb fails to allocate memory for non-root users
Дата
Msg-id 51C9ABA2-20B8-4DE8-B647-A26A168A78FC@mac.com
обсуждение исходный текст
Ответ на Re: PostgreSQL's vacuumdb fails to allocate memory for  (Sven Willenberger <sven@dmv.com>)
Список pgsql-general
On Jun 29, 2005, at 4:12 PM, Sven Willenberger wrote:
[ ... ]
> Something I have noticed,
> when the memory error occurs during the psql session (after a failed
> vacuumdb attempt) the memory stays at 600+MB in top (under size) until
> the psql session is closed -- that may just be the way top reports it
> though.

Double-check your system limits via "ulimit -a" or "ulimit -aH".  By
default, FreeBSD will probably restrict the maximum data size of the
process to 512MB, which may be what you are running into.  You can
rebuild the kernel to permit a larger data size, or else tweak /boot/
loader.conf:

     echo 'kern.maxdsiz="1024M"' >> /boot/loader.conf

--
-Chuck



В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Recovering a broken database
Следующее
От: Jason Tesser
Дата:
Сообщение: Re: Possible move away from PG