Author |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Thu 19 Jun '14 14:35 Post subject: How to create Dump file for Apache Crash in Windows. |
|
|
Hi,
Please guide me how to create Dump File for Apache Crash in Windows.
We are using Apache for Reverse Proxy with OpenAM Module for Sign-in.
Apache Version : 2.4.9.0
We are very frequently facing Apache Crash Issue.
Also in logs we do not get much information.
when submitted logs to ForgeRock, they asked us to look into below error and provide Crash Dump.
[Sun Jun 15 23:00:10.153908 2014] [mpm_winnt:warn] [pid 2376:tid 424] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sun Jun 15 23:02:21.609557 2014] [proxy_http:error] [pid 2376:tid 6544] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client 10.XXX.XX.XX:XXXX] AH01095: prefetch request body failed to XX.XXX.XX.XX:XXX (teampark.sogeti.com) from XX.XXX.XX.XX (), referer: https://teampark.sogeti.com/blogs/roller-ui/authoring/weblog.do?method=create&weblog=VeckobrevIntegrationSyd&lang=sv_se |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Thu 19 Jun '14 14:52 Post subject: |
|
|
I see in your log: winnt_accept: Asynchronous AcceptEx failed
When you have hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. You can try the following settings:
AcceptFilter http none
AcceptFilter https none
EnableSendfile off
EnableMMAP off
Steffen |
|
Back to top |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Fri 20 Jun '14 12:10 Post subject: |
|
|
Thanks Steffen for the update.
Can you please guide me how to generate crash dump for Apache in Windows environment.
I have updated the httpd.conf with this entry but
CoreDumpDirectory c:/Apache24/logs
But no dumps were created when Apache got crashed.
below is the entry from error.log
[Fri Jun 20 11:22:11.020006 2014] [mpm_winnt:warn] [pid 5900:tid 7776] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Fri Jun 20 11:49:22.520081 2014] [mpm_winnt:warn] [pid 5900:tid 6540] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
The Apache2.4 service is restarting.
The Apache2.4 service has restarted.
Please guide us to generate Crash Dump. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Mon 23 Jun '14 11:17 Post subject: |
|
|
Still not sure how to get crash dumps.
In Windows i need to generate crash dump for Apache |
|
Back to top |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Mon 23 Jun '14 11:19 Post subject: |
|
|
We are using Apache in our PROD environment.
What will be the effect of above changes, also just need to put the above as it is in the httpd.conf file or need to update more. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 23 Jun '14 11:21 Post subject: |
|
|
prmjit wrote: | Still not sure how to get crash dumps.
In Windows i need to generate crash dump for Apache |
As far as I know Apache doesn't do that on Windows (if some one knows better, please correct me).
That is why I gave you the link to the debugging page with Getting a live backtrace on Windows. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3093 Location: Hilversum, NL, EU
|
Posted: Mon 23 Jun '14 11:34 Post subject: |
|
|
prmjit wrote: | What will be the effect of above changes, also just need to put the above as it is in the httpd.conf file or need to update more. |
Effect is:
Solves issues on windows like hangs, slow traffic and/or when having in your log entries like Asynchronous AcceptEx failed. Just put it only in your httpd.conf.
Anything in the Windows event log ?
Btw. I think it is the best to discuss with ForgeRock, how to get a crash dump they want. |
|
Back to top |
|
covener
Joined: 23 Nov 2008 Posts: 59
|
|
Back to top |
|
prmjit
Joined: 19 Jun 2014 Posts: 9 Location: India, Mumbai
|
Posted: Thu 26 Jun '14 9:05 Post subject: |
|
|
Can you please check with ForgeRock about how to get the crash dump for Apache in Windows.
PFA… vendor’s reply…
It contains a link for crash dump on windows application in general:
Please follow this link: http://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx
DumpType should be set to 2. We do need this dump files as there isn't significant information in the other logs.
But still we are not getting the necessary dumps. |
|
Back to top |
|