Skip to main content
Known Participant
February 16, 2010
Question

Please advice...

  • February 16, 2010
  • 2 replies
  • 318 views


Hi,

We are having memory leak/performance issue/timeout. we have checked and tuned db and all our queries.

The configuration for our server is as follows.

OS - windows 2003 SP2
CPU - 8-way 2.66 ghz intel Xeon(R) X5355 @
Memory - 16GB


I like to know for the above server configuration,

- upto what number I can give for "Max. no. of simultaneous template requests" ? currently we got 10.

- upto how much I can give for Max. Heap size in CF administrator"? currently set for 1024 MB.

- JVM Arguments is "-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -XX:-UseGCOverheadLimit"


anything we can add or change in the JVM argument to improve the performance?


Please advice. Thanks.

    This topic has been closed for replies.

    2 replies

    February 16, 2010

    Personally, I'd up the template limit to 24 - 32.  I'd set a static 1GB heap size if I were on 32 bit.

    You might also want to explore the following switches

    -XX:UseParNewGC

    -XX:SurvivorRatio=4  (4 is the common value recommended for this switch)

    Explore these switches carefully:

    -XX:MaxPermSize=xxM  (I ususally set this to 1/4th my heap size max).

    -XX:NewSize=xxM (I usually set this to 1/8th my heap size max).

    -XX:PermSize=xxM (I usually set this to 1/16th my heap size max).

    Inspiring
    February 16, 2010

    Google "coldfusion performance tuning", and read some of the plethora of pretty good info people have already documented on this.  That'd be what I'd do (and, indeed, have done in the past).

    --

    Adam