[Olsr-dev] OLSR1: sendto IPv4 Resource temporarily unavailable / affects other neighbours

Henning Rogge (spam-protected)
Fri Sep 26 14:46:23 CEST 2014


On Fri, Sep 26, 2014 at 2:23 PM, Bastian Bittorf <(spam-protected)> wrote:
> * Henning Rogge <(spam-protected)> [26.09.2014 13:43]:
>> Errno 11 is "Resource temporary not available"... which is EWOULDBLOCK/EAGAIN.
>>
>> It seems that the outgoing UDP socket would block. Hmm...
>
> http://stackoverflow.com/questions/4165174/when-does-a-udp-sendto-block
> "This can happen if you filled up your socket buffer, but it is highly
> operating system dependent. Since UDP does not provide any guarantee
> your operating system can decide to do whatever it wants when your
> socket buffer is full: block or drop. You can try to increase SO_SNDBUF
> for temporary relief. This can even depend on the fine tuning of your
> system, for instance it can also depend on the size of the TX ring in
> the driver of your network interface."

I don't think OLSRd makes any tracking of the outgoing buffers... if
they block, the next packet should get through.

The question is why does your outgoing buffer block that long.

Henning




More information about the Olsr-dev mailing list