Zombie SSH process is created in the server when some Bitbucket authentication error happens

XMLWordPrintable

    • Type: Bug
    • Resolution: Answered
    • Priority: Low
    • None
    • Affects Version/s: 6.8.1, 6.9.2
    • Component/s: Repository (Bitbucket)
    • None
    • 4
    • Severity 3 - Minor

      Summary

      When Bamboo is having issues with Bitbucket authentication, Bamboo creates SSH zombie process in Bamboo server when the following message appears in the logs:

      [Connection killer] [SshProxyCommand] SSH proxy tried to connect to [git@SERVER/XXX.XXX.XXX.XXX:PORT]: and failed due to the following error: [Authenticating remote session failed]

      Details

      Create a Bitbucket linked repository with Bamboo and create any trigger to call the change detection in the repository.

      After doing that, a message should appear in the logs, such as:

      [Connection killer] [SshProxyCommand] SSH proxy tried to connect to [git@SERVER/XXX.XXX.XXX.XXX:PORT]: and failed due to the following error: [Authenticating remote session failed]
      

      Now, check the zombie process in the Bamboo server and you should see the zombie process increasing:

      bamboo     213     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     214     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     215     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     217     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     218     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     256     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     261     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      bamboo     262     1  0 11:32 ?        00:00:00 [ssh] <defunct>
      

      Workaround

      Restart Bamboo server to clean the zombie processes or delete the repository or remove Bitbucket trigger.

            Assignee:
            Ellie Z
            Reporter:
            Karel Miranda
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: