Re: Possible fix for occasional failures on castoroides etc - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Possible fix for occasional failures on castoroides etc
Date
Msg-id 505601FF.6040206@dunslane.net
Whole thread Raw
In response to Possible fix for occasional failures on castoroides etc  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Possible fix for occasional failures on castoroides etc  (Dave Page <dpage@pgadmin.org>)
List pgsql-hackers
On 09/16/2012 12:04 PM, Tom Lane wrote:
> It's annoying that the buildfarm animals running on older versions of
> Solaris randomly fail with "Connection refused" errors, such as in
> today's example:
> http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=castoroides&dt=2012-09-15%2015%3A42%3A52
>
> I believe what's probably happening there is that the kernel has a small
> hard-wired limit on the length of the postmaster's accept queue, and you
> get this failure if too many connection attempts arrive faster than the
> postmaster can service them.  If that theory is correct, we could
> probably prevent these failures by reducing the number of tests run in
> parallel, which could be done by adding say
>     MAX_CONNECTIONS=5
> to the environment in which the regression tests run.  I'm not sure
> though if that's "build_env" or some other setting for the buildfarm
> script --- Andrew?
>
>             


Yes, in the build_env section of the config file.

It's in the distributed sample config file, commented out.

cheers

andrew




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Possible fix for occasional failures on castoroides etc
Next
From: Bruce Momjian
Date:
Subject: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed