From: Chris N. <pu...@po...> - 2002-12-04 20:41:43
|
I am not convinced the two problems are the same. One is something hanging (probably in the called program, article.pl), the other is apparently something going wrong in the caller (slashd) that causes memory problems. If article.pl were the problem, slashd would not die from malloc problems. If freshenup.pl is hanging, not article.pl, well, that's another story. Anyway, one thing I might try if I felt up to it is recompiling my perl with perl's malloc, to see if that helps. Sometimes system mallocs don't work well with perl. But this requires some research (looking into other people's notes on your system's malloc with perl), and some work (recompiling perl and mod_perl). I'd also try adding print statements all the way through the code to see exactly where it is hanging. A previous poster said it was "print $out unless $opt->{Return}" ... that would be an odd place to hang, unless STDOUT were blocking or something weird. Barring that, I am not sure what the problem is. All I know is I don't see the problem on our systems. :-) -- Chris Nandor pu...@po... http://pudge.net/ Open Source Development Network pu...@os... http://osdn.com/ |