pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedt help PostgreSQL server: FATAL 1: S
2+ messages / 2 participants
[nested] [flat]
* t help PostgreSQL server: FATAL 1: S
@ 2003-10-07 14:22 Priya G <sreepriya@hotmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Priya G @ 2003-10-07 14:22 UTC (permalink / raw)
To: pgsql-admin
<html><div style='background-color:'><DIV>I saw this error </DIV>
<DIV><STRONG>PostgreSQL server: FATAL 1: Sorry, too many clients already in /usr/share/php/phplib/db_pgsql.inc on line 49.</STRONG></DIV>
<DIV> </DIV>
<DIV>It seems like I have to increase the maximum connections in the postgresql.conf .Is that the right step to fix the problem..Also I am seeing lot of idle processess</DIV>
<DIV> </DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2755??PS=">Help protect your PC. Get a FREE computer virus scan online from McAfee.</a> </html>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: t help PostgreSQL server: FATAL 1: S
@ 2003-10-07 14:39 scott.marlowe <scott.marlowe@ihs.com>
parent: Priya G <sreepriya@hotmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: scott.marlowe @ 2003-10-07 14:39 UTC (permalink / raw)
To: Priya G <sreepriya@hotmail.com>; +Cc: pgsql-admin
On Tue, 7 Oct 2003, Priya G wrote:
> I saw this error
> PostgreSQL server: FATAL 1: Sorry, too many clients already in
> /usr/share/php/phplib/db_pgsql.inc on line 49.
>
> It seems like I have to increase the maximum connections in the postgresql.conf .Is that the
> right step to fix the problem..Also I am seeing lot of idle processess
Are you using pg_pconnect, or pg_connect?
pg_pconnect is not simple connection pooling, and can quickly run your
machine / apache server / postgresql server out of resources if improperly
configured.
It's best to reduce the max apache children to something like 30 or 40 and
increase postgresql to about 100 in this situation.
but for most people, persistant connects are no great advantage. On my
Dual PIII-750 server, I can create about 1,000 non-persistant connects a
second, while I can create 1,000,000 persistant connections a second.
Considering I can only server about 200 to 300 pages a second, the speed
of connection is pretty much below the level of noise on this system,
whether they be persistant or not.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-10-07 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 14:22 t help PostgreSQL server: FATAL 1: S Priya G <sreepriya@hotmail.com>
2003-10-07 14:39 ` scott.marlowe <scott.marlowe@ihs.com>
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