logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in  RSS Apache Lounge  


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.


Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2/Mod_Perl/cgi memory access issues - cpu maxing
Author
patrickmcshea



Joined: 15 Sep 2009
Posts: 1
Location: Austin

PostPosted: Tue 15 Sep '09 2:44    Post subject: Apache 2.2/Mod_Perl/cgi memory access issues - cpu maxing Reply with quote

Platform/SW
Vista SP2
Active Perl 5.10
Apache 2.2
mod_perl
2 GB memory
Oracle XE

I've installed/configured Bugzilla using OracleXE as the supporting db and Apache 2.2 on Win2000, Win2003, WinXP and now I'm running into something I haven't run into before on Vista/Sp2.

It's an intermittent issue which produces an application error in the event log:
Log Name: Application
Source: Application Error
Date: 9/14/2009 3:59:24 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: host.blah.blah.org
Description:
Faulting application perl.exe, version 5.10.0.1005, time stamp 0x4a199d7b, faulting module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03821, exception code 0xc0000005, fault offset 0x000673d7, process id 0xcc0, application start time 0x01ca357e3cfc9b81.
Event Xml:
1000
2
100
0x80000000000000
10290
Application
host.blah.blah.org
perl.exe
5.10.0.1005
4a199d7b
ntdll.dll
6.0.6002.18005
49e03821
c0000005
000673d7
cc0
01ca357e3cfc9b81

My trace from apache is as follows:
The access log:
111.111.1.111 - - [14/Sep/2009:15:59:23 -0500] "GET / HTTP/1.1" 500 400

The error log:
[Mon Sep 14 15:59:24 2009] [error] [client 111.111.1.111] Premature end of script headers: index.cgi, referer: http://host.blah.blah.org/

The oracle listener trace:
sntn2err: error: handle=424, op=6, nt[0]=524, nt[1]=997 indicates that the client is termintaing the connection, (not oracle).

So it looks like I'm getting a Page Fault
(Exception Code: 0xc0000005) when accessing ntdll.dll (the main routing through which just about everything goes)

Elsewhere I found something to the effect that the heap memory is fragmented/corrupted and/or that the business of compilation is such with the perl cgi scripts being accessed through mod_perl is such that only 1 at a time can be on the heap.

I did write an shtml to do a reload, however perl will sometimes then just suck up all the cpu until it dies 5 minutes later.

The problem happens when the site is stressed (LIKE MULTIPLE RELOADS F5).

Any ideas? (other than why are you using Vista?)
Back to top


Reply to topic   Topic: Apache 2.2/Mod_Perl/cgi memory access issues - cpu maxing View previous topic :: View next topic
Post new topic   Forum Index -> Other Software