1、异常(Startup failed: Timed out waiting for a signal from the JVM.)
2、重复几次后:
wrapper | JVM did not exit on request, terminated
wrapper | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
wrapper | There may be a configuration problem: please check the logs.
wrapper | <-- Wrapper Stopped
解决方案:
1、修改 wrapper.conf 文件
(1) 增加超时时间
wrapper.ping.timeout=120
wrapper.startup.timeout=300
(2)找到…/mycat/conf/wrapper.conf,修改内存为合适的大小
wrapper.java.additional.10=-Xmx4G
wrapper.java.additional.11=-Xms1G
如 (没有就在后面加)
propertieswrapper.java.additional.10=-Xmx1G
wrapper.java.additional.11=-Xms256M