Re: Cygwin PostgreSQL Regression Test Problems (Revisited) - Mailing list pgsql-ports

From Tom Lane
Subject Re: Cygwin PostgreSQL Regression Test Problems (Revisited)
Date
Msg-id 19071.985805853@sss.pgh.pa.us
Whole thread Raw
In response to Cygwin PostgreSQL Regression Test Problems (Revisited)  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: Cygwin PostgreSQL Regression Test Problems (Revisited)
List pgsql-ports
Jason Tishler <Jason.Tishler@dothill.com> writes:
> I previously reported the above problem with the parallel version of
> the regression test (i.e., make check) on a machine with limited memory.
> Unfortunately, I am seeing similar problems on a machine with 192 MB of
> physical memory and about 208 MB of swap space.  So, now I feel that my
> initial conclusion that limited memory was the root cause is erroneous.

Not necessarily.  18 parallel tests imply 54 concurrent processes
(a shell, a psql, and a backend per test).  Depending on whether Windoze
is any good about sharing sharable pages across processes, it's not hard
at all to believe that each process might chew up a few meg of memory
and/or swap.  You don't have a whole lot of headroom there if so.

Try modifying the parallel_schedule file to break the largest set of
concurrent tests down into two sets of nine tests.

Considering that we've seen people run into maxuprc limits on some Unix
versions, I wonder whether we ought to just do that across-the-board.

> What is the best way to "catch" this problem?  What are the best set of
> options to pass to postmaster that will be in turn passed to the back-end
> postgres processes to hopefully shed some light on this situation?

I'd use -d1 which should be enough to see backends starting and exiting.
Any more will clutter the log with individual queries, which probably
would be more detail than you really want...

            regards, tom lane

pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Cygwin PostgreSQL Regression Test Problems (Revisited)
Next
From: Peter Eisentraut
Date:
Subject: Re: pgmonitor and Solaris