Once service start for some reason it stop by itself

Anton Tananaev7 years ago

You need to check wrapper log file for errors.

MuhHuz7 years ago

Hii Anton,

some reason my server stop it self. my logs shown below:

wrapper:

NFO|29598/0|Service traccar|18-06-12 13:37:16|Missing wrapper ping within timeout of 30000
WARNING|29598/0|Service traccar|18-06-12 13:37:59|ping between java application and wrapper timed out. if this this is due to server overload consider increasing wrapper.ping.timeout
INFO|29598/0|Service traccar|18-06-12 13:38:00|wrapper manager received stop command
INFO|29598/0|Service traccar|18-06-12 13:38:00|[Thread-13] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@61ced351{HTTP/1.1}{0.0.0.0:8082}
INFO|29598/0|Service traccar|18-06-12 13:38:00|[Thread-13] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.t.w.@73c31181{/,null,UNAVAILABLE}
INFO|29598/0|Service traccar|18-06-12 13:38:00|[Thread-13] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.e.j.s.ServletContextHandler@5974b7e8{/api,null,UNAVAILABLE}
INFO|wrapper|Service traccar|18-06-12 13:38:00|waitpid 29598 0
INFO|wrapper|Service traccar|18-06-12 13:38:00|exit code posix process: 0 application(status/signal): 0/0

Tracker-log:

2018-06-11 06:29:09  INFO: [1B6DE0B1] connected
2018-06-11 06:29:09 DEBUG: [1B6DE0B1: 5001 < 77.72.83.153] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2018-06-11 06:35:12  INFO: [922B84DE] connected
2018-06-11 06:35:12 DEBUG: [922B84DE: 5002 < 77.72.83.153] HEX: 0300002f2ae00000000000436f6f6b69653a206d737473686173683d41646d696e697374720d0a0100080003000000
2018-06-11 06:41:54  WARN: [922B84DE] error - Connection reset by peer - IOException (...)
2018-06-11 06:41:54  INFO: [922B84DE] disconnected
2018-06-11 07:00:04  WARN: [1B6DE0B1] error - Connection reset by peer - IOException (...)
2018-06-11 07:00:04  INFO: [1B6DE0B1] disconnected
2018-06-11 16:30:00  INFO: [46D94AC5] connected
2018-06-11 16:30:00 DEBUG: [46D94AC5: 5002 < 185.158.114.135] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2018-06-11 16:30:15  WARN: [46D94AC5] error - Connection reset by peer - IOException (...)
2018-06-11 16:30:15  INFO: [46D94AC5] disconnected
2018-06-11 16:48:04  INFO: [A7217225] connected
2018-06-11 16:48:04 DEBUG: [A7217225: 5001 < 185.158.114.135] HEX: 0300002b26e00000000000436f6f6b69653a206d737473686173683d68656c6c6f0d0a0100080003000000
2018-06-11 16:48:19  WARN: [A7217225] error - Connection reset by peer - IOException (...)
2018-06-11 16:48:19  INFO: [A7217225] disconnected

How can i prevent this??

Anton Tananaev7 years ago

This usually indicates lack of resources:

Missing wrapper ping within timeout of 30000