Skip to content

SSHTunnelForwarder leaves defunct SSH zombie processes #294

@LiteWait

Description

@LiteWait

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions