You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by list <li...@concrete-it.com> on 2003/01/27 20:49:29 UTC

detection infinite loops and/or recoursive code

hello!

i'm looking for a detection of 'hanging' or 'unable to finish' requests. 
e.g.: while(true) loops in a jsp. no one would program something like 
this but on a server with multiple applications it happens sometime that 
under some circumstances a infinite loop or a recoursive loop is 
created. the cpu utilization is then near 100% and the only solution is 
to restart the server ....

is it possible to set something like:
- maximum execution time for a request
- maximum memory consumtion for a request (in case of recoursion the 
memory consumtion can be extreme high)

or to 'identify' these uggly peace of  code?

many thanx in advance,
joe


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>