Skip to content

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

Open
@dneuman64

Description

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.```

Metadata

Assignees

No one assigned

    Labels

    Traffic Statsrelated to Traffic Statsbugsomething isn't working as intendedlow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions