Hi,
I'm running some scalability tests for OSPFv3 using Bird in docker
containers. I'm getting some error messages in the logs if I run too
many instances.
2017-04-20 21:59:57 <ERR> ospf1: Socket error on ln971_if1: Invalid argument
I have 1000 nodes connected linearly (each node connects to two
neighbors except the two end nodes that connect to only one neighbor).
I'm running Bird 1.6.2 with a kernel version 4.9.0. Is this a memory
limitation? Kernel bug?
I'll attach the first few lines of the log file.
2017-04-20 21:59:57 <TRACE> ospf1: Initializing
2017-04-20 21:59:57 <TRACE> ospf1: Starting
2017-04-20 21:59:57 <TRACE> ospf1: Adding area 0.0.0.2
2017-04-20 21:59:57 <TRACE> ospf1: Connected to table master
2017-04-20 21:59:57 <TRACE> ospf1: State changed to feed
2017-04-20 21:59:57 <INFO> Started
2017-04-20 21:59:57 <TRACE> ospf1 < interface lo goes up
2017-04-20 21:59:57 <TRACE> ospf1 < primary address ::1/128 on interface lo
added
2017-04-20 21:59:57 <TRACE> ospf1 < interface ln971_if0 goes up
2017-04-20 21:59:57 <TRACE> ospf1 < primary address
3232:231d:4886:6c43:55ce:e450:2507:92d4/128 on interface ln971_if0 added
2017-04-20 21:59:57 <TRACE> ospf1 < secondary address fe80::/64 on interface
ln971_if0 added
2017-04-20 21:59:57 <TRACE> ospf1: Adding interface ln971_if0 (IID 0) to area
0.0.0.2
2017-04-20 21:59:57 <TRACE> ospf1 < interface ln971_if1 goes up
2017-04-20 21:59:57 <TRACE> ospf1 < primary address
28c2:4554:4c10:ad86:37c2:dc52:71a5:f9fe/128 on interface ln971_if1 added
2017-04-20 21:59:57 <TRACE> ospf1 < secondary address fe80::/64 on interface
ln971_if1 added
2017-04-20 21:59:57 <TRACE> ospf1: Adding interface ln971_if1 (IID 0) to area
0.0.0.2
2017-04-20 21:59:57 <TRACE> ospf1 < interface eth0 goes up
2017-04-20 21:59:57 <TRACE> ospf1 < primary address fe80::/64 on interface eth0
added
2017-04-20 21:59:57 <TRACE> ospf1: State changed to up
2017-04-20 21:59:57 <TRACE> ospf1: Interface ln971_if1 changed state from Down
to PtP
2017-04-20 21:59:57 <TRACE> ospf1: HELLO packet sent via ln971_if1
2017-04-20 21:59:57 <ERR> ospf1: Socket error on ln971_if1: Invalid argument
2017-04-20 21:59:57 <TRACE> ospf1: Interface ln971_if0 changed state from Down
to PtP
2017-04-20 21:59:57 <TRACE> ospf1: HELLO packet sent via ln971_if0
2017-04-20 21:59:57 <ERR> ospf1: Socket error on ln971_if0: Invalid argument
2017-04-20 21:59:58 <TRACE> ospf1: Updating router state for area 0.0.0.2
2017-04-20 21:59:58 <TRACE> ospf1: Originating LSA: Type: 2001, Id: 0.0.0.0,
Rt: 0.0.3.204, Seq: 80000001
2017-04-20 21:59:58 <TRACE> ospf1: Scheduling routing table calculation
2017-04-20 21:59:58 <TRACE> ospf1: Originating LSA: Type: 2009, Id: 0.0.0.0,
Rt: 0.0.3.204, Seq: 80000001
2017-04-20 21:59:58 <TRACE> ospf1: Updating link state for ln971_if0 (Id:
0.0.213.33)
2017-04-20 21:59:58 <TRACE> ospf1: Originating LSA: Type: 0008, Id: 0.0.213.33,
Rt: 0.0.3.204, Seq: 80000001
2017-04-20 21:59:58 <TRACE> ospf1: Updating link state for ln971_if1 (Id:
0.0.213.36)
2017-04-20 21:59:58 <TRACE> ospf1: Originating LSA: Type: 0008, Id: 0.0.213.36,
Rt: 0.0.3.204, Seq: 80000001
2017-04-20 21:59:58 <TRACE> ospf1: Starting routing table calculation
2017-04-20 21:59:58 <TRACE> ospf1: Starting routing table calculation for area
0.0.0.2
2017-04-20 21:59:58 <TRACE> ospf1: Starting routing table calculation for
inter-area (area 0.0.0.2)
2017-04-20 21:59:58 <TRACE> ospf1: Starting routing table calculation for ext
routes
2017-04-20 21:59:58 <TRACE> ospf1: Starting routing table synchronisation
2017-04-20 21:59:58 <TRACE> ospf1 > added [best]
3232:231d:4886:6c43:55ce:e450:2507:92d4/128 dev ln971_if0
2017-04-20 21:59:58 <TRACE> ospf1 < rejected by protocol
3232:231d:4886:6c43:55ce:e450:2507:92d4/128 dev ln971_if0
2017-04-20 21:59:58 <TRACE> ospf1 > added [best]
28c2:4554:4c10:ad86:37c2:dc52:71a5:f9fe/128 dev ln971_if1
2017-04-20 21:59:58 <TRACE> ospf1 < rejected by protocol
28c2:4554:4c10:ad86:37c2:dc52:71a5:f9fe/128 dev ln971_if1
2017-04-20 22:00:02 <TRACE> ospf1: HELLO packet sent via ln971_if0
2017-04-20 22:00:02 <ERR> ospf1: Socket error on ln971_if0: Invalid argument
2017-04-20 22:00:02 <TRACE> ospf1: HELLO packet sent via ln971_if1
2017-04-20 22:00:02 <ERR> ospf1: Socket error on ln971_if1: Invalid argument
2017-04-20 22:00:07 <TRACE> ospf1: HELLO packet sent via ln971_if1
2017-04-20 22:00:07 <ERR> ospf1: Socket error on ln971_if1: Invalid argument
2017-04-20 22:00:07 <TRACE> ospf1: HELLO packet sent via ln971_if0