Skip site navigation (1) Skip section navigation (2)

Re: CPU bound at 99%

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bryan Buecking <buecking(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: CPU bound at 99%
Date: 2008-04-22 15:41:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Wed, 23 Apr 2008 00:31:01 +0900
Bryan Buecking <buecking(at)gmail(dot)com> wrote:

> at any given time there is about 5-6 postgres in startup 
> (ps auxwww | grep postgres | grep startup | wc -l)
> about 2300 connections in idle 
> (ps auxwww | grep postgres | idle)
> and loads of "FATAL: sorry, too many clients already" being logged.
> The server that connects to the db is an apache server using
> persistent connections. MaxClients is 2048 thus the high number of
> connections needed. Application was written in PHP using the Pear DB
> class.

Sounds like your pooler isn't reusing connections properly.


Joshua D. Drake

The PostgreSQL Company since 1997: 
PostgreSQL Community Conference:
United States PostgreSQL Association:
Donate to the PostgreSQL Project:

In response to


pgsql-performance by date

Next:From: Erik JonesDate: 2008-04-22 15:55:19
Subject: Re: CPU bound at 99%
Previous:From: Bryan BueckingDate: 2008-04-22 15:31:01
Subject: CPU bound at 99%

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group