jRun maxing out due to fusebox /coldspring and a stupid mistake!
I've been spending the afternoon finding out why my server has been running really slow and stopping altogether. After searching the logs i didn't get much inforamtion, so i decided to do some thread dumps and see what was happening. To do this i started CF via DOS running cfstart.bat i.e.
Looking through this I noticed that coldspring was being invoked over and over again. I thought for a while and then realised my mistake:
Don't EVER, EVER upload your fusebox.xml.cfm to a production server with the mode set to 'development-full-load' mode set to true!
Normally deployment would have been done via a deploy script but time wasn't on my side... this is what you get when you code until 4am in the morning.





if(
(cgi.server_name IS NOT "dev")
AND
isDefined("application.fusebox.mode")
AND
(application.fusebox.mode IS NOT "production")
)
{application.fusebox.mode = "production";}
myFusebox.getApplication().mode
(since the FUSEBOX_APPLICATION_KEY may be something other than "fusebox")
In Fusebox 5.5, you'll be able to mollify this somewhat by specifying:
FUSEBOX_PARAMETERS.mode = "production";
in your (production) index.cfm so as long as you don't overwrite that, the setting in fusebox.xml.cfm won't matter.
I'm also looking at adding some sort of debug / troubleshooting mode that displays important stuff like this... some sort of Fusebox application console.