apache / trafficcontrol

Apache Traffic Control is an Open Source implementation of a Content Delivery Network
https://trafficcontrol.apache.org/
Apache License 2.0
1.06k stars 342 forks source link

When Traffic Stats panics, it leave systemd in a weird state #2693

Open dneuman64 opened 6 years ago

dneuman64 commented 6 years ago

If traffic stats panics and dies, it leaves systemd in a weird state where the process still says its running even though it is dead. This can make monitoring the service tricky. If traffic stats panics and dies (which is shouldn't) then the service should be updated to reflect this status.


 traffic_stats.service - LSB: start and stop Traffic Stats
   Loaded: loaded (/etc/rc.d/init.d/traffic_stats; bad; vendor preset: disabled)
   Active: active (exited) since Tue 2018-07-31 20:44:15 UTC; 2 weeks 1 days ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1058 ExecStart=/etc/rc.d/init.d/traffic_stats start (code=exited, status=0/SUCCESS)

Jul 31 20:44:15 cdn-trafficstats-osch2h-01.cdn.comcast.net systemd[1]: Starting LSB: start and stop Traffic Stats...
Jul 31 20:44:15 cdn-trafficstats-osch2h-01.cdn.comcast.net traffic_stats[1058]: Starting traffic_stats:
Jul 31 20:44:15 cdn-trafficstats-osch2h-01.cdn.comcast.net systemd[1]: Started LSB: start and stop Traffic Stats.```
mitchell852 commented 3 years ago

reviewed in 7/13/2021 working group. leaving as is.