Re: coldfusion service stop rsponding or CPU goes up tp 100%
also i saw that jrun.exe memory is always growing, it was at 5 590 405 kb. is it normal? is it because in jvm.settings i put 8gb of java jeap size ? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343648 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
On Mon, Mar 21, 2011 at 7:11 PM, tom vallee wrote: Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, Why do you think so? Can you correlate the problems to occurrences of garbage collection in your log files? Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343241 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
thanks! here are my settings now : java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 -XX:NewSize=148m -XX:SurvivorRatio=4 -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343222 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
More settings suggestions. java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=384m -XX:+UseParallelGC -XX:ParallelGCThreads=4 -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 -XX:NewSize=148m -XX:SurvivorRatio=4 -Xbatch -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar Bigger PermGen, 64bit generally needs more than 32bit. Let the ParallelGC use some of the cores you have, maybe ParallelGCThreads=8 will even be better if I read your server hardware correctly. Include Xbatch which I note seems required for 64bit. Open to others thoughts on Xbatch? Have posted a comment here: http://forums.adobe.com/message/3527227#3527227 HTH, Carl. thanks! here are my settings now : java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=256m -XX:MaxPermSize=256m -XX:+UseParallelGC -Dsun.rmi. dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 -XX:NewSize=148m -XX:SurvivorRatio=4 -Dcoldfusion.rootDir={application. home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion. classPath={application.home}/../lib/updates,{application.home}/../lib, {application.home}/../gateway/lib/,{application.home}/.. /wwwroot/WEB-INF/flex/jars,{application.home}/.. /wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343238 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
i upgraded to latest version and the coldfusion stop answering at 3 am and the cpu spikes to 100% at 8h15 am. anything else? Are you stuck on that JDK version for any reason? The first thing I'd do would be to upgrade it. It is 20 updates behind. Next, have you checked anything like jconsole to see what is going on when this spike happens? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343188 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
i upgrade to the latest JDK version and the coldfusion stop responding this night at 3 am it doesn't solve my problems Are you stuck on that JDK version for any reason? The first thing I'd do would be to upgrade it. It is 20 updates behind. Next, have you checked anything like jconsole to see what is going on when this spike happens? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
Your perm size is way too small for a heap of 4GB (assuming you use a good portion of that heap). Check the logs for error messages just before the service locks up and you'll probably see out of memory errors. If so, make the perm size larger. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 22 March 2011 20:17, tom vallee tom...@numerique.ca wrote: i upgrade to the latest JDK version and the coldfusion stop responding this night at 3 am it doesn't solve my problems Are you stuck on that JDK version for any reason? The first thing I'd do would be to upgrade it. It is 20 updates behind. Next, have you checked anything like jconsole to see what is going on when this spike happens? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
there's no error in the log when the service locks up at 3am.. what should i put in my jvm settings instead? HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion. classPath={application.home}/../lib/updates,{application.home}/../lib, {application.home}/../gateway/lib/,{application.home}/.. /wwwroot/WEB-INF/flex/jars,{application.home}/.. /wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
also, i install jconsole the ps survivor space frequently goes to 100%, is it normal? also there is many Ps scavenge (1125 collection in 2 hours) vs 5 collection of PS marksweep there's no error in the log when the service locks up at 3am.. what should i put in my jvm settings instead? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: coldfusion service stop rsponding or CPU goes up tp 100%
Tom, I don't think you need that Xincgc.. that's a pre-1.4 setting I think. I think the newer JVM should be left more to it's own devices. If you see too many stop the world pauses you might try the low pause collector which works pretty well on larger heaps (though 4 gigs isn't really too large for a 64x heap). Other than that you have to give us more to go on :) What's in the /runtime/logs/cfusion-out.log file? Any clues there? Any hs_pidxxx.log files in runtime/bin? Throw us a bone. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: tom vallee [mailto:tom...@numerique.ca] Sent: Tuesday, March 22, 2011 9:59 AM To: cf-talk Subject: Re: coldfusion service stop rsponding or CPU goes up tp 100% there's no error in the log when the service locks up at 3am.. what should i put in my jvm settings instead? HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion. classPath={application.home}/../lib/updates,{application.home}/../lib, {application.home}/../gateway/lib/,{application.home}/.. /wwwroot/WEB-INF/flex/jars,{application.home}/.. /wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
the latest hs_pid file in runtime\bin is 1 months old.. in runtime/log/ there is many of these errors when the CPU was 100% java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at jrun.servlet.jrpp.ProxyEndpoint.getHeader(ProxyEndpoint.java:760) at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124) at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWrapper.java:124) at coldfusion.runtime.CgiScope.resolve(CgiScope.java:216) at coldfusion.runtime.CgiScope.containsName(CgiScope.java:296) at coldfusion.runtime.CgiScope.search(CgiScope.java:329) at coldfusion.runtime.NeoPageContext.searchScopes(NeoPageContext.java:684) at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:585) at coldfusion.runtime.PageScope.resolveName(PageScope.java:52) at coldfusion.runtime.PageScope.containsName(PageScope.java:57) at coldfusion.runtime.Scope.containsKey(Scope.java:105) at coldfusion.runtime.Scope.put(Scope.java:72) at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:1038) at coldfusion.runtime.NeoPageContext.SymTab_setSplitNameInMap(NeoPageContext.java:1258) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPageContext.java:1228) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageContext.java:1304) at coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java:524) at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:392) at coldfusion.runtime.CfJspPage._set(CfJspPage.java:369) at cfsavecontent2ecfm146453001.runPage(E:\cf8_updates\cfusion\wwwroot\WEB-INF\cftags\savecontent.cfm:11) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63) at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:361) at cfinfo2ecfm1595267860._factor8(C:\inetpub\scripts\ChaletsALouerModules\info.cfm:128) at cfinfo2ecfm1595267860._factor9(C:\inetpub\scripts\ChaletsALouerModules\info.cfm:49) at cfinfo2ecfm1595267860._factor10(C:\inetpub\scripts\ChaletsALouerModules\info.cfm:34) at cfinfo2ecfm1595267860.runPage(C:\inetpub\scripts\ChaletsALouerModules\info.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfinfo2ecfm351247822.runPage(C:\inetpub\scripts\ChaletsALouer\info.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfApplication2ecfc638988258$funcONREQUEST.runFunction(C:\inetpub\scripts\ChaletsALouer\Application.cfc:448) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:243) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:269) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
Re: coldfusion service stop rsponding or CPU goes up tp 100%
I had to research it myself. -Xincgc is an Incremental Garbage Collector. If you have a multi CPU server there are better GC options. --- info I found from 2003 -- -Xincgc The incremental garbage collector, which is off by default, will eliminate occasional garbage-collection pauses during program execution. However, it can lead to a roughly 10% decrease in overall GC performance. On multi-CPU/Core server I usually use parallel GC. It's setup like this. The interval values calculate out to 10 minutes. You will need to adjust this to suite the server and application needs. -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=60 -Dsun.rmi.dgc.server.gcInterval=60 If you need to know more detail about what the GC is doing then enable GC verbose output and logging. That is done by adding these arguments to the JVM line. -Xloggc takes a full path to a log file. -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -verbose:gc -Xloggc:GarbageCollection.log This page is archived at Sun and is a good resource to help understand the GC log output. http://java.sun.com/docs/hotspot/gc1.4.2/example.html I have a guide to JVM tuning at my blog - It's a guide as in general road map, the values specified worked on my servers and may or may work on yours. But it will give you an idea of what and where to look. http://www.trunkful.com/index.cfm/2008/11/25/How-to-Tune-the-JVM-Part-2 As for the reason the service stops at 3am? Not sure, does it always do this at the same time? If so look for a scheduled task somewhere. Look in the web server logs. There could be something outside hitting the site (think bot) hard the same time everyday. Hope some of this helps, Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Mar 22, 2011, at 10:27 AM, Mark A. Kruger wrote: Xincgc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
the service stop responding not always at 3am, sometimes it's at 2pm, 7pm etc i check if there was any schedule task starting and no there's nothing here's my jvm settings now : java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -XX:+UseParallelGC -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar is it ok? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: coldfusion service stop rsponding or CPU goes up tp 100%
Tom, Looks like a connection issue with some resource - database, web service, cfhttp call... something that is making a connection is casing the problem. Take a look in the files referenced and see what you are hitting. Perhaps you need a cert installed into the keystore of your new JDK. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: tom vallee [mailto:tom...@numerique.ca] Sent: Tuesday, March 22, 2011 10:39 AM To: cf-talk Subject: Re: coldfusion service stop rsponding or CPU goes up tp 100% the latest hs_pid file in runtime\bin is 1 months old.. in runtime/log/ there is many of these errors when the CPU was 100% java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at jrun.servlet.jrpp.ProxyEndpoint.getHeader(ProxyEndpoint.java:760) at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWra pper.java:124) at javax.servlet.http.HttpServletRequestWrapper.getHeader(HttpServletRequestWra pper.java:124) at coldfusion.runtime.CgiScope.resolve(CgiScope.java:216) at coldfusion.runtime.CgiScope.containsName(CgiScope.java:296) at coldfusion.runtime.CgiScope.search(CgiScope.java:329) at coldfusion.runtime.NeoPageContext.searchScopes(NeoPageContext.java:684) at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:585) at coldfusion.runtime.PageScope.resolveName(PageScope.java:52) at coldfusion.runtime.PageScope.containsName(PageScope.java:57) at coldfusion.runtime.Scope.containsKey(Scope.java:105) at coldfusion.runtime.Scope.put(Scope.java:72) at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:1038) at coldfusion.runtime.NeoPageContext.SymTab_setSplitNameInMap(NeoPageContext.ja va:1258) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedSplitNameInString(NeoPa geContext.java:1228) at coldfusion.runtime.NeoPageContext.SymTab_setValidatedDottedName(NeoPageConte xt.java:1304) at coldfusion.runtime.NeoPageContext.setValidatedAttribute(NeoPageContext.java: 524) at coldfusion.runtime.NeoPageContext.setAttribute(NeoPageContext.java:392) at coldfusion.runtime.CfJspPage._set(CfJspPage.java:369) at cfsavecontent2ecfm146453001.runPage(E:\cf8_updates\cfusion\wwwroot\WEB-INF\c ftags\savecontent.cfm:11) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java: 63) at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:361) at cfinfo2ecfm1595267860._factor8(C:\inetpub\scripts\ChaletsALouerModules\info. cfm:128) at cfinfo2ecfm1595267860._factor9(C:\inetpub\scripts\ChaletsALouerModules\info. cfm:49) at cfinfo2ecfm1595267860._factor10(C:\inetpub\scripts\ChaletsALouerModules\info .cfm:34) at cfinfo2ecfm1595267860.runPage(C:\inetpub\scripts\ChaletsALouerModules\info.c fm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfinfo2ecfm351247822.runPage(C:\inetpub\scripts\ChaletsALouer\info.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfApplication2ecfc638988258$funcONREQUEST.runFunction(C:\inetpub\scripts\Cha letsALouer\Application.cfc:448) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:243) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:269
Re: coldfusion service stop rsponding or CPU goes up tp 100%
couldn't it be that because the CPU is at 100%, it can't make the connection?? Because there's nothing wrong with these request ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
That last hotspot error was caused by an error of some sort with an outbound http request. But, it's a month old and not the current issue. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Mar 22, 2011, at 11:59 AM, tom vallee wrote: couldn't it be that because the CPU is at 100%, it can't make the connection?? Because there's nothing wrong with these request ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: coldfusion service stop rsponding or CPU goes up tp 100%
Tom, You are asking the chicken and egg question - and without poring over your logs it would be hard to say. But a connection issue to a DB (for example) can cause exactly this sort of behavior - a cpu constrainted server as it tries to resolve hanging threads. The 3am time frame makes me think something else is going on ... but you will need to investigate investigate investigate till you come up with some scenarios that make sense to you. -mark -Original Message- From: tom vallee [mailto:tom...@numerique.ca] Sent: Tuesday, March 22, 2011 12:00 PM To: cf-talk Subject: Re: coldfusion service stop rsponding or CPU goes up tp 100% couldn't it be that because the CPU is at 100%, it can't make the connection?? Because there's nothing wrong with these request ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
The NewGen size is too small. On my dev environment (CF9.0.1 JVM 1.6.0_24) I ran these JVM args: java.args=-server -Xms4096m -Xmx4096m -Dsun.io.useCanonCaches=false - XX:MaxPermSize=192m -XX:+UseParallelGC -XX:NewSize=48m - XX:SurvivorRatio=4 etc CF became unresponsive without much load, tho I did not see the CPU bound. I increased the NewGen JVM arg: -XX:NewSize=148m Now CF kept on responding. Three JVM things to note: -the PermGen is fair to say small perhaps you do well to increase those values eg -XX:PermSize=148m -XX:MaxPermSize=296m -have seen CF on 64 bit fail to respond when -XBatch is not in the JVM args -when using low pause XincGC you would do well to have a NewGen collector eg -XX:+UseParNewGC HTH, Carl. the service stop responding not always at 3am, sometimes it's at 2pm, 7pm etc i check if there was any schedule task starting and no there's nothing here's my jvm settings now : java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -XX:+UseParallelGC -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion. rootDir={application.home}/../ -Dcoldfusion.libPath={application. home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates, {application.home}/../lib,{application.home}/../gateway/lib/, {application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/.. /wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar is it ok? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: coldfusion service stop rsponding or CPU goes up tp 100%
Are you stuck on that JDK version for any reason? The first thing I'd do would be to upgrade it. It is 20 updates behind. Next, have you checked anything like jconsole to see what is going on when this spike happens? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: tom vallee [mailto:tom...@numerique.ca] Sent: Monday, March 21, 2011 2:11 PM To: cf-talk Subject: coldfusion service stop rsponding or CPU goes up tp 100% HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm