Re: Fwd: Out of Memory on Reindex

Поиск
Список
Период
Сортировка
От Chris Hoover
Тема Re: Fwd: Out of Memory on Reindex
Дата
Msg-id 1d219a6f0705310807r48bb141cy8ef5c77f49ac6196@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fwd: Out of Memory on Reindex  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fwd: Out of Memory on Reindex
Список pgsql-admin
Sorry for not providing that info  Here are the ulimits for my postgres account:
[postgres@dbserver ~]$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 1024
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 159744
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

This is on a 32bit dual HT Xeon system using the official rpms.

Chris

P.S.

Sorry for the direct reply, forgot to hit reply all.

On 5/31/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"Chris Hoover" <revoohc@gmail.com> writes:
> maintenance_work_mem = 1048576 (I have 9GB ram on this server).

You might have that much RAM, but I wonder how much of it the kernel
will give to any one process.  Did you check the ulimit settings the
postmaster is running under?  Is it possibly a 32-bit rather than
64-bit build of Postgres?

                        regards, tom lane

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

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: High Avaliable in the PostgreSQL.
Следующее
От: Jon Colverson
Дата:
Сообщение: Re: Attempt to re-archive existing WAL logs after restoring from backup