As Neil mentioned, you could write some script or Java service to monitor and play the needed net stat commands. A better option is to track down why this is occuring. There are several threads in the archives here on tuning this sort of issue. Also good to check out blogs, in no particular order, by Robi Sen, Steven Erat, and Pete Frietag to start. They have some great info on tuning. In my expereince, hung JRun services are usually the result of third party calls such as cfquery, cfhttp, cfldap, etc. I'd start with your JRun logs, CF logs particualry the server log, turn on metrics logging, set your timeout long running requests on adn at a reasonable length, and have log long running requests turned on.
DK On 5/11/06, Stephen Cassady <[EMAIL PROTECTED]> wrote: > Hey Neil - > It's definitely JRUN - IIS will still return pages. For ColdFusion sites it > says the JRUN Service is (forget the exact wording) unavailable or > inaccessible at the time, maybe "can not be reached". Restarting the JRun > service manually will restart the availability of the CF sites (they can now > reach JRun. > > > Stephen R. Cassady > http://www.Lopedia.com > Translating business needs into working successful technology > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Subject: JRun hang, how to detect and restart service automatically > From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]> > Date: Thu, 11 May 2006 13:11:53 +0100 > Thread: > http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=458 > 97&forumid=4#240204 > > Is it JRun locking up or is it your websever? In most cases I have seen it > be IIS have a JRun deadlock which you can control via iisstate. This tool > can automatically reset your IIS server on failure. > > If it is JRun failing you would have to write some Java to do this I expect > or potentially a Windows monitoring service as you could not use CF to > restart it! ;-) > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240301 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

