Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11995

There should be a way to forcefully kill (SIGKILL) a Proc

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Currently, Proc.kill only uses SIGTERM - which in some cases isn't enough.

      Either, it should SIGTERM, wait a while, see if the process is still running - and then use SIGKILL, or it should just expose a secondary "really_kill" API that plugin writers can use if they need it.

        Attachments

          Issue Links

            Activity

            Hide
            matthewlmcclure matthewlmcclure added a comment -

            I wrote a script that you can execute periodically from cron to clean up processes orphaned by Jenkins.

            Show
            matthewlmcclure matthewlmcclure added a comment - I wrote a script that you can execute periodically from cron to clean up processes orphaned by Jenkins.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jorgenpt Jørgen Tjernø
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: