OLSR / OONF

OLSR.org Network Framework - olsrd v2 / DLEP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UDP socket issue

gwaeber opened this issue · comments

We saw that sometime (randomly) OLSRd2 has a problem (OLSRd2 is running but not working) at launch, cf. error message below:

16:02:58.623 WARN(packet_socket) src-plugins/subsystems/oonf_packet_socket.c 241: Cannot send UDP packet to 224.0.0.109:269: Bad file descriptor (9)

This error persist until the instance of OLSRd2 is killed. If we relaunch OLSRd2 with the same configuration, the problem can reappear or not, seems random.
Last version (commit 3a2dd24) of OLSRd2 was used, this issue also appears in previous versions.

Strange error message, (posix) documentation says it happens if the socket already has been closed, which should not be the case (unless the interface went down without triggering a netlink message to Olsrd2).

What (Linux-)distribution are you using? I assume that this is a corner-case that I don't know about.

We are using several Ubuntu 14.04.5 LTS (3.13.0-144) machines on a VMware cluster.

Are you referring the commits from 24-25 April or something else as "the following patch" ?

With the patch, the issue appears less often but we still have it from time to time.
This time when the error appears, we see one time the warning Cannot send UDP packet to 224.0.0.109:269: Bad file descriptor (9) at the beginning, then the OLSRd2 process dies.