Copy link to clipboard
Copied
Hi,
One of our Public web site is developed in ColdFusion. This runs on a server having OS Windows Server 2003 Standard Edition with 4 CPUS and 4 GB RAM.
The issue is that, after every couple of hours, the Coldfusion Jrun processer memory utilization reaches 1 GB on this server and the response of the website
becomes very slow and it goes down. As a temporary fix, we are getting the Coldfusion services restarted to resolve this issue.
Server product : ColdFusion
Version : 8,0,1,195765
Operating System : Windows server 2003 R2 Standard Edition Service pack 2
Java : 1.6.0_13
We are now planning to go for an OS upgrade from Windows 2003 Standard edition to Windows 2003 Enterprise edition.
Also planning to increase number of CPUs from 4 to 8 and to increase RAM from 4 GB to 8 GB.
Can someone please advise whether after the upgrade and increase in RAM and CPUs, can Coldfusion Jrun processer use the additional memory or not?
Thanks!
Siva
Copy link to clipboard
Copied
This is (IMHO) a serious issue that should be tackled before upgrading the server.
I did some Googling, and ran across:
http://www.beetrootstreet.com/blog/index.cfm/2007/1/20/JRun-running-out-of-memory
http://www.ghidinelli.com/2009/07/16/finding-memory-leaks-coldfusion-jvm
http://www.qa.downappz.com/questions/coldfusion-system-failure-out-of-memory.html (Look at third answer.)
^_^
Copy link to clipboard
Copied
It's possible some JVM tuning may be in order. This can be a very complex process. If this is something you aren't comfortable doing yourself, there are a few consultants who could assist for a fee (Charlie Arehart and Mike Brunt are two that come to mind).
Upgrading the Windows version and adding memory will only help up to a point if you are running a 32-bit version of your operating system, as the 32-bit version of Java can typically only utilize up to about 1.8 GB of memory. If you really want to give ColdFusion more memory, you should consider using a 64-bit operating system and the 64-bit version of Java. I'm not sure if you can run ColdFusion on 64-bit though, so make sure that your edition of ColdFusion is supported on 64-bit operating systems (I know ColdFusion 9 Standard and Enterprise are, but I'm not sure about ColdFusion 8).
-Carl V.
Copy link to clipboard
Copied
My guess is that you are running 32bit? If so, the 32-bit version of CF (& Java), I vaguely remember that there is a 1Gb (+/-) memory limit no matter how much physical memory you have. 32bit CF is not really usable in a production environment, at least for app of any significant size.
Copy link to clipboard
Copied
CF 32 bit on Win 32 bit there is a limit 1.3 to 1.4 Gb depending on some variables as to how much Jrun.exe can grow. The actual memory spaces (heap, non heap) may well just want some tuning to better match the load and fit in the 1.xGb space. Bit hard to say too much about it in a quick forum post. If your are interested to know more about what these memory values are I did a talk a couple years back that discusses much of that detail. While versions have changed from what was discussed (ie CF10 and Java 7 released) the way Java is using memory has not changed.
http://experts.adobeconnect.com/p55663036/
HTH, Carl M.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now