Skip to content
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

SSHTunnelForwarder leaves defunct SSH zombie processes #294

Open
LiteWait opened this issue Nov 6, 2024 · 0 comments
Open

SSHTunnelForwarder leaves defunct SSH zombie processes #294

LiteWait opened this issue Nov 6, 2024 · 0 comments

Comments

@LiteWait
Copy link

LiteWait commented Nov 6, 2024

Simple application that opens a forwarder to a remote system, makes a PostgreSQL query and then stops the forwarder.

If I add a sleep after the forwarder.stop() I see a defunct SSH process which goes away when the Python app exits.

Problem: If this scenario is used with a long running Python process, it keeps leaving more and more defunct processes.

sshtunnel==0.4.0 (latest)

Please advise.

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

No branches or pull requests

1 participant