Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-428

Spawned processes not cleaned up if agent is killed unexpectedly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: agent
    • Labels:
      None

      Description

      There's support for killing spawned processes from an agent in plugin/built/shell/. This code doesn't seem to be properly cleaning up all spawned processes, as evidenced by this system log from OS X:

      ...
       [2015/07/23 14:56:22.599] mci            65479   0.0  0.1  2536128   8560   ??  S     9Jul15   0:00.03 /usr/bin/lldb --source /var/folders/_q/vwfm9wzj7y7gh5r6znj1vhs00000gp/T/tmpVzxwgj
       [2015/07/23 14:56:22.599] mci            64781   0.0  0.1  2537152   8568   ??  S     9Jul15   0:00.03 /usr/bin/lldb --source /var/folders/_q/vwfm9wzj7y7gh5r6znj1vhs00000gp/T/tmp4NMFDX
       [2015/07/23 14:56:22.599] mci            62742   0.0  0.1  2530524   8540   ??  S     9Jul15   0:09.03 /usr/bin/lldb --source /var/folders/_q/vwfm9wzj7y7gh5r6znj1vhs00000gp/T/tmpWZHykA
       [2015/07/23 14:56:22.599] mci            50450   0.0  0.1  2537152   8568   ??  S     8Jul15   0:00.04 /usr/bin/lldb --source /var/folders/_q/vwfm9wzj7y7gh5r6znj1vhs00000gp/T/tmpWoE16_
       [2015/07/23 14:56:22.599] mci             3844   0.0  0.1  2536128   8568   ??  S     7Jul15   0:00.03 /usr/bin/lldb --source /var/folders/_q/vwfm9wzj7y7gh5r6znj1vhs00000gp/T/tmpbuVsT7
      ...
      

      https://evergreen.mongodb.com/task/mongodb_mongo_master_osx_108_ssl_compile_7537619a8cbd80043370c74d9b7bb183af5a984a_15_07_23_18_31_31#/log/S

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                backlog-server-evg Backlog - Evergreen Team
                Reporter:
                kamran.khan Kamran K.
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: