Bill Stoddard wrote:
William A. Rowe, Jr. wrote:

How interesting! thanks for the discovery... FirstBill actually created the
connection threadpool for mpm_winnt, iirc, so i'll punt to him or tackle
next week. At 11:50 AM 3/9/2004, Stas Bekman wrote:


Steve Hay wrote:

Steve Hay wrote:


I'll try chopping some of the new (post _12) tests out to see if I can get it working again.


If I remove:
t/htdocs/vhost/startup.pl
t/response/TestVhost/config.pm
t/vhost/config.t
then run "t/TEST -conf" and then try "nmake test" again, then it's all OK with 20 threads.


Would it make any difference if you remove some other vhost, and not this specific one? e.g. one of the perlloadmodule\d.pm vhosts?


Increasing ThreadsPerChild to 50 was overkill, though -- it actually works fine (with the vhost tests back in) with just 21 threads. Looks like the new vhost tests need 1 extra thread.


Perfect, Steve. We have 20 vhosts and 1 main server => 21. So I suppose we need to change A-T to figure out how many vhosts it's going to run and configure that number of threads plus a few more (let's say 5-10 more).

Bill, can you please explain why each vhost requires a thread with winnt mpm?
Is this documented somewhere? Thanks!


Each vhost does not require a thread. Each Listen directive requires a thread to accept connections off the network. We have a bug in the mpm that causes the "Consider raising the ThreadsPerChild" messaage to be issued in odd conditions as you observe. I;ll work on a fix for that problem.

But what Steve and Randy report is that the server hangs if you have 21 vhosts (and 21 Listen directives) but less threads, regardless the message.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to