Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1808

Thermos executor should send SIGTERM to daemonized processes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • None
    • None

    Description

      Thermos loses track of double forking processes, meaning on task teardown the daemonized process will not receive a signal to shut down cleanly.

      This can be a serious issue if one is running two processes:
      1. nginx which demonizes and accepts HTTP requests.
      2. A backend processes that receives traffic from nginx over a local socket.

      On task shutdown thermos will send SIGTERM to 2 and not 1, causing nginx to still accept traffic even though the backend is dead. If thermos could also send SIGTERM to 1, the task would tear down cleanly.

      Attachments

        Activity

          People

            zmanji Zameer Manji
            zmanji Zameer Manji
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: