wendangzhanghu 2010-10-26 09:51
浏览 241
已采纳

tomcat之死

tomcat总是运行一段几天之后死机,GC日志如下:
[code="java"]
Application time: 10.9037210 seconds
Total time for which application threads were stopped: 0.0019070 seconds
Application time: 63.4705310 seconds
447142.736: [GC [PSYoungGen: 515825K->7027K(517248K)] 1140480K->641618K(1565824K), 0.0211740 secs] [Times: user=0.03 sys=0.00, real=0.02 secs]
Total time for which application threads were stopped: 0.0237380 seconds
Application time: 0.0008020 seconds
Total time for which application threads were stopped: 0.0048850 seconds
Application time: 57.3291140 seconds
447200.095: [GC [PSYoungGen: 517235K->7034K(499456K)] 1151826K->654591K(1548032K), 0.0233490 secs] [Times: user=0.10 sys=0.01, real=0.02 secs]
Total time for which application threads were stopped: 0.0259740 seconds
Application time: 0.0005330 seconds
Total time for which application threads were stopped: 0.0015090 seconds
Application time: 0.0003870 seconds
Total time for which application threads were stopped: 0.0009830 seconds
Application time: 0.0001650 seconds
Total time for which application threads were stopped: 0.0009320 seconds
Application time: 0.0000790 seconds
Total time for which application threads were stopped: 0.0009570 seconds
Application time: 0.0001280 seconds
Total time for which application threads were stopped: 0.0009260 seconds
Application time: 0.0001270 seconds
Total time for which application threads were stopped: 0.0007940 seconds
Application time: 350.4612180 seconds
Total time for which application threads were stopped: 0.0070700 seconds
Application time: 17619.4182670 seconds
479708.875: [GC [PSYoungGen: 499450K->4193K(508352K)] 1147007K->658558K(1556928K), 0.0232460 secs]
[/code]
可以看出长时间没人访问,之后再GC就死了。
想了很久也想不出原因,清高人给个思路

  • 写回答

3条回答 默认 最新

  • enet_java 2010-10-26 09:59
    关注

    tomcat是什么版本呀?换换版本再试试吧,有些是tomcat自身的bug导致的。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?