Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-12521

Running Bitbucket as a service on Windows Server 2016 with external JDK causing zombie git.exe procesess

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • High
    • None
    • 6.3.0, 6.5.0, 6.7.1, 6.4.4, 7.1.0, 7.1.3, 7.1.4, 6.10.5, 7.3.1

    Description

      Issue Summary

      Running Bitbucket with external JDK in Windows Server 2016 is leaking git.exe processes which are being created in kernel memory space and cannot be observed in Task manager or Process Monitor. The speed of generation of such git.exe processes depends on the load on the server. Each process is occupying 20KB RAM and cannot be terminated by the user.

      Steps to Reproduce

      1. Install Bitbucket Server as a service to Windows Server 2016
      2. Download and install AdoptOpenJDK 8/11
      3. Edit service properties and switch the Java to newly installed AdoptOpenJDK
      4. Generate the load on the server for continuous amount of time (the more RAM free the longer)
      5. Download and install RAMmap https://docs.microsoft.com/en-us/sysinternals/downloads/rammap
      6. Check with Task manager that there is no git processes
      7. Open RAMmap and switch to Processes tab

      Expected Results

      All git.exe processes are finished successfully and no processes are occupying the RAM

      Actual Results


      No related entries in the logs.

      Workaround

      Switch back to embedded JRE under Bitbucket installation directory.

      If the embedded JRE is not available, it is possible to simply download and extract the following archive and then point Bitbucket to use this as its JRE:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ashaleev Anton Shaleev
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync