Git Product home page Git Product logo

Comments (4)

enobufs avatar enobufs commented on August 20, 2024

Thanks @backkem, great catch! Looks like the goroutine for T3-rtx timer is still active. (probably other timers, too) These are cleaned up when association.Close() with the current code, and it probably needs to be cleaned up when writeLoop ends also...

from sctp.

enobufs avatar enobufs commented on August 20, 2024

Hmm, I see this also in your log:

sctp DEBUG: 13:53:52.877254 association.go:499: retransmitting 900 bytes

The writeLoop has not ended with some node... I guess I need to improve the log message to dig deeper.

from sctp.

enobufs avatar enobufs commented on August 20, 2024

I confirmed SubtestPingPong test fails on my mac as well.
Looking at the log (the improved one I just pushed to writeLoop branch), there are two nodes (associations). One end terminates (I can see "writeLoop ended" and "closing association.."), but the other keeps trying to retransmit packets for about 45 seconds, then finally sees an write error on netConn. (I guess it never receives association.Close() and write succeeds during the 45 seconds (netConn is still open)...

from sctp.

enobufs avatar enobufs commented on August 20, 2024

@bacckem
With the test, SubtestStress50Conn10Stream50Msg, I was able to see some nodes firing times even though writeLoop exited.

I added a code to clean up timers when exiting writeLoop - I pushed the change to the branch. I ran the same test, SubtestStress50Conn10Stream50Msg, I no longer see a node firing rtx timeout after writeLoop exits, so it looks a bit clearner on the log but, I still see some nodes trying to retransmit packets on T3-rtx timeout but from the log. Those nodes never see association.Close() nor write error on netConn, so again, dtls is still open and writeLoop is (legitimately) running, I think.

from sctp.

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.