Re: Can postgresql accept mutliple connections in

From: Neil Conway <neilc(at)samurai(dot)com>
To: Dru <andru(at)treshna(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can postgresql accept mutliple connections in
Date: 2004-11-19 04:29:26
Message-ID: 1100838566.1436.30.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2004-11-19 at 17:15 +1300, Dru wrote:
> Ok rules out that possibility also. Is there any stress testing
> software for postgresql to find out how and when it breaks?

Try contrib/pgbench.

> The website uses php,
> the problem could be in the wrapper code for PHP though. I havnt
> got much luck asking php developers about the problem though.

pgbench uses libpq (i.e. the native C client interface to PostgreSQL) --
if you encounter connection failures using it, that will narrow down the
set of possible culprits. Since you don't get an error message in the
PostgreSQL logs when a connection is refused, it seems that the
connection attempt doesn't even make it as far as the postmaster, so I
would be skeptical of the software between the client and the backend
(e.g. PHP, perhaps some kernel/TCP weirdness, etc.).

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2004-11-19 04:41:15 Re: Can postgresql accept mutliple connections in the same
Previous Message Joshua D. Drake 2004-11-19 04:27:41 Re: Can postgresql accept mutliple connections in the same