Ask a Question related to Coldfusion Server Administration, Design and Development.
-
sankal #1
JVM Configuration
Hi All,
Just wanted to enter this thread to get any response/feedback about the
settings that we are thinking of putting up on production.
We have Windows machine with 4GB memory and 4 CPU dual core and CFMX7.0.1. The
database server is Linux 10g.
We are lately having high traffic and always seeing that Jrun goes too high
and stops responding.
The JVM setting that I'm planning is as below
java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xms1280m
-Xmx1280m -Dsun.io.useCanonCaches=false -XX:NewSize=512m -XX:MaxNewSize=512m
-XX:PermSize=256m -XX:MaxPermSize=256m -XX:+DisableExplicitGC
-XX:+UseParallelGC -XX:ParallelGCThreads=8 -XX:+UseAdaptiveSizePolicy
-XX:MaxTenuringThreshold=0 -XX:SurvivorRatio=128
-Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.libPath={application.home}/../lib
-Dcoldfusion.classPath={application.home}/../../classes,{application.home}/../li
b/updates,{application.home}/../lib/,{application.home}/../gateway/lib/,{applica
tion.home}/../wwwroot/WEB-INF/cfform/jars
Even if I have 4GB of memory, CF is not allowing to set it higher then around
13m
Any feedback/Corrections are appreciated.
Thanks,
sankal Guest
-
RDS Configuration
I'm working on setting up my development CF server. I've found that I can set up Homesite through RDS and it works just peachy when I hit browse on... -
Help with XP/IIS/ASP.NET configuration
I have setup an XP box to run my ASP.NET application. My objective is to run the application on the XP box and have it accessible to the local... -
Web Configuration...
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the... -
Where to keep the configuration?
Greetings! I'm not very good at ASP, but I'm using ASP to design a website. I know that I can keep some configurable values, such as Server... -
Inn configuration
Hi, I want to configure a INN Newsserver 2.3.5 under Solaris 8, but it causes Problems. Does anyone has experience in configuring it. Are there... -
BKBK #2
Re: JVM Configuration
> Even if I have 4GB of memory...
It's not all about RAM. Processor architecture can impose a ceiling on the
amount of memory available to the JVM. For example, on 32-bit processor
machines the maximum possible heapsize is usually around 1.9GB, irrespective of
RAM. It is the so-called contiguous memory address space. There is a
[url]http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19359[/url].
Java's native(process) heap and garbage collector share the 1.9GB memory
address space. So, making the maximum heap size Xmx too large can impair
garbage collection. I would not go beyond an Xmx value 1024MB.
BKBK Guest
-
ke4pym #3
Re: JVM Configuration
I'll second pulling -Xmx back to 1024. I'd also pull -Xms back to around
512MB. You might also want to investigate -XX:+UseConcMarkSweepGC and
-XX:+UseParNewGC - they're much more efficient GC's than ParallelGC.
ke4pym Guest



Reply With Quote

