Every once in a while I run into customers running 64bit servers. This is far from a daily occurrence, but the frequency is increasing. And so, here's a question for you:
Are you running 64bit servers yet? Do you plan to in the near future? If so, why, and what OS? And if not, why not?
http://developer.fusium.com/FUblog/index.cfm?mode=...
http://developer.fusium.com/FUblog/index.cfm?mode=...
I am running a 64 Bit Server with VMWare running 32 Bit virtual Servers inside.
Does that count?
Yes.
> If so, why, and what OS?
Security. The x86-64 architecture offers per page execute protection which is not present in the i386 architecture. On OS'es that know how to use this that provides another layer of security agains buffer overflows. We currently use it with OpenBSD (N^X) and Windows (DEP).
Current prognosis is that early next year CF would start to benefit from the larger single process memory limit of a 64-bit JVM, but currently that is not an issue yet.
What it all boils down to is that we are not seeing significant improvements in either application performance or stability. I'll keep an eye on it every few months, but until migration offers a very compelling reason to switch, I'll leave well enough alone.
Switching OS's ( and 32 to 64 bit is a switch ) is like dating a new girl. You want the new hotness, but you know it's going to cost you lots of money, time, effort and pain...and at the end you're not even sure you'll get lucky. I'll stay with the girl I brought to the dance -- she's not the hottest, but she's cute and I understand her. :)
My other server is running Windows 2003 Server 64 bits, and Microsoft SQL Server 2005, with 32 Gigs of RAM ... also, running perfectly.
Can't complaint really... it was a smooth transition
Why have I moved to 64bit? Shouldn't we be asking ourselves why we haven't moved beyond 64bit yet (let alone why people haven't even adopted 64bit as a standard many years ago). I'm a huge Sci-Fi fan, so I often cringe when I read older books that show us being far more advanced for today's timeframe.
We would love it if CFMX offically supported a 64 bit jvm because the inability to get much more than 1.3 GB of RAM for the 32 BIT JVM is the only reason we need more than one CFMX server.
Anyways, I've have CF7 running with the 64 bit JVM on W2k3 x64.
Here's how:
c:\JRun4\lib>java -Dsun.io.useCanonCaches=false -Djmx.invoke.getters="true" -jar jrun.jar -start cfusion
Obviously you need to edit jvm.config to use the 64bit JRE.
Do you have any more info on how you get it running with a 64bit jvm? Have you blogged it? I've not had much experience of dealing with the jvm.
I've got a 64 bit windows 2k3 server which I want to run with CF7. I'll try to get it running with Ben's method, but I'd be keen to improve performance if I can get it running as 64 bit
Thanks
Prereqs
JRun 4.0 updater 6
Sun 64 bit JDK1.6
JavaService compiled for x64: http://forge.objectweb.org/project/shownotes.php?r...
Install Jrun and configure JavaService.exe
Install JRun with Updater 6
Set up JavaService to launch JRun
get JavaService and unzip to a temp dir
Rename JavaService.exe to your service name (myservice.exe)
copy myservice.exe to c:\jrun4\bin
Start JRun admin to create your JRun instances. Run this from c:\jrun4\lib java -Dsun.io.useCanonCaches=false -Djmx.invoke.getters="true" -jar jrun.jar start admin
Using the JRun admin (//localhost:8000) Create your jrun server
Create a system NT env var JAVA_HOME and set it to the location of the installed JDK, ex: c:/jdk6/jre
Create a .bat file and run it with this content in c:\jrun4\bin
SET jvmdll=C:\jdk1.6.0_01\jre\bin\server\jvm.dll
SET jrunjar=c:\JRun4\lib\jrun.jar
SET jrunhome=c:\JRun4
SET JAVA_HOME=C:\jdk1.6.0_01
SET toolsjar=%JAVA_HOME%\lib\tools.jar
SET rtjar14=C:\jre1.4\jre\lib\rt.jar
SET jrhf=C:\JRun4\lib\jrun-hotfix-64008.jar
set slib=c:\JRun4\servers\lib
SET CPATH="%toolsjar%;%jrunjar%;%rtjar14%"
myservice.exe -uninstall myserver
"myservice.exe" -install myserver "%jvmdll%" -Djava.class.path="%CPATH%" -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false -Djmx.invoke.getters="true" -start jrunx.kernel.JRun -params "start" "Bullhorn_1" -stop jrunx.kernel.JRun -method stop -params "myserver" "stop"
Run wsconfig.exe, make sure you use JDK 1.6 or you'll get mbean errors