Re: BUG #4978: "too many private dirs demanded" error during postgres startup

Lists: pgsql-bugs
From: "Jinson Abraham" <abraham(dot)jinson(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4978: "too many private dirs demanded" error during postgres startup
Date: 2009-08-12 11:36:03
Message-ID: 200908121136.n7CBa3uf097696@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg롤 토토SQL : Postg롤 토토SQL 메일 링리스트 : 2009-08-12 이후 PGSQL-BUGS


The following bug has been logged online:

Bug reference: 4978
Logged by: Jinson Abraham
Email address: abraham(dot)jinson(at)gmail(dot)com
PostgreSQL version: 8.3.7
Operating system: Linux (RHEL 5.3)
Description: "too many private dirs demanded" error during postgres
startup
Details:

I am trying to start postgres 8.3.7 service on RHEL 5.3 but am seeing the
following error in the pgstartup.log file under /var/lib/pgsql

FATAL: too many private dirs demanded
FATAL: too many private dirs demanded
FATAL: too many private dirs demanded
FATAL: too many private dirs demanded
FATAL: too many private dirs demanded
FATAL: too many private dirs demanded

What i have done different after installing postgres is:

1. removed the service "chkconfig --remove postgresql"
2. added the service "chkconfig --add postgres"
3. "chkconfig postgresql on"

additionally when i do "service postgresql status" it gives the following
message:

"dead but pid file exists"

I don't recall doing anything else differently.


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Jinson Abraham <abraham(dot)jinson(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4978: "too many private dirs demanded" error during postgres startup
Date: 2009-08-12 15:27:48
Message-ID: 20090812152748.GG5721@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Jinson Abraham escribió:

> I am trying to start postgres 8.3.7 service on RHEL 5.3 but am seeing the
> following error in the pgstartup.log file under /var/lib/pgsql
>
> FATAL: too many private dirs demanded

Huh, this sounds like operating system misconfiguration. How many files
can a process open?

FWIW I have never seen this error (it comes from AllocateDir).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.