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

Zombie git processes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • core, git-plugin
    • None
    • Jenkins 2.277.1
      git-plugin 4.7.0
      Java 1.8.0_282
      CentOS 7

      I recently added zombie process monitoring and we've got 7 zombie git processes as children of the main Jenkins process.

      $ ps -eo state,pid,ppid,stime,cmd | grep -E ^Z
      Z  1513  1449 10:32 [git] <defunct>
      Z  1514  1449 10:32 [git] <defunct>
      Z  1515  1449 10:32 [git] <defunct>
      Z  1517  1449 10:32 [git] <defunct>
      Z  1531  1449 10:32 [git] <defunct>
      Z  1560  1449 10:32 [git] <defunct>
      Z  1561  1449 10:32 [git] <defunct>
      $ ps -o state,pid,ppid,stime,cmd -p 1449
      UID        PID  PPID  C STIME TTY          TIME CMD
      S  1449     1 Mar22 /etc/alternatives/java -Djava.awt.headless=true-Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins ...
      

      They perhaps were caused by restarting Jenkins (from the update manager) while polling was happening.
       

            Unassigned Unassigned
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: