ytti/oxidized-web

/node/next/[NODE] endpoint is broken

shusugmt opened this issue · 0 comments

oxidized is properly setup and running. I could fetch a config from cumulus box. For simplicity, I just put one cumulus router in the source, and using File output plugin.

When I try to use /node/next/[NODE] endpoint to trigger a new fetch, the oxidized process eats 100% CPU and starts producing the following logs in massive speed, and stops responding. I read the code around lib/oxidized/worker.rb but couldn't find any clue. No logs, no crashes.

D, [2019-03-04T00:50:14.492092 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492114 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492135 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492155 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492175 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492212 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492234 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492257 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492304 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492325 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492345 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492365 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492385 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492406 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492426 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492504 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492529 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492550 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492570 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492594 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492632 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492653 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492676 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492696 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492716 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492751 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492773 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492796 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492816 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492836 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492871 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
D, [2019-03-04T00:50:14.492893 #31083] DEBUG -- : lib/oxidized/worker.rb: Jobs running: 1 of 2 - ended: 0 of 1
$ gem list|grep oxidized
oxidized (0.25.1)
oxidized-web (0.12.1)

$ ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]