[rt-users] Segmentation faults - any hints?
Vivek Khera
khera at kcilink.com
Tue Sep 25 13:00:41 EDT 2001
>>>>> "SL" == Stephan Lauffer <lauffer at ph-freiburg.de> writes:
SL> I turned it off and had no segfault the last minutes... what
SL> about this feature PerlFreshRestart - is it save not to use it?
SL> I dont't know enough about hacking perl with apache... :-/
PerlFreshRestart operates differently depending on how you build
mod_perl. If it is statically compiled into apache, what it does is
try to unload all the modules it has loaded, then re-run your perl
startup script. If it is dynamically loaded, it does that as well as
totally unloading the mod_perl.so and reloading it.
Under perl 5.6.1 the DSO version should be safe. For perl 5.005_03,
I'm experiencing massive memory leakage (about 8Mb per process,
depending on what's loaded into perl.)
I think ultimately it depends on your perl version, and whether
mod_perl is DSO, and what your OS and OS version are.
If you experience seg faults on a freshly started up perl, then that
is not your problem. It should only affect you after you send a
SIGHUP or SIGUSR1 to apache.
More information about the rt-users
mailing list