|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Embperl/Apache::Session and forkingby devnul (Monk) |
| on Jul 21, 2004 at 20:10 UTC ( #376367=perlquestion: print w/ replies, xml ) | Need Help?? |
|
devnul has asked for the
wisdom of the Perl Monks concerning the following question:
Hello,
So I've got this Embperl script (running via cgi, not mod_perl) which needs to fork a process.... The problem is sometimes this forked process core dumps (usually within Storable.pm, which is what we've got Apache::Session to use)... I'd sure like to know why it's core dumping, but I just can't figure it out (it happens very rarely and I can't find anything which reliably reproduces the problem)... It occurs to me that it is desirable to not have the child process trying to write out the session during perl_destroy (which is what the DESTROY method in the Apache::Session object attempts to do)... Any ideas on what I might be able to do here?... The child *does* need access to what is saved in the session object, it should just not try to be saving it, in my opinion.... - Greg
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||