Hi all (my turn to ask modperl questions this time),My persistent peeve with the Win32 Apache2.2 modperl is that it sometimes throws out this odd error:
[Mon Mar 05 21:19:47 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.
It's not very nice to have clients see an intermittent error when running the modperl app, so I'm trying a trick to see if this error can be minimised: by making modperl reload itself after x requests. This I accomplish by setting a small number (for testing) to MaxRequestsPerChild to see how modperl recovers from a reload.
Unfortunately at least on Win32, it does not. I get this error when apache:[Thu May 24 19:55:02 2007] [notice] Child 2404: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process. [Thu May 24 19:55:02 2007] [notice] Parent: Received restart signal -- Restarting the server. [Thu May 24 19:55:02 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Thu May 24 19:55:02 2007] [notice] Server built: Jan 9 2007 23:17:20[Thu May 24 19:55:02 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process. [Thu May 24 19:55:02 2007] [crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting. [Thu May 24 19:55:02 2007] [notice] Parent: Forcing termination of child process 36 [Thu May 24 19:55:02 2007] [warn] (OS 995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
[Thu May 24 19:55:03 2007] [notice] Child 2404: Released the start mutex[Thu May 24 19:55:03 2007] [notice] Child 2404: Waiting for 1 worker threads to exit. [Thu May 24 19:55:05 2007] [notice] Child 2404: All worker threads have exited.
[Thu May 24 19:55:05 2007] [notice] Child 2404: Child process is exitingDoes anyone have any ideas if this can be resolved? Or is it a 'windows thing'?
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.