RE: A patch to fix one sort of mod_perl crash I've been experiencing [& PerlInterpScope directive]
"Kandarian, Richard M" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <275671956B4337459E14A61834A5C03E3B283871@ECS-EXG-P-MB01.win.lanl.gov> |
Now that I've found this and read it: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlInterpScope_ and now that I've strained my brain trying to figure out the crashes I've observed when interpreters are modperl_interp_unselect()ed, I'm pretty sure that PerlInterpScope doesn't work as documented. I think that interp pool cleanups get registered into the correct pool (maybe) but so many (if not all) modperl_interp_select() calls have matching modperl_interp_unselect() calls that the interp pool cleanups are redundant and the subject patch aborts them. So my patch stops the crashes but doesn't result in correct PerlInterpScope behavior. I also suspect that a better fix of this interpreter management might also get the other bug I'm chasing. So I have a question: How important is this PerlInterpScope directive? Richard Kandarian http://www.lanl.gov/cgi-bin/fonelink.pl/085598 My node in the Web: http://www.kandarian.com