Copy link to clipboard
Copied
A few questions in this one:
The following is a log of a recurring issue with our ColdFusion 8 Standard server.
The JRun server is currently crashing every other day with the active thread error (error 1).
If the ColdFusion service is not restarted the system will then proceed to run out of memory (error 2) despite Windows still having 0.5 – 1GB to spare
A couple of things worth noting:
Preventative action
Questions
Answers
(More info, configs, log snippets etc is available from the original blog post at http://blog.rubicon.je/ )
Questions
As said ealier, 32 bit JVMs can only address 1.5-1.8GB of memory.
GC is only going to clean up old/dead threads. If you have threads that are waiting for something else (like, say
...Copy link to clipboard
Copied
There is a max size JVM heap size of 1.8 GB on 32 bit servers.
http://go.adobe.com/kb/ts_tn_19359_en-us
Copy link to clipboard
Copied
Questions
As said ealier, 32 bit JVMs can only address 1.5-1.8GB of memory.
GC is only going to clean up old/dead threads. If you have threads that are waiting for something else (like, say, a DB server) then it won't help you.
Fusion Reactor!
Switching to a 64 bit OS, with a 64 bit version of CF (you'll need CF9 to go standard on 64 bit) and a 64 bit JVM will go a long way. But if you're code isn't configured to scale correctly, you'll fill the 64 bit version up too.
Copy link to clipboard
Copied
Thanks,
we've provisioned a 64bit CF8 enterprise server and are in the process of migrating some of our larger sites over.
Hopefully this will solve the issue in the short term and buy enough time to refactor the codebase to be more effecient
Rob