Skip to content

Possible fd/socket leak? #200

Description

@prologic

Is it possible that the current design of fs.s3fs can lead to fd leaks?

Currently the s3 connections are mane on demand via two properties:

In a use-case of a long-running process utilzing fs as an abstracted file system over S3; this can probably lead to fd/socket leaks. At least in my initial testing it leaves the underlying socket in a CLOSE_WAIT state and doesn't seem tto be garbage collected and cleaned up.

Can anyone confirm this behaviour?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions