few tcp flow entries not deleted forever
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Anand H. Krishnan | |||
Trunk |
Fix Committed
|
High
|
Anand H. Krishnan |
Bug Description
R2.20 Build 111 Ubuntu 14.04 Juno multi-node setup
Between two vms on the two compute nodes, i was doing continuous hping3 traffic to 1k ports (in a loop)
After the traffic was stopped, one flow was left undeleted (stays forever)
root@nodek1:~# flow -l
Flow table(size 537919488, entries 4202496)
Entries: Created 6187365 Added 6187263 Processed 6187365 Used Overflow entries 0
(Created Flows/CPU: 0 0 0 1 0 0 0 0 718206 714381 680628 679650 725306 716998 719565 720477 0 2 0 0 0 0 0 0 64125 62305 61468 61247 68315 70846 63842 60003)(oflows 0)
Action:F=Forward, D=Drop N=NAT(S=SNAT, D=DNAT, Ps=SPAT, Pd=DPAT, L=Link Local Port)
Other:
Flags:E=Evicted, Ec=Evict Candidate, N=New Flow, M=Modified
TCP(r=reverse)
Index Source:Port Destination:Port Proto(V)
-------
369352<=>144172 219.14.75.4:31336 219.14.75.3:2200 6 (6)
(K(nh):51, Action:F, Flags:EcM, TCP:SRD, S(nh):51, Stats:1/54, SPort:53652)
Another flow
3364564<=>3543304 219.14.75.3:2200 219.14.75.4:42112 6 (6)
(K(nh):51, Action:F, Flags:, TCP:Sr, S(nh):14, Stats:22/1188, SPort:56455)
----------------
root@nodek1:~# flow -l
Flow table(size 537919488, entries 4202496)
Entries: Created 6187385 Added 6187283 Processed 6187385 Used Overflow entries 0
(Created Flows/CPU: 0 0 0 3 0 0 0 0 718206 714383 680628 679651 725307 717001 719566 720479 0 2 0 0 0 0 0 0 64125 62308 61469 61247 68315 70848 63842 60005)(oflows 0)
Action:F=Forward, D=Drop N=NAT(S=SNAT, D=DNAT, Ps=SPAT, Pd=DPAT, L=Link Local Port) K(nh)=Key_ Nexthop, S(nh)=RPF_Nexthop, M=Mirror Index :S=SYN, F=FIN, R=RST, C=HalfClose, E=Established, D=Dead
Other:
Flags:E=Evicted, Ec=Evict Candidate, N=New Flow, M=Modified
TCP(r=reverse)
Index Source:Port Destination:Port Proto(V) ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
369352<=>144172 219.14.75.4:31336 219.14.75.3:2200 6 (6)
(K(nh):51, Action:F, Flags:EcM, TCP:SRD, S(nh):51, Stats:1/54, SPort:53652)
1696148<=>3502704 10.204. 216.221: 54370 169.254.0.4:22 6 (0->6)
(K(nh):5, Action:N(SD), Flags:, TCP:SSrEEr, S(nh):5, Stats:5405/300325, SPort:51206)
3364564<=>3543304 219.14.75.3:2200 219.14.75.4:42112 6 (6)
(K(nh):51, Action:F, Flags:, TCP:Sr, S(nh):14, Stats:22/1188, SPort:56455)
3502704<=>1696148 219.14.75.4:22 169.254. 169.254: 54370 6 (6->0)
(K(nh):51, Action:N(SD), Flags:, TCP:SSrEEr, S(nh):51, Stats:5063/506877, SPort:52656)
root@nodek1:~#