Re: Can postgresql accept mutliple connections in the same

From: Dru <andru(at)treshna(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can postgresql accept mutliple connections in the same
Date: 2004-11-23 00:22:26
Message-ID: 41A282C2.4000609@treshna.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway wrote:

>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
>
>
I'll have a look around for kernel limits regarding socket opening etc.
It could be that thats causing the problems.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-11-23 00:40:41 Re: [Testperf-general] Re: ExclusiveLock
Previous Message Tom Lane 2004-11-23 00:22:04 Re: another plperl bug