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.
| [reply] |
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.
| [reply] |
It does sound like a globals thing, but if you don't show us code, we can't look for them. Sorry.
| [reply] |