Coder Social home page Coder Social logo

Comments (5)

niklata avatar niklata commented on August 18, 2024

Thanks for the report! Something unexpected is happening with the ARP or DHCP timeouts. Please apply the following debug patch and provide a sample of some of the prints:

http://dpaste.com/3S3JX3K

from ndhc.

niklata avatar niklata commented on August 18, 2024

I've just pushed a commit that adds a failsafe to prevent the rapid-busy spin (it will force ndhc to wake up every 10s instead).

I'd still be very interested in the output from the debugging patch I posted in the previous comment, as I'd like to correct any issue that may have caused the bad behavior you've encountered.

from ndhc.

thypon avatar thypon commented on August 18, 2024

Thanks!

http://dpaste.com/362SXWS

from ndhc.

niklata avatar niklata commented on August 18, 2024

I think these problems are being caused by the long lease time on your network (which is perfectly valid -- it's an issue in ndhc).

I've pushed some commits that should clean up some possible truncation/overflow issues related to time values being represented as long long or unsigned long long being truncated down to epoll_wait's int-sized timeout.

Please let me know if the current ndhc master still has the problem. Thank you for the strace and debug print trace; they've been very helpful!

from ndhc.

thypon avatar thypon commented on August 18, 2024

It's working with the latest version. Thank you.

from ndhc.

Related Issues (9)

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.