Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-374

`systemctl stop traffic_ops` does not kill all processes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.1.0, 2.2.0
    • Traffic Ops

    Description

      not sure why it gets in this state, but traffic_ops processes sometimes get in a state where the parent process is the root (1) for many of the script/cdn workers. The init.d script doesn't stop them because they don't match the pid in `/var/run/traffic_ops.pid`.

      This needs to be more robust.

      Example: on my test VM, if I run this, I see multiple parent processes:

      ps -ef | grep script/cdn|grep -v root | awk '{print $3}' | sort -u
      1
      22713
      29306

      Attachments

        Activity

          People

            dangogh Dan Kirkwood
            dangogh Dan Kirkwood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: