Re: [Pgbuildfarm-members] guppie: 64MB RAM too small?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Christian Mair <chris(at)1006(dot)org>, pgsql-hackers(at)postgresql(dot)org
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgbuildfarm-members(at)pgfoundry(dot)org
Subject: Re: [Pgbuildfarm-members] guppie: 64MB RAM too small?
Date: 2006-03-21 14:19:15
Message-ID: 20060321141914.GY15742@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members pgsql-hackers

Adding -hackers.

On Tue, Mar 21, 2006 at 02:20:09PM +0100, Christian Mair wrote:
>
> > No, let's start again.
> >
> > The user's machine ran out of resources. That can't be because inbitdb set
> > max_connections too low - if anything it has probably set them too high. I
> > suggested that he could possibly limit resource use by limiting the number
> > of concurrent connections "make check" would use, by using the *UNRELATED*
> > MAX_CONNECTIONS=n make flag. This flag is not part of buildfarm - it
> > predates buildfarm in fact. It's part of the postgres build system - look in
> > pg_regress.sh and the associated make file. Buildfarm has support for it as
> > shown in the sample config file.
>
> Yes,
> Neither PostgreSQL nor the buildfarm code is to blame.
> The problem was OpenBSD's restrictive default limit of max 64
> user processes. I raised that on OpenBSD's side and as you can see
> guppie turned green :)

Ok, lets go back to my original point then: initdb should be made to
check that you can actually open as many connections as it's trying to
set max_connections to. If it can't, it should drop max_connections down
(and possibly add a note to postgresql.conf indicating that it did so).
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse buildfarm-members by date

  From Date Subject
Next Message Andrew Dunstan 2006-03-21 14:40:20 Re: [Pgbuildfarm-members] guppie: 64MB RAM too small?
Previous Message Christian Mair 2006-03-21 13:20:09 Re: [Pgbuildfarm-members] guppie: 64MB RAM too small?

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-03-21 14:27:10 Re: [GENERAL] A real currency type
Previous Message Andrew Dunstan 2006-03-21 14:02:48 Re: 8.2 planning features