Author |
|
TaultUnleashed
Joined: 09 Dec 2010 Posts: 5
|
Posted: Thu 09 Dec '10 8:29 Post subject: Faulting Module libaprutil-1.dll |
|
|
I have been trying to get rid of my apache crashes for a month now, and am finally at a brick wall.
I had the VC9 version of apache (downloaded from this site) 2.2.17 with the VC9 TS 5.3.3 installed. And I was getting apache crashes in the event log about every 30 seconds. Apache would run, and it would auto restart, but during the restart, it would kill all connections, and not serve pages for about 10 seconds. The error in the windows server 2003 event viewer was mcvcrt90.dll.
So, I uninstalled, and put up the VC6 version. Downloaded from the apache.org site, and the 5.3.3 VC6 TS versions of php.
Now, I get crashes much less frequent, about every 5 mintues. And the error is now: Faulting application httpd.exe, version 2.2.17.0, faulting module libaprutil-1.dll, version 1.3.10.0, fault address 0x0000138d.
The only difference was the compiled versions, nothing else has changed.
Our server is semi active with about 15k people on it a day.
Please help. |
|
Back to top |
|
TaultUnleashed
Joined: 09 Dec 2010 Posts: 5
|
Posted: Wed 15 Dec '10 2:31 Post subject: |
|
|
Bump anybody? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 15 Dec '10 8:06 Post subject: |
|
|
Well, php 5.3.4 just came out. Try it.
Beyond that, you might need to go the fcgid route to isolate php from Apache.
If without php loaded the thing does not crash, one knows where the culpret lies. Of course, if everything is dependent on php, not easy to properly test. |
|
Back to top |
|
TaultUnleashed
Joined: 09 Dec 2010 Posts: 5
|
Posted: Wed 15 Dec '10 23:03 Post subject: |
|
|
If it helps, the crash in the libaprutil-1.dll is the function:
_apr_brigade_flatten
it crashes on the .text:6EE6138D rep movsd
I have no clue what that function is.
Is there anyway to isolate that bug? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 16 Dec '10 5:53 Post subject: |
|
|
No, I'm not that advanced to know what that means. I just know sometimes other problem will show up in libapr*
But ok, let's try from this angle, what is the last request before it goes down. It is always the same file requested that brings it down? |
|
Back to top |
|
TaultUnleashed
Joined: 09 Dec 2010 Posts: 5
|
Posted: Thu 23 Dec '10 1:20 Post subject: |
|
|
It *seems* that the last pages are all 301 redirects from our old phpbb2 to the new phpbb3.
Ie,
Client calls phpbb2/page
Server returns 301...(url to new page at /phpbb3/page)
CRASH - error in event viewer
Client calls redirected phpbb3/page
The past 10 crashes I just looked at were all just after the server returned a 301 status code. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 23 Dec '10 2:43 Post subject: |
|
|
You might build a test crash php file with less lines as possible to reproduce the crash. Or is it a server config the redirect? |
|
Back to top |
|
TaultUnleashed
Joined: 09 Dec 2010 Posts: 5
|
Posted: Sat 25 Dec '10 5:17 Post subject: |
|
|
It is a htaccess redirect. |
|
Back to top |
|