[erlang-bugs] Missing sockets stats for SCTP

Raimo Niskanen raimo+erlang-bugs@REDACTED
Mon Aug 1 12:17:00 CEST 2016


Now fixed for the upcoming OTP-19.1:

    https://bugs.erlang.org/browse/ERL-102


On Wed, Feb 24, 2016 at 10:18:02PM +0000, Andrzej Trawiński wrote:
> Hi!
> 
> 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.
> 
> It shows proper values for TCP sockets, but for SCTP most likely something
> is wrong with it.
> Any ideas on this?
> 
> Thanks,
> Andrzej

> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs


-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list