Web Servers on Windows - apache keeps crashing

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > September 2005 > apache keeps crashing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apache keeps crashing
Julian

2005-09-19, 8:48 pm

hi,

I have apache 2.0.52 on win xp pro. and at a couple of times a day, the
server crashes... well, I guess it doesn't really crash all together. I get
the typical windows message that an error occurred with this program and
whether I should send an error report or not. I choose not to and the server
continues running. sometimes it crashes twice in a row.

this is the corresponding part of the error log.
I think this is what the problem is : Parent: child process exited with
status 3221225477 -- Restarting.
does anyone know what this is about ?

appreciate any help..
thanks
julian.

[Mon Sep 19 17:41:42 2005] [error] [client 207.46.98.149] File does not
exist: G:/Apache Group/Apache2/htdocs/robots.txt
[Mon Sep 19 17:41:42 2005] [error] [client 207.46.98.149] File does not
exist: G:/Apache Group/Apache2/@exp_errordir@
[Mon Sep 19 17:41:59 2005] [notice] Parent: child process exited with status
3221225477 -- Restarting.
[Mon Sep 19 17:41:59 2005] [notice] Parent: Created child process 4284
[Mon Sep 19 17:41:59 2005] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Sep 19 17:42:00 2005] [notice] Child 4284: Child process is running
[Mon Sep 19 17:42:00 2005] [notice] Child 4284: Acquired the start mutex.
[Mon Sep 19 17:42:00 2005] [notice] Child 4284: Starting 250 worker threads.
[Mon Sep 19 17:42:00 2005] [notice] Child 4284: Listening on port 80.
[Mon Sep 19 17:42:08 2005] [notice] Parent: child process exited with status
3221225477 -- Restarting.
[Mon Sep 19 17:42:08 2005] [notice] Parent: Created child process 1056
[Mon Sep 19 17:42:08 2005] [notice] Disabled use of AcceptEx() WinSock2 API
[Mon Sep 19 17:42:09 2005] [notice] Child 1056: Child process is running
[Mon Sep 19 17:42:09 2005] [notice] Child 1056: Acquired the start mutex.
[Mon Sep 19 17:42:09 2005] [notice] Child 1056: Starting 250 worker threads.
[Mon Sep 19 17:42:09 2005] [notice] Child 1056: Listening on port 80.


Phil Frisbie, Jr.

2005-09-20, 5:59 pm

Julian wrote:

> hi,
>
> I have apache 2.0.52 on win xp pro. and at a couple of times a day, the
> server crashes... well, I guess it doesn't really crash all together. I get
> the typical windows message that an error occurred with this program and
> whether I should send an error report or not. I choose not to and the server
> continues running. sometimes it crashes twice in a row.


Are you using CGI? It could be a problem with that.

Do other programs regularly crash? I know this is Windows ;), but it could be
bad memory or a corrupted system DLL.

--
Phil Frisbie, Jr.
Hawk Software
http://www.hawksoft.com
Julian

2005-09-20, 5:59 pm


"Phil Frisbie, Jr." <phil@hawksoft.com> wrote in message
news:TGWXe.9$u8.87@typhoon.sonic.net...
> Julian wrote:
>
>
> Are you using CGI? It could be a problem with that.
>
> Do other programs regularly crash? I know this is Windows ;), but it could
> be bad memory or a corrupted system DLL.
>

I have ActivePerl 5.8 installed. so, how do I know what exactly the problem
is ? cos it looks like none of the scripts were accessed at the time the
server crashed.
I was hoping someone could tell me what the exit status code 3221225477
meant?
"Parent: child process exited with status 3221225477 -- Restarting."

and no, other programs do not regularly crash... its just the webserver.
though I do have another problem.. but it looks like it is unrelated.
whenever I open windows explorer and click on the icon for D: on the left
pane, explorer hangs. but if I view 'my computer' on the left pane and
double click on the d: on the right pane, it works fine and it opens up the
d: and shows its contents. the reason I think this problem is unrelated is
cos the webserver is entirely on G: (on a separate physical drive, not just
another partition) but if someone knows the solution to this problem as
well, I'd appreciate it.

Julian.


Nil

2005-09-21, 2:49 am

On 20 Sep 2005, "Julian" <julvar@nospamtamu.edu> wrote in
news:dgplg9$2un$1@news.tamu.edu:

> I have ActivePerl 5.8 installed. so, how do I know what exactly
> the problem is ? cos it looks like none of the scripts were
> accessed at the time the server crashed.


If you have the ability to use PERL CGI scripts turned on, turn it off.
If the server starts and stays up without errors, then that's where
your problem lies.
Julian

2005-09-21, 5:52 pm


"Nil" <rednoise@REMOVETHIScomcast.net> wrote in message
news:Xns96D81C1C8911nilch1@216.196.97.136...
> On 20 Sep 2005, "Julian" <julvar@nospamtamu.edu> wrote in
> news:dgplg9$2un$1@news.tamu.edu:
>
>
> If you have the ability to use PERL CGI scripts turned on, turn it off.
> If the server starts and stays up without errors, then that's where
> your problem lies.


is this how I turn it off (sorry, I have minimal knowledge about all this)?
comment the following line in httpd.conf :
ScriptAlias /cgi-bin/ "G:/Apache Group/Apache2/cgi-bin/"

the problem is this 'crashing' seems to be random and some days are worse
than others whereas for some periods I will have no problem at all. for
example, since I made the first post on this newsgroup, I have not had any
crashes. so, even if I turned off the scripts, I would not really be able to
tell if it was the scripts...
one thing I can confirm is that whenever it crashes it gives the same exit
code - 3221225477

is there a list somewhere that can tell me what this exit code means ?


Thor Kottelin

2005-09-21, 5:52 pm



Julian wrote:
>
> "Nil" <rednoise@REMOVETHIScomcast.net> wrote in message
> news:Xns96D81C1C8911nilch1@216.196.97.136...


[vbcol=seagreen]
> is this how I turn it off (sorry, I have minimal knowledge about all this)?
> comment the following line in httpd.conf :
> ScriptAlias /cgi-bin/ "G:/Apache Group/Apache2/cgi-bin/"


However you go about it, check to make sure you won't be serving sensitive
source code to web clients.

Thor

--
http://www.anta.net/OH2GDF
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com