From: Chris Hoover <revoohc@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Fwd: Out of Memory on Reindex
Date: Thu, 31 May 2007 11:07:32 -0400
Message-ID: <1d219a6f0705310807r48bb141cy8ef5c77f49ac6196@mail.gmail.com> (raw)
In-Reply-To: <29387.1180622575@sss.pgh.pa.us>
References: <1d219a6f0705290836h67b9509egc62498c78cf39829@mail.gmail.com>
<1d219a6f0705301024p61aec66cv8b87adebfd4244a9@mail.gmail.com>
<21900.1180562115@sss.pgh.pa.us>
<1d219a6f0705310707i73292913rdccd98f591529776@mail.gmail.com>
<29387.1180622575@sss.pgh.pa.us>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: revoohc@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Fwd: Out of Memory on Reindex
In-Reply-To: <1d219a6f0705310807r48bb141cy8ef5c77f49ac6196@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox