Hello all,
I am trying my luck again on this issue, which I
never quite understood/ resolved.
Whenever Apache starts/ restarts, it actually does
this twice (the second time to see if it can restart properly).
In my httpd.conf:
PerlModule startup
in startup.pm:
package startup;
use strict;
use warnings;
BEGIN
{
open OUTFILE,'>debug.log';
print OUTFILE
Apache2::ServerUtil::restart_count()."\n";
close OUTFILE;
}
1;
The log file shows this when Apache
starts:
1
2
1
2
And the log file shows this when Apache
restarts:
3
1
2
I don't understand why I get 2 '1's and 2 '2's when
Apache starts. According to the documentation, I should expect only 1 '1' and 1
'2'. Similarly for restarts, the order looks wrong (the doc says to expect '1'
'3' instead of '3' '1' and no '2').
Hope someone can enlighten me on this subject.
Thanks.
|
- restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 Tom Schindl
- Re: restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 Tom Schindl
- Re: restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 William A. Rowe, Jr.
- Re: restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 Randy Kobes
- Re: restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 Foo Ji-Haw
- Re: restart_count() on Win32 William A. Rowe, Jr.