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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • core
    • None

    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

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

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

            People

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

              Dates

                Created:
                Updated: