Hi all!
why is ribd using so much CPU?
top - 11:08:59 up 22:32, 1 user, load average: 1.19, 1.13, 1.14 Tasks: 79 total, 4 running, 75 sleeping, 0 stopped, 0 zombie %Cpu(s): 19.1 us, 30.4 sy, 0.0 ni, 45.8 id, 0.0 wa, 0.0 hi, 4.7 si, 0.0 st KiB Mem: 2040536 total, 1142760 used, 897776 free, 30196 buffers KiB Swap: 0 total, 0 used, 0 free, 124680 cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 642 root 20 0 143m 140m 1620 R 64.0 7.0 706:29.91 ribd 632 root 20 0 7324 3028 2000 R 26.5 0.1 295:15.79 nsm 813 root 20 0 597m 593m 2556 S 7.0 29.8 78:16.36 bgpd 3 root 20 0 0 0 0 R 2.7 0.0 25:16.98 ksoftirqd/0 626 root 20 0 119m 8452 3548 S 2.0 0.4 10:07.53 ubnt-util 13 root 20 0 0 0 0 S 1.0 0.0 15:12.29 ksoftirqd/1 3757 root 20 0 2744 1040 796 S 0.7 0.1 5:24.24 olsrd 9 root 20 0 0 0 0 S 0.3 0.0 1:51.98 rcu_sched 534 root 20 0 1948 276 220 S 0.3 0.0 3:20.00 rngd 23752 rack 20 0 3636 1312 1008 R 0.3 0.1 0:02.34 top 1 root 20 0 2568 760 656 S 0.0 0.0 0:02.20 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:0H 6 root 20 0 0 0 0 S 0.0 0.0 0:04.40 kworker/u4:0 7 root rt 0 0 0 0 S 0.0 0.0 0:04.70 migration/0 8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh 10 root rt 0 0 0 0 S 0.0 0.0 0:00.86 watchdog/0
I can not see overall CPU usage under 50%.
:~$show system memory total used free shared buffers cached Mem: 2040536 1143140 897396 0 30248 124964 Swap: 0 0 0 Total: 2040536 1143140 897396
This command needs up to 12 seconds to respond:
:~$ show ip bgp summary BGP router identifier 91.205.12.2, local AS number 201962 BGP table version is 1813300 175149 BGP AS-PATH entries 39882 BGP community entries 4 Configured ebgp ECMP multipath: Currently set at 4 1 Configured ibgp ECMP multipath: Currently set at 1 Neighbor V AS MsgRcv MsgSen TblVer InQ OutQ Up/Down State/PfxRcd 5.56.17.161 4 33891 334087 2372 1813265 0 0 22:23:35 595118 185.58.30.241 4 201962 215397 169513 1812397 0 0 22:29:15 565920 185.58.30.246 4 204218 2687 171938 1812380 0 0 22:29:29 1 193.33.216.161 4 197999 208158 2376 1813258 0 0 22:25:50 594167 2a01:4a0:1338:ba::1 4 33891 48201 2368 1813258 0 0 22:21:44 0 2a03:1a80:babe:2::1 4 197999 0 0 0 0 0 never Connect 2a04:df80:2::4 4 201962 265210 192351 1812397 0 0 22:29:05 0 Total number of neighbors 7 Total number of Established sessions 6
Yesterday that machine was not reachable anymore via IPv4. No routing was possible. OLSR (Routing-Daemon) did announce a 0.0.0.0/0 route to the rest of the network and any packet that was routed via that router was dropped. IPv6 was working, so i was able to connect via SSH via IPv6 but not via IPv4.
Only a reboot solved the issue.
I hope i will get this issue again, so i can gather some more informations.