On Sun, 12 Aug 2007, Foo JH wrote:
William, the point I was trying to make is:1. My restart test scope merely loads modperl + libapreq. There is ZERO application code loaded. In other words, all I did after installing modperl + libapreq is to ONLY load them into httpd.conf:LoadFile c:/Perl/bin/perl58.dll LoadModule perl_module modules/mod_perl.so LoadFile bin/libapreq2.dll LoadModule apreq_module modules/mod_apreq2.soNoticed there is no other code loaded. No database used. Super duper minimal test model.
I can confirm the above happens, and without libapreq2. My platform is Apache/2.2.4 (Win32) mod_perl/2.0.4-dev Perl/v5.8.8 Win XP Just loading mod_perl through LoadModule perl_module modules/mod_perl.so without any other perl modules loading results, upon a restart,[Mon Aug 13 06:26:27 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.4-dev Perl/v5.8.8 configured -- resuming normal operations [Mon Aug 13 06:26:27 2007] [notice] Server built: Jan 9 2007 23:17:20 [Mon Aug 13 06:26:27 2007] [notice] Parent: Created child process 1888 [Mon Aug 13 06:26:27 2007] [notice] Child 1888: Child process is running [Mon Aug 13 06:26:27 2007] [notice] Child 1888: Acquired the start mutex. [Mon Aug 13 06:26:27 2007] [notice] Child 1888: Starting 250 worker threads. [Mon Aug 13 06:26:27 2007] [notice] Child 1888: Starting thread to listen on port 80. [Mon Aug 13 06:26:42 2007] [notice] Parent: Received restart signal -- Restarting the server. [Mon Aug 13 06:26:42 2007] [notice] Child 1888: Exit event signaled. Child process is ending. [Mon Aug 13 06:26:42 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.4-dev Perl/v5.8.8 configured -- resuming normal operations [Mon Aug 13 06:26:42 2007] [notice] Server built: Jan 9 2007 23:17:20 [Mon Aug 13 06:26:42 2007] [crit] (70008)Partial results are valid but processing is incomplete: Parent: Failed to create the child process. [Mon Aug 13 06:26:42 2007] [crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting. [Mon Aug 13 06:26:43 2007] [notice] Child 1888: Released the start mutex [Mon Aug 13 06:26:44 2007] [notice] Child 1888: Waiting for 250 worker threads to exit. [Mon Aug 13 06:26:44 2007] [notice] Child 1888: All worker threads have exited. [Mon Aug 13 06:26:44 2007] [notice] Child 1888: Child process is exiting [Mon Aug 13 06:27:12 2007] [notice] Parent: Forcing termination of child process 36
A stop/start works fine, as does a restart without loading mod_perl. As Foo noted in a later message, the win32 binaries from http://www.apachelounge.com/download/ don't seem to suffer this problem. However, this is built with VC++ 2005 (VC 8), and as such, there may be problems running it with ActivePerl and/or perl modules compiled for ActivePerl (eg, installed through ppm), which use VC++ 6 to build. -- best regards, Randy Kobes
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.