Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> any way to limit the number of iterations of a loop?

any way to limit the number of iterations of a loop?

From: jeff grant <nettmaster_at_my-dejanews.com>
Date: Thu, 25 Feb 1999 02:04:57 GMT
Message-ID: <7b2b46$o3g$1@nnrp1.dejanews.com>


Hi there-

I was just wondering if anyone knows of a parameter (or something similar) for 8.0.5 that allows you to set a maximum number of iterations on a loop, regardless of the logic in the loop.

Basically, I have a developer that created a 5 line loop that had faulty logic (basically, while(true) loop;) and ran for about 6 hours before it could be shut down, sucking about 80% of the CPU in the process.

Anyone have a way of dealing with something like this?



jeff grant, it manager, nettwerk productions vancouver, bc, canada
http://www.nettwerk.com http://www.nettweb.com

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Wed Feb 24 1999 - 20:04:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US