Re: Out of memory on SELECT in 8.3.5 - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: Out of memory on SELECT in 8.3.5
Date
Msg-id 2f4958ff0902090032i1f4ce95drb33157772cb61cfb@mail.gmail.com
Whole thread Raw
In response to Re: Out of memory on SELECT in 8.3.5  ("Matt Magoffin" <postgresql.org@msqr.us>)
Responses Re: Out of memory on SELECT in 8.3.5
List pgsql-general
On Mon, Feb 9, 2009 at 8:23 AM, Matt Magoffin <postgresql.org@msqr.us> wrote:

> I just noticed something: the "open files" limit lists 1024, which is the
> default for this system. A quick count of open data files currently in use
> by Postgres returns almost 7000, though.
>
> [root@170226-db7 ~]# lsof -u postgres |egrep
> '(/pg_data|/pg_index|/pg_log)' |wc -l
> 6749
>
> We have 100+ postgres processes running, so for an individual process,
> could the 1024 file limit be doing anything to this query? Or would I see
> an explicit error message regarding this condition?

you would get one of "Open files rlimit 1024 reached for uid xxxx" in
syslog (which you should checkout anyhow).
I wonder if it isn't just another one of those 'this only happends on
64bit machine' problems :)


--
GJ

pgsql-general by date:

Previous
From: "Matt Magoffin"
Date:
Subject: Re: Out of memory on SELECT in 8.3.5
Next
From: "Matt Magoffin"
Date:
Subject: Re: Out of memory on SELECT in 8.3.5