PerlRequire executed 4 times on apache startup

2007-08-28 Thread Tobias Zeising
Hi all, I have a weird problem: on startup apache executes 4 times a Perl Script I included via PerlPostConfigRequire startup.pl in the httpd.conf. The startup script contains following code: #!/usr/bin/perl my $file = 'c:\tmp\test.txt'; open(INFO ,$file) || die Error $!; print INFO

Re: PerlRequire executed 4 times on apache startup

2007-08-28 Thread William A. Rowe, Jr.
Tobias Zeising wrote: Hi all, I have a weird problem: on startup apache executes 4 times a Perl Script I included via PerlPostConfigRequire startup.pl Yes, as Foo observed, this will happen 2x on Unix, 4x on Windows due to the MPM. Notice that 1x and 2x (and 5x and 8x and 11x upon

Re: PerlRequire executed 4 times on apache startup

2007-08-28 Thread Foo JH
I've had this same experience on Win32 Apache 2 as well. It could be related to the MPM model that the Win32 implementation employs. Tobias Zeising wrote: Hi all, I have a weird problem: on startup apache executes 4 times a Perl Script I included via PerlPostConfigRequire startup.pl in the