CF8/64-bit/Multi-server Configuration


i'm experimenting setting multi-server configuration of cf8 64-bit on windows server 2008 64-bit, several helpful blogs found on topic.  i've got basic setup complete, i'm finding when create first instance in instance manager, instance slower should be.  noticeable going cf admin on new instance (port 8301) compared initial cfusion install (the default configure instances from).  slow--the page load, image load, etc.  threw simple index.cfm page 1 cfoutput in root directory main install , in cfusion.ear/cfusion.war folder instance, , slower open (repeatedly) in new instance.

 

because slower, i'm prone blame iis7, before go through bother of installing apache, thought i'd see if had run this.  candidate install on 64-bit, thought matched okay.  there specific jvm runs best on windows 64-bit?

 

my goal have 2-3 cf instances running on server (which has 10gb of ram), can have isolated jvm heaps run large overnight jobs tend create memory issues if they're run on same instance.  each instance have own codebase.

 

speaking of part, may dumb question, since i've ever worked single server installs, i'm not sure.  when add/modify cfcs , cfms instances, update files within cfusion.ear/cfusion.war folder instance (in jrun4/servers directory), or there have package , deploy?  i've used tomcat jsp apps before , hate it, i'm hoping it's nothing that.

 

i appreciate suggestions can provide.

well, don't think can blame iis. indicate put files test in cf webroot (that cfusion.ear/cfusion.war folder mention). served built-in web server port (8301, in case). iis not involved in serving pages.

 

are confirming pages slow both when using port , when not? , clear, not use port, need run web server configuration tool connect given iis site given (your new) cf instance. if that, may interesting see if there difference. (to clear, if connect instance iis site, put test cfml pages iis docroot, not cf webroot.)

 

that said, not suspect problem related web server. be, i'd suspect other things first. instance, if turn on cf output debugging, show in fact slowness in time spent running page?  may not, again it's first thing confirm.

 

and since running enterprise (or developer, either of way run multiserver), have cf server monitor. if open , turn on "start monitoring", has interface option show "slow requests", confirm if time "in cf". if is, i'll add there still other tools in monitor (or in tools fusionreactor , seefusion) identify why page slow. before dig that, let's see above.

 

 

now, on separate matter, ask if jvm: could. you're on cf8. might mean 8.0.1, specifically? in either case, jvm came them 1.6 build. subsequent release of both cf8 , 8.0.1, sun discovered , fixed bug , updated jvm. people found that jvm can indeed better. i'd surprised you'd notice simple test page, may worth considering. see of many blog entries out there upgrading jvm in cf. want go @ least 1.6.0.10 (and want jdk, not jre). also, though sun offers update .21, people have reported problems .20, may want think twice going high.

 

here's old adobe technote on updating jvm cf: http://kb2.adobe.com/cps/547/2d547983.html, pay close attention how discusses briefly how multiserver edition, have edit jvm.config. screenshot shown work on server edition deployment. can find other blog entries talking process, such http://www.coldfusionmuse.com/index.cfm/2009/6/11/upgrade.coldfusion.jvm. there still others talk downgrading 1.6 1.5 (from before learned of jvm bug fix). info can helpful too, don't go 1.5!

 

oh, , here's find older versions of jdks: http://java.sun.com/products/archive/ (and you, sure choose 64-bit one).

 

but again, before doing surgery, let know find simpler tests above.

 

to final question, put code, again, recall point above cf vs iis web roots. if you'll have different iis web sites different instances, note technically tell iis have different iis sites point same docroot location. if reason want instead use built-in web server (like port 8301), yes need copy code among different webroots different instances. (technically, can modify config of built-in web server define mapping point each web server in different instances @ single shared doc directory. never it. blogged in 2002: http://cfmxplus.blogspot.com/2002/08/running-cfmx-code-outside-default.html).

 

for folks may have struggles dealing issues these, i'll note there various companies, myself included, can help. keep list @ http://www.cf411.com#cfassist

 

hth

 

/charlie



More discussions in ColdFusion Server Administration


adobe

Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support