I set rlimit AS to protect against 'runaway' processes that allocate
too much VM so Perl dies with "Out of Memory".
The __DIE__ handler is called, but it cannot write to STDOUT (which is
connected to the TCP connection to the client) because STDOUT has been
closed.
is there something else I have the handler do so that Apache httpd
sees a 500?
BR
A
On Mar 22, 2010, at 4:21 PM, Eric Covener wrote:
On Mon, Mar 22, 2010 at 12:50 PM, ARTHUR GOLDBERG <a...@cs.nyu.edu>
wrote:
Is there a way to get a mod_perl process that dies with "out of
memory"
trapped by the "ErrorDocument 500" handler?
If it crashes, it's too late. If it's actually perl pre-empting the
crash, then it ought to work. The key is whether you get a 500 or a
crash OOTB, which is unclear.
--
Eric Covener
cove...@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org