Kong all worker CPU 100% #13495
Unanswered
yuanst-627
asked this question in
Help
Replies: 2 comments 1 reply
-
Hi @yuanst-627 , I noticed that you mentioned |
Beta Was this translation helpful? Give feedback.
1 reply
-
I noticed this line "/usr/local/share/lua/5.1/kong/router.lua". Since kong gateway 3.x it will not exist. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our production environment is using 100% CPU for all worker processes.
Export the flamegraph as follows
./samples/lj-lua-stacks.sxx --skip-badvars -x 621952 > a.bt
The results are as follows
[root@api-prd-api02 stapxx]# cat a.bt
0x7f17d4f3916a
T:@/usr/local/share/lua/5.1/kong/router.lua:1485
@/usr/local/share/lua/5.1/kong/router.lua:1485
@/usr/local/share/lua/5.1/kong/runloop/handler.lua:1091
@/usr/local/share/lua/5.1/kong/init.lua:752
=access_by_lua(nginx-kong.conf:257):0
2118
0x7f17d4f39164
T:@/usr/local/share/lua/5.1/kong/router.lua:1485
@/usr/local/share/lua/5.1/kong/router.lua:1485
@/usr/local/share/lua/5.1/kong/runloop/handler.lua:1091
@/usr/local/share/lua/5.1/kong/init.lua:752
=access_by_lua(nginx-kong.conf:257):0
391
kong tag : 1.3.1
Can someone help me out here? thanks
Beta Was this translation helpful? Give feedback.
All reactions