Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-102

SCTP socket stats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 17.5, 18.2
    • Fix Version/s: 19.1
    • Component/s: erts, kernel
    • Labels:
      None

      Description

      I've recently played with the SCTP connections and noticed that when I'm trying to get SCTP socket stats (using inet:getstat(Socket) function) I'm always receiving zero (0) values for sending side options.

      {ok,[{recv_oct,96},
           {recv_cnt,7},
           {recv_max,16},
           {recv_avg,13},
           {recv_dvi,2},
           {send_oct,0},
           {send_cnt,0},
           {send_max,0},
           {send_avg,0},
           {send_pend,0}]}.
      

      This reproduces on both 17.5.6.8 and 18.2.

      The same command shows proper values for TCP sockets, but for SCTP most likely something is wrong with it.

        Attachments

          Activity

            People

            Assignee:
            raimo Raimo Niskanen
            Reporter:
            systra systra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: