Skip to content

Commit 7321eed

Browse files
committed
Document max-processes-per-user limit as a possible cause of failures
in the parallel regression tests. Suggest editing parallel_schedule as a workaround if one cannot fix the system limits.
1 parent 05dada0 commit 7321eed

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

doc/src/sgml/regress.sgml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.22 2001/11/28 20:49:10 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/regress.sgml,v 1.23 2001/12/04 01:49:17 tgl Exp $ -->
22

33
<chapter id="regress">
44
<title id="regress-title">Regression Tests</title>
@@ -83,6 +83,21 @@
8383
</para>
8484
</note>
8585

86+
<tip>
87+
<para>
88+
The parallel regression test starts quite a few processes under your
89+
userid. Presently, the maximum concurrency is twenty parallel test
90+
scripts, which means sixty processes --- there's a backend, a psql,
91+
and usually a shell parent process for the psql for each test script.
92+
So if your system enforces a per-user limit on the number of processes,
93+
make sure this limit is at least seventy-five or so, else you may get
94+
random-seeming failures in the parallel test. If you are not in
95+
a position to raise the limit, you can edit the file
96+
<filename>src/test/regress/parallel_schedule</> to split the
97+
larger concurrent test sets into more manageable groups.
98+
</para>
99+
</tip>
100+
86101
<tip>
87102
<para>
88103
On some systems, the default Bourne-compatible shell
@@ -95,6 +110,8 @@
95110
<prompt>$ </prompt><userinput>gmake SHELL=/bin/ksh check</userinput>
96111
</screen>
97112
</informalexample>
113+
If no non-broken shell is available, you can alter the parallel test
114+
schedule as suggested above.
98115
</para>
99116
</tip>
100117

0 commit comments

Comments
 (0)