>> GreenByte.info By Nick Tong (quiksilv) | Supported by: TalkWebSolutions.co.uk

Getting over excited with multiple CF instances

One of the cool things about enterprise versions of CF is the fact that you can run multiple CF instances. What I see as a benefit of this is that if one of your applications becomes problematic then it's not going to bring your other apps on the same server down. With this in mind I've been happily setting up multiple instances of CF on a server for each app. This appeares to work fine, I can restart an instance if I need to and all my other sites continue to run.... well run rather slow that is. This is the problem i've been having recently, rally slow response times.

The environment that the server is in has 4G of RAM on a windows IIS solution. Now speaking with the masterful Andy Allan, he informed me that you shouldn't really run lots of CF instances, here a quick extract from out IM:

assuming each instance is configured with it's own JVM config file, you've got [undisclosed number] instances, plus Windows (and anything else) competing for that 4gb...

he goes on to say

even adobe only run 2 instances on 64bit solaris...

2 is the good number, but 3 at a push if you go with 3 you'll need to limit jvm memory to around 512-768mb

So can anyone guess what I'll be doing this afternoon? Thanks for the info Andy. It's hard to find this information around.


 
Comments
Tyler Fitch's Gravatar That info you got about Adobe is out of date. We now run 3 CF instances on each app server. It was 2, but shortly after the Adobe acquisition it was upped to 3 to support the increased traffic.

I don't know how much RAM we're running on the boxes, but it's safe to say that it's alot. Just bootstrapping the website on my localhost typically takes about 400MB of memory and then it'd increase from there as sessions are created and other runtime in memory variables are created.

Hope that helps.
# Posted By Tyler Fitch | 18/12/07 21:52 | Report abusive comment
nick tong's Gravatar Thanks Tyler, i've now changed it back down to 3 and everything is humming along :) It's nice to here it confirmed that 2/3 are good to run with.
# Posted By nick tong | 18/12/07 21:56 | Report abusive comment
BlogCFC was created by Raymond Camden. This blog is running version 5.5.1.