'dropped due to full socket buffers' by SNMP

Eugene Grosbein eugen at grosbein.net
Fri Jan 1 00:19:38 UTC 2021


30.12.2020 23:08, Victor Gamov wrote:

> As I understand hw.ix.flow_control=3 to allow flow-control for negotiation.
> Real PAUSE setting will be set during negotiation.

At the moment of congestion.

>  So where I can find active flow-control setting for host interface?

Can't check for ix just now, but for em(4) there is sysctl dev.em.0.fc.
It should be similar for ix.

>> maybe increase kern.ipc.maxsockbuf and then net.inet.udp.recvspace.
> Eugene, at first message you suppose Host-A (sender) "outgoing link for that UDP packets is congested"
> because this host shows non-zero "dropped due to full socket buffers".
> So is net.inet.udp.recvspace increasing on Host-B (mainly receiver) will be affected for this congestion?

Can't tell in details without going deep into your setup :-)
You can try it yourself and verify quickly.

> Or I need to try to increase both kern.ipc.maxsockbuf and net.inet.udp.recvspace on both hosts?

Tune one that drops UDP.

> Also how I can check current sockbuf usage?

netstat -xn



More information about the freebsd-net mailing list