randyk 2004/05/30 20:49:40
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm Log: bump up ThreadsPerChild on Win32 to work around bug about running out of threads [ http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=108296767420298&w=2 ]. (fixed in Apache/2.0.50).
Randy, I suppose you want to put XXX there, since don't forget that this is a generic config file and while you solved the problem for modperl-2.0, it might be still a problem for some other project using A-T. Ideally you may want to adopt the patch I posted some time ago which dynamically calculates how many threads are needed.
Also for mod_perl, there is a simpler workaround - just add another <IfModule mpm_winnt> section in one of the config files that get Include'd. The latter config should override the older one I believe.
I don't know how wasteful is to have 25 threads when some other project using A-T needs only 2-3 of those.
Revision Changes Path
1.225 +1 -1 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.224
retrieving revision 1.225
diff -u -r1.224 -r1.225
--- TestConfig.pm 20 May 2004 18:56:32 -0000 1.224
+++ TestConfig.pm 31 May 2004 03:49:40 -0000 1.225
@@ -1893,7 +1893,7 @@
</IfDefine>
<IfModule mpm_winnt.c>
- ThreadsPerChild 20
+ ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
-- __________________________________________________________________ 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