Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • reliability reliability
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,177
    • Issues 1,177
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.comGitLab.com
  • GitLab Infrastructure TeamGitLab Infrastructure Team
  • reliabilityreliability
  • Issues
  • #3989
Closed
Open
Issue created Apr 05, 2018 by Ilya Frolov@ilyaf

gpg-agent zombie apocalypse on web-11

git      116339  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116341  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116343  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116345  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116347  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116349  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116351  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116353  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116356  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116358  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116360  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116362  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116364  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116366  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116368  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>
git      116370  0.0  0.0      0     0 ?        Z    02:38   0:00 [gpg2] <defunct>

Total number of zombies ~850.

Slack discussion start: https://gitlab.slack.com/archives/C101F3796/p1522940029000034

same behavior on web-10, to a lesser extent.

@jtevnan can you fill what I'm missing here?

During discussion with @bkc we come up with an idea to prestart gpg-agent and inject GPG_* envvars to unicorn process so that it reuses the same process instead of starting new one every time. Since that is not currently configurable with omnibus, it'll need to be a part of hack_* recipe group.

/cc @gl-infra

Assignee
Assign to
Time tracking