In order PERL_EMERGENCY_SBRK to have effect you should use Perl's malloc, which doesn't look like a good idea to me. Also, it will affect only Perl code. If apache code exceed limit, deathHandler will not be invoked. Also, if limit will be exceeded during automatic stack expansion, your process will be killed with SIGSEGV and again deathHandler will not be invoked. So I don't think this is a good solution.
In reply to Re: Monitoring the death of oversized Perl processes
by zwon
in thread Monitoring the death of oversized Perl processes
by arthurg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |