Giter Site home page Giter Site logo

File descriptor exhaustion about roving HOT 6 OPEN

sjcappella avatar sjcappella commented on August 11, 2024
File descriptor exhaustion

from roving.

Comments (6)

richo avatar richo commented on August 11, 2024

Fascinating (And sorry for not seeing these issues, evidently they got lost in my inbox).

I'll have a look today- how long was longrunning? I've successfully left roving going for O(weeks) and not had issues. In any case, I have some hunches about where this is, I'll see if I can repro today.

from roving.

richo avatar richo commented on August 11, 2024

uh, to be clear is this the server or the client leaking the fd's?

from roving.

sjcappella avatar sjcappella commented on August 11, 2024

Ah, sorry I wasn't more specific. I blew that setup away a while ago. If I remember correctly, it was the client leaking the FDs. I had about 64 instances running across 3 boxes and eventually they all ran out. I can try and set this up this weekend and see if I can reproduce. But I just remember that after having it run for a while, eventually there was a file based resource exhaustion that prevented synching.

from roving.

richo avatar richo commented on August 11, 2024

I can pretty easily try to repro, I just wanted to make sure I knew what I was reproing.

I'll update this with more info

from roving.

richo avatar richo commented on August 11, 2024

Were you running with a really low limit on fd's by any chance?

With a really low limit (50) I've been able to repro what I believe is it (The tar step fails, I haven't dug but I bet it's it). However what's interesting is that with a higher limit (1000) it doesn't crash.

My theory is that whatever I'm leaking eventually gets freed by GC, but that with a sufficiently low limit, the GC pass never happens. The patch I just pushed doesn't help.

from roving.

sjcappella avatar sjcappella commented on August 11, 2024

I was running stock Ubuntu 15.04 x64 without any changes to max fd settings. I did do some reading into how Go handles fd's when I first encountered the issue and after researching Go's fd and GC, saw that Go will use GC to mange them, so I wasn't sure if that was the issue or not. Your guess is much more accurate than mine. I haven't had the chance to seriously look at Go.

from roving.

Related Issues (6)

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.