Reply to topic
ColdFusion randomly stops
MarFan


Joined: 27 Oct 2008
Posts: 3
Reply with quote
Has anyone else experienced the ColdFusion service randomly stopping? It happened to me last night or this morning. I had to login and restart the service in Windows.

Anyone else? Know why?

Thanks!
Jason101
Forum Regular

Joined: 14 Mar 2006
Posts: 570
Location: Harrisburg, PA
Reply with quote
I've seen this happen as well for no reason at all when we were on a VPS. What you can do, is in the windows service manager, set the service to try to restart itself if it stops, and then if it still can't start have it automatically reboot windows. That seemed to do the trick for me.
cburns


Joined: 03 Feb 2008
Posts: 10
Location: Newark, DE
Reply with quote
What is likely happening is that ColdFusion is running out of available memory, and just shutting down. ColdFusion eats up memory like that's its job, so make sure you are disabling any unnecessary services (for example, if you are not using SQL, SmarterMail, or SmarterStats, disable them to free up some memory) and you have set the JVM memory limits within the CF Admin to give your VPS some breathing room (you need to give enough memory in the CF admin so that CF can run, but also have enough memory free on the VPS itself for the JVM to allocate new threads so that CF can run...yeah). As Jason101 said, setting the service to automatically restart itself should help fix this as well.

Other things that can help is to make sure your code runs error free. Check the application and exception logs and try to clean up as many errors as you can; ColdFusion performs less and less well with every that occurs. Also make sure to clean up any unnecessary verity collections, scheduled tasks, or DSNs. ColdFusion has to initialize them every time they start, which can eat up resources that it may or may not free up.
ColdFusion randomly stops
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic