Edouard Lagache wrote:
Dear mod_perl community,

Randy Kobes <[EMAIL PROTECTED]> wrote at Wed, 3 Mar
2004 19:54:47 -0600
... snip ...

waiting 120 seconds for server to start: giving up after 121 secs
!!! server failed to start!

... snip ...


Does it help if you set the APACHE_TEST_STARTUP_TIMEOUT
environment variable to, say, 200?


Alas no, it does not, as shown below:

Try:


t/TEST -startup_timeout=600

In addition, version 1.99_12 of mod_perl ignores the value of the
environment APACHE_TEST_STARTUP_TIMEOUT because the test script now
assign's a value to the configuration variable 'startup_timeout', and
that will always override APACHE_TEST_STARTUP_TIMEOUT because as line 526
of Apache-Test/lib/Apache/TestServer.pm reads:

    my $timeout = $vars->{startup_timeout} ||
                  $ENV{APACHE_TEST_STARTUP_TIMEOUT} ||
                  60;

The value of the configuration setting 'startup_timeout' is automatically
generated at line 21 of lib/ModPerl/TestRun.pm.  So the only way right
now to change the value of the $timeout variable above is to edit lib/
ModPerl/TestRun.pm (or eqv.)

Thanks for pointing that out. That will be fixed in 1.99_13.


Thanks to everyone who contributes to the mod_perl project!

Thanks for the thanks ;)


__________________________________________________________________
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