Skip to content

BACKPORT: Fix zombie process accumulation in ProxyCommand - #996

Closed
nbartos wants to merge 1 commit into
paramiko:2.0from
nbartos:zombie-2.0
Closed

nbartos wants to merge 1 commit into
paramiko:2.0from
nbartos:zombie-2.0

Conversation

@nbartos

@nbartos nbartos commented Jun 13, 2017

Copy link
Copy Markdown

After a proxy command exits, a defunct process will stick around
until the calling process exits. This can accumulate to hundreds
or thousands of processes if you are polling a remote server.

The main problem is that wait() wasn't being called, however some
extra logic was added to send a KILL if for some reason TERM doesn't
end up doing it.

After a proxy command exits, a defunct process will stick around
until the calling process exits.  This can accumulate to hundreds
or thousands of processes if you are polling a remote server.

The main problem is that wait() wasn't being called, however some
extra logic was added to send a KILL if for some reason TERM doesn't
end up doing it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant