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!
>
>>Interestingly, the number of threads required seems to be quite specific.  If I have 
>>20 specified instead of the 21 that it needs then I get this in the error_log:
>>    Server ran out of threads to serve requests. Consider raising the 
>> ThreadsPerChild setting
>>If I specify 19 threads then I get that error 2 times; if I specify 18 threads then 
>>I get it 3 times; ...if I specify 21-X threads then I get it X times.
>>Without the vhost tests, if I specify 20-X threads then I get the error X times.
>>Is this expected behaviour?
>
>__________________________________________________________________
>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