We didn't shut the service down right away because what it was doing was
mild and our live system had people logged in and was running counts and
orders.

  We has access to the code. We tried forcing the template to error out, but
the system had cached it and was ignoring all the updates we were making.

  We checked for scheduling. We're just looking for a way to deal with
situations like this from a remote location. We've been considering the
custom tag that allows control of services.

  I was hoping there was another way other than shutting down the service.

Lon Lentz
Applications Developer - GetLists.Com
DataWarehousing and List Sales - Market your lists on the Net!
[EMAIL PROTECTED]
941-541-9000 Ext. 210


-----Original Message-----
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 7:47 PM
To: [EMAIL PROTECTED]
Subject: Re: How to stop an infinite CF loop?

I can't believe you didn't immediately shut down the CF server if you
suspected there was a template running amok.

I'm aware of only two things that would cause a working template to
terminate prematurely.  The first is if the request timeout is met.  You
have a default template timeout set for the CF server in the
Administrator, but if the template were called with
?RequestTimeout=xxxxxx, it is overridden.  Trouble with this is that
anyone can alter the request timeout by simply putting that url parameter
in the request.  The other would be to kill the CF application server.

There might have been some other things you could have done to either
cause an error or alleviate the problem.  If you knew what the rogue
template was doing, and had access to the code you could do this.  You
might have shut down the email server, for example.  None of those would
have been nearly as effective as simply shutting down CF server.  One
thing you'd need to watch out for would be whether the template had
scheduled itself using CFSCHEDULE to start up again at a later time.


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to