标签:ref java环境 tomcat tom 启动 perm tps cat java_opts
tomcat/bin/setenv.sh
1 #!/bin/bash
2 #设置java环境变量
3 #tomcat启动pid
4 #export CATALINA_HOME="/usr/tomcat-1"
5 #export CATALINA_BASE="/usr/tomcat-1"
6 #add tomcat pid
7 #CATALINA_PID="$CATALINA_BASE/nip-one.pid"
8
9 JAVA_OPTS=‘-server -Xms1144m -Xmx1144m -XX:PermSize=1048m -XX:MaxPermSize=1048m‘
10
11 if [[ "$JAVA_OPTS" != *-Djava.security.egd=* ]]; then
12 JAVA_OPTS="$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom"
13 fi
https://blog.csdn.net/lanmo555/article/details/51909021
标签:ref java环境 tomcat tom 启动 perm tps cat java_opts
原文地址:https://www.cnblogs.com/liuliu3/p/9857729.html