简体   繁体   English

码头:码头服务器关闭

[英]Jetty : Jetty server shutsdown

In a high concurrenet and traffic Multithreaded Environment , We observed that the Jetty Server is being stopped after sometime .在高并发和流量的多线程环境中,我们观察到 Jetty 服务器在一段时间后停止。

We are uisng Jetty 8我们正在使用 Jetty 8

DOnt know what is the cause , and unable to reproduce manually , does anybody know what time make Jetty server makes it shutsdown automatically .不知道是什么原因,手动无法重现,有谁知道什么时候让Jetty服务器自动关闭。

Jetty should not stop automatically in any case.在任何情况下,Jetty 都不应该自动停止。 So first of all, some questions:那么首先,问几个问题:

  • Which OS?哪个操作系统?
  • Which JVM?哪个JVM?
  • Which exact Jetty Version?哪个确切的 Jetty 版本?
  • What does "sometime" mean. “有时”是什么意思。 Minutes, Hours, Days?分钟、小时、天?
  • Just to be sure: What do you mean with shutdown?只是为了确定:关闭是什么意思? Does the jetty process disappear or does it stop responding to requests?码头进程是否消失或停止响应请求?

Any hint in STDOUT or in the logs about what might have caused the shutdown? STDOUT 或日志中有关可能导致关闭的原因的任何提示? What are the last log messages in STDOUT and request log? STDOUT 和请求日志中的最后一条日志消息是什么?

If you have no log entries at all, it might be worth to throw threaddumps on a regular basis with some script.如果您根本没有日志条目,那么使用某些脚本定期抛出线程转储可能是值得的。 Every minute for example.以每分钟为例。 You can use jstack or "kill -3 " (SIGHUP) to do so.您可以使用 jstack 或“kill -3”(SIGHUP)来执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM