Visitar URL original
client add Close function · Issue #268 · docker-archive-public/docker.engine-api · GitHub
Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

client add Close function  #268

Open

Description

@lostz

HI all:
I use engine-api for my docker monitor,my program run all the time。
I find that
taishan 47434 root 9u unix 0xffff882025aae180 0t0 4493265 socket
taishan 47434 root 10u unix 0xffff880cbdc1bfc0 0t0 6003816 socket
taishan 47434 root 11u unix 0xffff880cbdc1a1c0 0t0 6003974 socket
taishan 47434 root 12u unix 0xffff880cbdc1cec0 0t0 6004348 socket
taishan 47434 root 13u unix 0xffff880e2e081e00 0t0 5991382 socket
taishan 47434 root 14u unix 0xffff882025aae540 0t0 4493267 socket
taishan 47434 root 15u unix 0xffff880c82125dc0 0t0 6009421 socket
taishan 47434 root 16u unix 0xffff8830273c2d00 0t0 5978477 socket
taishan 47434 root 17u unix 0xffff880f8d234b00 0t0 5998242 socket
So I advise add a Close function to close the client unix socket。

Activity

  1. jhorwit2 commented on Jul 24, 2016

    @jhorwit2

    If you make your own http client/transport then pass it to NewClient you can call CloseIdleConnections which should get rid of those.

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