zoukankan      html  css  js  c++  java
  • tomcat配置

    JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx2048m -XX:MaxPermSize=256m"
    JAVA_OPTS="$JAVA_OPTS -Xloggc:dangdang.vgc"   #添加此项是打印GC的日志
    JAVA_OPTS="$JAVA_OPTS -server -Xnoclassgc -XX:+UseParNewGC -XX:ParallelGCThreads=12 -XX:MaxTenuringThreshold=6 -XX:SurvivorRatio=5"
    JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:-CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=65"
    JAVA_OPTS="$JAVA_OPTS -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled"
    JAVA_OPTS="$JAVA_OPTS -XX:+DisableExplicitGC -Dsun.rmi.dgc.client.gcInterval=36000009999 -Dsun.rmi.dgc.server.gcInterval=36000009999"
    JAVA_OPTS="$JAVA_OPTS -XX:+PrintGCDetails"

    #CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8788"

  • 相关阅读:
    python之private variable
    python实例、类方法、静态方法
    python常用option
    access
    FD_CLOEXEC
    fork后父子进程文件描述问题
    split
    信号
    kill
    进程组&Session
  • 原文地址:https://www.cnblogs.com/mr-level/p/5691342.html
Copyright © 2011-2022 走看看