开发者社区 问答 正文

为什么tomcat的进程自动被kill了

在使用 nohup ./catalina.sh run & 命令启动tomcat的过程中, 发现tomcat进程自动被kill了.

[1]+  Killed                  nohup ./catalina.sh run
log4j的日志级别是error, 看到日志信息里的最后的打印信息是这样

INFO: TLD skipped. URI: http://www.springframework.org/tags is already defined
Dec 16, 2015 2:26:14 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
:$

展开
收起
a123456678 2016-06-15 16:17:03 5392 分享 版权
1 条回答
写回答
取消 提交回答
  • 有一种可能是系统的内存不够,tomcat进程被系统杀死释放内存了,如果是centos系统,被系统杀死的进程在 /var/log/message里面有日志,使用grep Kill /var/log/message* 可以查看到,其他的linux系统日志在何处不清楚,具体的情况可以google linux out of memory killer

    2019-07-17 19:39:37
    赞同 展开评论