Re: 8.2.3: Server crashes on Windows using Eclipse/Junit

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Laurent Duperval <lduperval(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Date: 2007-10-17 07:22:11
Message-ID: 20071017072211.GA5349@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Oct 17, 2007 at 02:40:14AM -0400, Tom Lane wrote:
> "Magnus Hagander" <magnus(at)hagander(dot)net> writes:
> >> - Max_connections is set to 500.
>
> > There's your problem. 500 is way above what the windows version can
> > handle. IIRC the hard max is somewhere around 200 depending on some OS
> > factors that we don't entirely know.
>
> Maybe we should put an #ifdef WIN32 into guc.c to limit max_connections
> to something we know the platform can stand? It'd be more comfortable
> if we understood exactly where the limit was, but I think I'd rather
> have an "I'm sorry Dave, I can't do that" than random-seeming crashes.

Yeayh, that's probably a good idea - except we never managed to figure out
where the limit is. It appears to vary pretty wildly between different
machines, for reasons we don't really know why (total RAM has some effect
on it, but that's not the only one, for example)

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Russell Aspinwall 2007-10-17 07:34:02 newbie question
Previous Message Marek Lewczuk 2007-10-17 07:14:19 Re: 8.3 beta problems

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2007-10-17 08:52:41 Re: [COMMITTERS] pgsql: Re-allow UTF8 encodings on win32.
Previous Message Pavel Stehule 2007-10-17 07:10:44 tsearch2api project