Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. Web Configuration...
      Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139