diff --git a/conf/mingan_reboot.sh b/conf/mingan_reboot.sh index c817d3a..d90b026 100644 --- a/conf/mingan_reboot.sh +++ b/conf/mingan_reboot.sh @@ -9,4 +9,4 @@ pid=`ps -ef|grep java|grep "SensitiveWord"|awk '{print $2}'` kill $pid sleep 5 -nohup java -Dfile.encoding=UTF-8 -server -Xms256g -Xmx256g -Xss512K -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=64m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=4 -XX:NativeMemoryTracking=detail -verbose:gc -Xloggc:${LOG_DIR}/gc_core.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.ext.dirs=${BASE_DIR}/lib:$JAVA_HOME/jre/lib/ext -cp ${CLASSPATH} com.ljsd.SensitiveWordApplication --spring.config.location=${BASE_DIR}/conf/application.properties >> corelog.log 2>&1 & +nohup java -Dfile.encoding=UTF-8 -server -Xms1g -Xmx1g -Xss512K -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=64m -XX:+UseG1GC -XX:ParallelGCThreads=8 -XX:ConcGCThreads=4 -XX:NativeMemoryTracking=detail -verbose:gc -Xloggc:${LOG_DIR}/gc_core.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:-OmitStackTraceInFastThrow -Djava.ext.dirs=${BASE_DIR}/lib:$JAVA_HOME/jre/lib/ext -cp ${CLASSPATH} com.ljsd.SensitiveWordApplication --spring.config.location=${BASE_DIR}/conf/application.properties >> corelog.log 2>&1 &