Re: Fwd: Out of Memory on Reindex

From: "Chris Hoover" <revoohc(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Fwd: Out of Memory on Reindex
Date: 2007-05-31 15:07:32
Message-ID: 1d219a6f0705310807r48bb141cy8ef5c77f49ac6196@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sorry for not providing that info Here are the ulimits for my postgres
account:
[postgres(at)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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> "Chris Hoover" <revoohc(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jon Colverson 2007-05-31 15:09:53 Re: Attempt to re-archive existing WAL logs after restoring from backup
Previous Message Andrew Sullivan 2007-05-31 14:43:12 Re: High Avaliable in the PostgreSQL.