Re: How Many CFMX Instances?
On Friday, Sep 12, 2003, at 05:39 US/Pacific, Demarco, Alex wrote: I'm curious Sean, can you tell me what type of box you are running? What JVM version are you using? We wrote most of that up here: http://www.macromedia.com/special/progress_report/beta1/page4.html We're currently using Sun's 1.4.2 JVM. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: How Many CFMX Instances?
I'm curious Sean, can you tell me what type of box you are running? What JVM version are you using? - Alex -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:40 PM To: CF-Talk Subject: Re: How Many CFMX Instances? On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote: What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? It depends on a number of factors. If you want robustness (so one website doesn't trample on another) then yes, multiple instances will help - and give you a separate CF Admin for each instance. But you also need to consider the number of CPUs and the amount of RAM on your server (assuming you're talking about everything on one server). You'd need to experiment, performance-wise, but I'd say not to have more instances that you have CPUs for example. We have two instances (each with a 2-3Gb JVM heap) on each of our 8 CPU, 8Gb RAM servers but then we're running a very high traffic site (up to 20,000 concurrent sessions during peak traffic). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: How Many CFMX Instances?
What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? This is a good question. I don't know if there's any rule of thumb. One of the advantages of running multiple instances is that it allows you to provide a more robust environment - one bad instance doesn't cause problems with the other instances. So, you might identify which applications are more likely to cause trouble, and run them in separate instances. Or, you might identify which applications are more important to you, and run those in separate instances, or both. In addition, you can run multiple instances as a cluster of sorts, so that an application is still available even if one of the instances fails. I would think that in this case, you'd only run two instances for each application - if you have stability problems that would indicate you need more, you'd probably be better off identifying and fixing those problems, rather than expending the necessary resources for additional instances. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: How Many CFMX Instances?
On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote: What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? It depends on a number of factors. If you want robustness (so one website doesn't trample on another) then yes, multiple instances will help - and give you a separate CF Admin for each instance. But you also need to consider the number of CPUs and the amount of RAM on your server (assuming you're talking about everything on one server). You'd need to experiment, performance-wise, but I'd say not to have more instances that you have CPUs for example. We have two instances (each with a 2-3Gb JVM heap) on each of our 8 CPU, 8Gb RAM servers but then we're running a very high traffic site (up to 20,000 concurrent sessions during peak traffic). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: How Many CFMX Instances?
Sean, Not sure that I agree with the not to have more instances that you have CPUs statement. I think that an it depends is the right answer. I have one dual CPU box that runs 6 low to medium volume sites, and I have each in a separate instance, and it runs perfectly. There is overhead per instance, memory an CPU cycles too. The correct number of instances is going to be based more on what you consider to be appropriate performance for your applications than anything else. --- Ben -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:40 PM To: CF-Talk Subject: Re: How Many CFMX Instances? On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote: What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? It depends on a number of factors. If you want robustness (so one website doesn't trample on another) then yes, multiple instances will help - and give you a separate CF Admin for each instance. But you also need to consider the number of CPUs and the amount of RAM on your server (assuming you're talking about everything on one server). You'd need to experiment, performance-wise, but I'd say not to have more instances that you have CPUs for example. We have two instances (each with a 2-3Gb JVM heap) on each of our 8 CPU, 8Gb RAM servers but then we're running a very high traffic site (up to 20,000 concurrent sessions during peak traffic). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: How Many CFMX Instances?
It appears an idle instance hovers at about 65mb RAM from what I've seen on various installs. Our config is 2 single CPU boxes with 2 instances on each. Each machine: 1 x 256mb RAM (medium volume site) 1 x 128mb RAM (low volume site) Admin server is off in prod On winblows boxes (say that 10x fast lol) it takes a little extra work to get the CFMX/JRun install all nice...but man it runs great once ur done! Heads up for those of you attempting to install JRun4 (separate jrun, not the one from CMFX bits) then CFMX 6.1 EAR files...the Underlying Jrun that comes *with* CFMX is actually a later build than the latest available JRun4 solo version. I ran into connector issues doing this and was advised from their engineers to reinstall. Setting up separate JVMs is a little cumbersome especially if u want them to startup as services (do not modify jvm settings via jrun admin afterwards)...but it's still doable. Just a few command lines and u rollin'. Stace -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 8:56 PM To: CF-Talk Subject: RE: How Many CFMX Instances? Sean, Not sure that I agree with the not to have more instances that you have CPUs statement. I think that an it depends is the right answer. I have one dual CPU box that runs 6 low to medium volume sites, and I have each in a separate instance, and it runs perfectly. There is overhead per instance, memory an CPU cycles too. The correct number of instances is going to be based more on what you consider to be appropriate performance for your applications than anything else. --- Ben -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:40 PM To: CF-Talk Subject: Re: How Many CFMX Instances? On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote: What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? It depends on a number of factors. If you want robustness (so one website doesn't trample on another) then yes, multiple instances will help - and give you a separate CF Admin for each instance. But you also need to consider the number of CPUs and the amount of RAM on your server (assuming you're talking about everything on one server). You'd need to experiment, performance-wise, but I'd say not to have more instances that you have CPUs for example. We have two instances (each with a 2-3Gb JVM heap) on each of our 8 CPU, 8Gb RAM servers but then we're running a very high traffic site (up to 20,000 concurrent sessions during peak traffic). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: How Many CFMX Instances?
Oh and each instance is clustered to it's twin on the other machine. (sticky session round robin) I also did an initial load test (somewhat of a hack job but). I was impressed...while I eventually overwhelmed the server (100% CPU)...it recovered nicely afterwards. CF4.5 and CF5 never did...once they flat lined that was it...restart. Stace -Original Message- From: Stacy Young Sent: September 11, 2003 9:18 PM To: '[EMAIL PROTECTED]' Subject: RE: How Many CFMX Instances? It appears an idle instance hovers at about 65mb RAM from what I've seen on various installs. Our config is 2 single CPU boxes with 2 instances on each. Each machine: 1 x 256mb RAM (medium volume site) 1 x 128mb RAM (low volume site) Admin server is off in prod On winblows boxes (say that 10x fast lol) it takes a little extra work to get the CFMX/JRun install all nice...but man it runs great once ur done! Heads up for those of you attempting to install JRun4 (separate jrun, not the one from CMFX bits) then CFMX 6.1 EAR files...the Underlying Jrun that comes *with* CFMX is actually a later build than the latest available JRun4 solo version. I ran into connector issues doing this and was advised from their engineers to reinstall. Setting up separate JVMs is a little cumbersome especially if u want them to startup as services (do not modify jvm settings via jrun admin afterwards)...but it's still doable. Just a few command lines and u rollin'. Stace -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 8:56 PM To: CF-Talk Subject: RE: How Many CFMX Instances? Sean, Not sure that I agree with the not to have more instances that you have CPUs statement. I think that an it depends is the right answer. I have one dual CPU box that runs 6 low to medium volume sites, and I have each in a separate instance, and it runs perfectly. There is overhead per instance, memory an CPU cycles too. The correct number of instances is going to be based more on what you consider to be appropriate performance for your applications than anything else. --- Ben -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 8:40 PM To: CF-Talk Subject: Re: How Many CFMX Instances? On Thursday, Sep 11, 2003, at 10:13 US/Pacific, Demarco, Alex wrote: What is a good rule of thumb as to how many jrun/CFMX instances you need? We have one instance that handles all our web sites, should I break it down and split the sites amongst several instances? It depends on a number of factors. If you want robustness (so one website doesn't trample on another) then yes, multiple instances will help - and give you a separate CF Admin for each instance. But you also need to consider the number of CPUs and the amount of RAM on your server (assuming you're talking about everything on one server). You'd need to experiment, performance-wise, but I'd say not to have more instances that you have CPUs for example. We have two instances (each with a 2-3Gb JVM heap) on each of our 8 CPU, 8Gb RAM servers but then we're running a very high traffic site (up to 20,000 concurrent sessions during peak traffic). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: How Many CFMX Instances?
On Thursday, Sep 11, 2003, at 17:56 US/Pacific, Ben Forta wrote: Not sure that I agree with the not to have more instances that you have CPUs statement. I think that an it depends is the right answer. Hence my caveat: You'd need to experiment, performance-wise... :) I have one dual CPU box that runs 6 low to medium volume sites, and I have each in a separate instance, and it runs perfectly. Yep, I'd hope so. Do you know if you get better performance with that setup vs a single instance for those six sites? (Not that it's relevant if you're getting acceptable performance with your current config). There is overhead per instance, memory an CPU cycles too. The correct number of instances is going to be based more on what you consider to be appropriate performance for your applications than anything else. Yep. Lots of performance experimentation needed to fine tune things. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com