-
-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repo.clone_from fails and leaves orphaned processes #1642
Comments
Example process info: Note the parent is init, which means this process is orphaned and the real parent terminated. |
You could try it with a plain git command via In theory, assuming |
Hello @Byron , |
Thanks. It looks like there is nothing that could be done here as it's a problem with |
Hello,
We have a list of repositories we're running over and performing
Repo.clone_from
on each one.I can see the underlying command created is:
git clone -v --depth=1 -b 3.23.66 -- ssh://*****@*****lab-prod.server.sim.cloud/terraform/modules/aws-eks /tmp/dest
The operations fail with
Could not resolve hostname
(which is OK), but the problem is that the exit is not clean and leaves ssh processes dangling. From investigating it looks like they are zombie processes with no cmdLine or any other useful info.These processes quickly pile up and cause us to hit system limits. Please assist with understanding the issue.
Any advice will be much appreciated.
The text was updated successfully, but these errors were encountered: