At 01:06 AM 2/20/2003, Stas Bekman wrote: >Randy Kobes wrote: >>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 >>>> >>>><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. > >Bill, as the main developer of winnt mpm, probably knows the best.
Well, that would probably be Stoddard, at least as far as blame of design... I'm mostly mopping up till I get a chance to start it from scratch all over again ;-) >Bill, is there a relation between a number of vhosts and a number of spawned threads >for the startup times? Is it a correct observation from Randy, that you need to start >at least N threads, where N is the number of vhosts? No. But it probably indicates a problem in the MPM - we should not be timing out if things start up in any reasonable amount of time. Even if you are throwing many requests at the server. I'll play with trying to knock over the server with 10 threads or so. >Does the same apply for the worker mpm? Only the per-child MPM has any thread/proc relationship between the number of VHosts and workers (as perchild has one process per vhost, at least those vhosts with alternate uid/gid assignments.) There might be a listeners/workers relationship, however. Look there for probable suspects. Bill --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
