Re: Win32 max connections bug (causing crashes)

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "William ZHANG" <uniware(at)zedware(dot)org>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Win32 max connections bug (causing crashes)
Date: 2006-08-23 17:33:51
Message-ID: b42b73150608231033i1a4e0cd0hb0ec8b881fd69a68@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/18/06, Magnus Hagander <mha(at)sollentuna(dot)net> wrote:
> > i doubled all my heap settings and was able to roughly double the -
> > c
> > on pgbench from ~158 (stock) to ~330 (modified). so this is
> > definately the problem.
>
> If you try decreasing max_files_per_process to a significantly lower
> value (say, try 100 instead of 1000), does the number of processes you
> can run change noticeably?
>
> (I don't have a box around ATM that I can try to reproduce on. Will try
> to set up a VM for it soon.)

per Magnus's request, I set my machine to 25 max_files (the minimum)
and saw no appreciable gain in the number of connections requred to
make it crash (I tested at 400). The first time I ran it I almost
hosed my machine...it was doing all kinds of irrational beeping and
all the windows were flickering and blinking. It did not do this
following the max_file reduction, although I have no desire to run
this test again on my development box ;)

merlin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2006-08-23 17:35:29 Re: [PATCHES] COPY view
Previous Message Zoltan Boszormenyi 2006-08-23 17:28:37 Re: [PATCHES] COPY view