You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eben <eb...@bakedbean.net> on 2007/04/03 21:35:21 UTC

[users@httpd] apache crashing on windows server 2003

Hello,

I am running apache 2.0.57 on windows server 2003.  I have php 4.4.2 
setup as a module and mod_rewrite enabled.  The platform is an HP blade 
server.  This is a dedicated environment which runs only one single web 
application that performs some fairly heavy queries against a mysql 
database, but overall load is very light, with at most 1 or two users 
ever connected at a time.  Several times a day Apache crashes, and 
restarts without warning.  Whenever I login to the server I am greeted 
by a bunch of error events...

I am seeing this error report in the Event Viewer for each time it crashes:
Faulting application Apache.exe, version 0.0.0.0, faulting module 
unknown, version 0.0.0.0, fault address 0x00000000

And in apache's error log at the corresponding times:
[Tue Apr 03 08:19:54 2007] [info] master_main: Child processed exited 
prematurely. Restarting the child process.
[Tue Apr 03 08:19:54 2007] [info] Parent: Created child process 5092
[Tue Apr 03 08:19:54 2007] [info] Parent: Duplicating socket 464 and 
sending it to child process 5092
[Tue Apr 03 08:19:54 2007] [info] BytesRead = 372 WSAProtocolInfo = 2006620

My suspicion is that it has something to do with the web app that is 
running, and specific usage.  My question is, as someone who is more 
used to operating in unix environments, how else can I debug this, what 
other tools or techniques are available for windows that might help me 
to track down what is causing these crashes/restarts?

Any advice is appreciated,
Eben

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache crashing on windows server 2003

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Eben wrote:
> Hello,
> 
> I am running apache 2.0.57 on windows server 2003.  I have php 4.4.2
> setup as a module and mod_rewrite enabled.

I hope not - 2.0.57 was never released.  Went from .56 to .59

> I am seeing this error report in the Event Viewer for each time it crashes:
> Faulting application Apache.exe, version 0.0.0.0, faulting module
> unknown, version 0.0.0.0, fault address 0x00000000
> 
> And in apache's error log at the corresponding times:
> [Tue Apr 03 08:19:54 2007] [info] master_main: Child processed exited
> prematurely. Restarting the child process.
> [Tue Apr 03 08:19:54 2007] [info] Parent: Created child process 5092
> [Tue Apr 03 08:19:54 2007] [info] Parent: Duplicating socket 464 and
> sending it to child process 5092
> [Tue Apr 03 08:19:54 2007] [info] BytesRead = 372 WSAProtocolInfo = 2006620
> 
> My suspicion is that it has something to do with the web app that is
> running, and specific usage.  My question is, as someone who is more
> used to operating in unix environments, how else can I debug this, what
> other tools or techniques are available for windows that might help me
> to track down what is causing these crashes/restarts?

That's the fun question to answer.  Unpack the -symbols.zip of the EXACT
apache server version you are using.

Now, drwtsn32.exe can give you something legible about what crashed where.
There are a few notes here

http://www.apache.org/dist/httpd/binaries/win32/#source
http://httpd.apache.org/dev/debugging.html#backtrace-win

You can ignore the comments about forcing a backtrace - because you are
looking at letting the server simply crash.

Without knowing what the backtrace looks like, it's hard to tell what
module caused the exception (it will always 'say' apache.exe caused
the fault, because that is the program running), and in what context
(which is why the full backtrace is so interesting.)


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org