http://qs321.pair.com?node_id=1043355


in reply to Re^2: perl cgi shared hosting memory limit problem
in thread perl cgi shared hosting memory limit problem

Try logging the script parameters at the start of the script and a 'goodbye' message at the very end.

For runs that get killed you should have the first message logged but not the last; so that'll perhaps give you an insight as to what parameters are involved when you get killed.

Of course, if this is a mod_perl or fcgi type persistent environment, it may be the accumulation of many runs that causes death; in which case you would need to monitor and log the size(s) of any globals you use.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: perl cgi shared hosting memory limit problem