Code Monkey home page Code Monkey logo

Comments (5)

xiang90 avatar xiang90 commented on May 19, 2024

@wereHamster Based on your reporting on IRC, seems like you are not using the newest version of etcd, which has a socket leak problem (I am solving that).
I do not think etcd controls any tcp connection in the previous version. The golang's http package help to maintain all persistent connections. It is also possible that the leak is caused by the client side (based on the stats you gave me, there were about 10K reads). Which client library are you using?

from etcd.

wereHamster avatar wereHamster commented on May 19, 2024

The client is written in haskell and uses conduit-http for the http connection. I don't think the client is a problem though, as the dangling connections were on port 7001 between the two etcd instances.

from etcd.

philips avatar philips commented on May 19, 2024

@wereHamster Can you please test with the latest master version? I don't know if this is fixed or how to reproduce.

from etcd.

wereHamster avatar wereHamster commented on May 19, 2024

I'm running v0.1.2-29-g3be69f0 now and the problem still persists. The server has about 2k connections in TIME_WAIT. Though etcd still accepts connections on port 4001, something which previously failed due to the 'out of sockets' condition. Also, I don't see any error messages in the log file.

So I'm not sure if it's fixed. One one hand etcd works (as in, clients can connect to it and do their job), on the other hand 2k connections in TIME_WAIT still seems suspicious.

from etcd.

wereHamster avatar wereHamster commented on May 19, 2024

Hm, only one of the two servers in the cluster was updated. The other one is still running v0.1.1-46-gadbcbef. That could explain that I'm seeing TIME_WAIT but no CLOSE_WAIT on the machine that's running the latest version. I'll update the second machine as well and will get back to you in a day or two.

from etcd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.