On Thu, 20 Feb 2003, Stas Bekman wrote:

> Randy Kobes wrote:
> > In running the tests on Win32, lately I've been getting
> > a timeout in starting the server when doing 'nmake test'.
> > Changing ThreadsPerChild as in
> > 
> > =========================================================
> > Index: Apache-Test/lib/Apache/TestConfig.pm
> > ===================================================================
> > RCS file: 
>/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
> > retrieving revision 1.145
> > diff -u -r1.145 TestConfig.pm
> > --- Apache-Test/lib/Apache/TestConfig.pm    27 Jan 2003 09:09:54 -0000      1.145
> > +++ Apache-Test/lib/Apache/TestConfig.pm    20 Feb 2003 05:23:05 -0000
> > @@ -1582,7 +1582,7 @@
> >  </IfModule>
> >  
> >  <IfModule mpm_winnt.c>
> > -    ThreadsPerChild      10
> > +    ThreadsPerChild      25
> >      MaxRequestsPerChild  0
> >  </IfModule>
> > ========================================================== 
> > helps in this regard. 
> 
> May I ask, why would this make any difference? I'm asking
> because I experience the same delays with threaded mpm on
> linux. Usually it takes about 30-60 secs to start (compared to
> just a few secs for prefork) and many times it'll bypass the 60
> secs timeout and abort.

I was guessing it was due to the tests starting up with listening
on 8529-8542 (on my system), for 14 in all. If I have
ThreadsPerChild = 13, I get a timeout usually, although
occasionally it (apparently) starts, but then hangs. With
ThreadsPerChild = 14, this happens only rarely. Also, though, if
I start a single, or a selected group of tests, these problems
don't occur as often.

It may be just a quirk of my system; maybe it's better to
leave it and see if anyone else has similar problems.

-- 
best regards,
randy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to