Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: mod_perl go boom, mod_cgi works

by hacker (Priest)
on Mar 07, 2005 at 11:53 UTC ( [id://437183]=note: print w/replies, xml ) Need Help??


in reply to Re: mod_perl go boom, mod_cgi works
in thread mod_perl go boom, mod_cgi works

Does this remove expat support? Or just rely on the external expat system library/headers instead?

Replies are listed 'Best First'.
Re^2: mod_perl go boom, mod_cgi works
by jk2addict (Chaplain) on Mar 07, 2005 at 14:49 UTC

    To be honest, I have no idea. Here's the mention on AxKit:

    There are currently some incompatibilities between the versions of expat loaded by Apache when compiled with RULE_EXPAT=yes (which is a default, unfortunately), and XML::Parser's copy of expat. This can cause sporadic segmentation faults in Apache's httpd processes. The solution is to recompile Apache with RULE_EXPAT=no (later Apache's have implemented this as --disable-rule=expat). If you have a recent mod_perl and use mod_perl's Makefile.PL DO_HTTPD=1 to compile Apache for you, this option will be enabled automatically for you.

      I've tried this on two test boxes, and the segfaults are still happening. They don't happen when I set MaxRequestsPerClient to 2... I haven't tried higher. This value was previously set to 500.

      One odd anomaly, and possibly a clue, is that sometimes when I click on one link, it will give me the content for a previously-clicked link, or tell me that one of the links I clicked previously does not exist. Its very peculiar.

      For example, I click on 'foo', then 'bar', then 'blort', and then when I click on 'quux', it will either show me the content that clicking 'foo' would have shown, or it will report that 'foo' does not exist.

      I think I have globals staying around, but I can't see where this can be happening, unless its deep inside the CGI.pm module, where I'm parsing param() for the form variables passed in.

        It does sound like a globals thing, but if you don't show us code, we can't look for them. Sorry.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://437183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-26 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found