linux下tomcat指定jdk和配置运行参数

1.指定运行jdk
1)catalina.sh中写入:
JAVA_HOME=/xxx/xxx/jdk1.8.0_73
export JAVA_HOME
2.指定运行参数大小:
2.1 https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html#CBBFHAJA
2.2 https://docs.oracle.com/en/java/javase/11/gctuning/garbage-first-garbage-collector.html#GUID-ED3AB6D3-FD9B-4447-9EDF-983ED2F7A573

3.网站:
线程:https://fastthread.io/
GC日志:http://gceasy.io

你可能感兴趣的:(tomcat+nginx,运维)