Git Product home page Git Product logo

Comments (4)

yannmh avatar yannmh commented on June 15, 2024

Thank you for such a detailed feedback @mikejr !
We'll spend more time looking at this during the next few days to bring the appropriate modifications.

from datadogpy.

yannmh avatar yannmh commented on June 15, 2024

Hi @mikejr,

I have been running more tests, but I am unable to identify any thread safety related issue.
While running your snippet, I only see [Errno 61] Connection refused exception raised when socket.connect is used.

About [Errno 61] Connection refused

This message indicates that an ICMP Destination Unreachable response has been received in reply to a packet sent to an unbound port on the server.

This is an expected behavior here: in a "connected" mode, the socket would report (with enough delay to receive it) any ICMP response. Thus, I see the same exception when using a single thread and a few seconds wait between two socket.send calls. At the opposite, I see no exceptions, when socket.connect targets to a listening port.

@mikejr can you confirm that you are seing the same exception ? If so, we should investigate on the host side to understand why it becomes unreachable (defficient, restarting DogStatsd server ?).

Yann

from datadogpy.

mikejr avatar mikejr commented on June 15, 2024

@yannmh Yep, thats the same error and it does occur when DogStatsd is unavailable. I was trying to avoid spamming the logs when shutting down DogStatsd. Will take another route. Thanks for looking into it.

from datadogpy.

yannmh avatar yannmh commented on June 15, 2024

Thanks for confirming.
I am closing the issue. Please feel free to reopen if needed.

from datadogpy.

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.