Server stopped after "HikariPool Thread starvation" or "ping between java and wrapper timed out".

gustavofarias6 years ago

Traccar server stopped unexpectedly. Checking the wrapper logs I found this at the very end:

FINEST|2365/0|Service traccar|17-12-05 08:48:06|[HikariPool-1 housekeeper] WARN com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Thread starvation or clock leap detected (housekeeper delta=2m12s509ms653??s528ns).
INFO|2365/0|Service traccar|17-12-05 08:47:09|Missing wrapper ping within timeout of 30000
WARNING|2365/0|Service traccar|17-12-05 08:48:06|ping between java application and wrapper timed out. if this this is due to server overload consider increasing wrapper.ping.timeout
INFO|2365/0|Service traccar|17-12-05 08:48:07|wrapper manager received stop command
FINEST|2365/0|Service traccar|17-12-05 08:48:07|[Thread-12] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@3b0c3951{HTTP/1.1}{0.0.0.0:8082}
FINEST|2365/0|Service traccar|17-12-05 08:48:08|[Thread-12] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.t.w.@7d4d8579{/,null,UNAVAILABLE}
FINEST|2365/0|Service traccar|17-12-05 08:48:08|[Thread-12] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@32091c14{/api,null,UNAVAILABLE}
INFO|wrapper|Service traccar|17-12-05 08:48:08|waitpid 2365 0
INFO|wrapper|Service traccar|17-12-05 08:48:08|exit code posix process: 0 application: 0

Never had any issue like this before. Could this be caused by denial of service attack?

Anton Tananaev6 years ago

Probably it indicates lack of resources somewhere.