fatal: systemstack called from unexpected goroutine
caili1981 opened this issue · 0 comments
caili1981 commented
version
gobgp-v2.34 latest.
TOPO
R1 <-> R2
10 * Ebgp Peer
how to reproduce
run the following cmd in R1 for about 8 hours.
./add_route_cmd.sh 1 100 1 250 1 250
neighbor info
Peer AS Up/Down State |#Received Accepted
169.254.101.1 65531 00:55:04 Establ | 0 0
169.254.102.1 65531 00:55:03 Establ | 0 0
169.254.103.1 65531 00:55:05 Establ | 0 0
169.254.104.1 65531 00:55:03 Establ | 0 0
169.254.105.1 65531 00:55:04 Establ | 0 0
169.254.106.1 65531 00:55:04 Establ | 0 0
169.254.107.1 65531 00:55:05 Establ | 0 0
169.254.108.1 65531 00:55:05 Establ | 0 0
169.254.109.1 65531 00:55:04 Establ | 0 0
169.254.110.1 65531 00:55:05 Establ | 0 0
script
#!/bin/bash
start=$1
end=$2
start2=$3
end2=$4
start3=$5
end3=$6
for (( i=$start; i<=$end; i++ )); do
for (( j=$start2; j<=$end2; j++ )); do
for (( k=$start3; k<=$end3; k++ )); do
gobgp global rib add 1.$i.$j.$k/32
done
for (( k=$start3; k<=$end3; k++ )); do
gobgp global rib del 1.$i.$j.$k/32
done
done
done