Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Perl killed after child spawn
March 23, 2009, 12:34 pm
rate this thread
I'm using Perl to run some tests over night. The tests are written in C
++ and they spawn their own child processes.
I'm finding that if my C++ child process bombs out with signal ABRT
(this is on Solaris btw, with Perl v5.8.4), then Perl dies. The script
run just says "Killed" and that's all I get out of it.
I tried running through the Perl debugger, but that just gets killed
too. Is there some way to make the script more resiliant to this sort
of thing? Or is it maybe a Perl bug in this version?
Any help would be great, I'm only vaguely familiar with Perl.
Re: Perl killed after child spawn
That is a symptom of the "Linux OOM killer", but I thought
Solaris didn't use memory overcommitt...
I'd look into the possibility of running out of memory anyway.
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"