[Olsr-dev] info plugin connection hanging

Joe Ayers (spam-protected)
Sun Oct 22 20:30:17 CEST 2017


Would appreciate any pointers to addressing the following failure.

OpenWrt CC
0.9.6.2-git_8e32ff4-hash_cdaa6990297f6561cff31a78a3e5d4e6

Scenario and symptoms:
* poll "echo /lin | nc 127.0.0.1 2006" every 5 seconds to set a device LED
on if there are live links.
* tunnel (olsr) interfaces that may connect and disconnect
*  At the same time across the mesh network a laptop is mapping and polls
"echo /all | nc nodehost 9090"
* olsr stops functioning (assumed blocked) and node drops out of routing
tables across the mesh
* on a mesh with long distance RF links, some low quality with high latency
(upwards of 500ms), ~6 nodes experienced these symptoms (it's not too
difficult to reproduce) in an hour

Here's an instance I captured this morning.    After ~15 min I killed the
"nc" related processes.  A few minutes later, restarted olsrd to recover:

1426 root      1364 S    {olsrd-namechang} /bin/sh
/usr/local/bin/olsrd-namechange-loop
→ 1
1398 root      1364 S    {linkled} /bin/sh /usr/local/bin/linkled → 1
4735 root      3428 S    {olsrd-namechang} /usr/bin/perl
/usr/local/bin/olsrd-namechange → 1426
4743 root      1360 S    sh -c echo /lin | nc 127.0.0.1 2006 2>/dev/null →
4735
4745 root      1360 S    nc 127.0.0.1 2006 → 4743
4749 root      1360 S    nc 127.0.0.1 2006 → 1398

[10:28]
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State

tcp        0      0 0.0.0.0:9090            0.0.0.0:*               LISTEN

tcp        2      0 0.0.0.0:2006            0.0.0.0:*               LISTEN

tcp        6      0 localhost:2006          localhost:34404
 CLOSE_WAIT
tcp        6      0 localhost:2006          localhost:34403
 CLOSE_WAIT
tcp        0      6 localhost:34410         localhost:2006
FIN_WAIT1
tcp        0      0 localhost:34404         localhost:2006
FIN_WAIT2
tcp        0      0 localhost:34403         localhost:2006
FIN_WAIT2

More data of the node in this state before killing processes:
https://drive.google.com/file/d/0B2bEy75HhwWhVE1BQ3BUdHY3azg/view?usp=sharing

Joe AE6XE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20171022/c5ecea47/attachment.html>


More information about the Olsr-dev mailing list