Re: buildfarm failures on smew and anole

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, CM Team <cm(at)enterprisedb(dot)com>
Subject: Re: buildfarm failures on smew and anole
Date: 2013-10-16 13:35:46
Message-ID: CA+TgmoZVu-P91ssNk21FfG6k97KFVpJutcCq9e1fbizWFijEBQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 16, 2013 at 8:54 AM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> On 2013-10-16 08:39:10 -0400, Robert Haas wrote:
>> On Tue, Oct 15, 2013 at 11:17 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
>> > On Mon, 2013-10-14 at 18:14 -0400, Robert Haas wrote:
>> >> > I cleaned the semaphores on smew, but they came back. Whatever is
>> >> > crashing is leaving the semaphores lying around.
>> >>
>> >> Ugh. When did you do that exactly? I thought I fixed the problem
>> >> that was causing that days ago, and the last 4 days worth of runs all
>> >> show the "too many clients" error.
>> >
>> > I did it a few times over the weekend. At least twice less than 4 days
>> > ago. There are currently no semaphores left around, so whatever
>> > happened in the last run cleaned it up.
>>
>> That seems to suggest I've introduced some bug. I'm at a loss as to
>> what it is, though. :-(
>
> Ah. I see the issue. To reproduce do something like
> # mkdir /tmp/empty
> # mount --bind /tmp/empty /dev/shm/
> and then run initdb.
>
> The issue is that test_config_settings determines max_connections
> without disabling dynamic shared memory which consequently chooses posix
> which doesn't work. Setting it to none during the test makes it work.

Gah. I fixed one instance of that problem in test_config_settings(),
but missed the other.

Thanks.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-10-16 13:37:56 Re: buildfarm failures on smew and anole
Previous Message Robert Haas 2013-10-16 13:33:21 Re: background workers, round three