Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
openresty
Conversations
Labels
About
Groups keyboard shortcuts have been updated
Dismiss
See shortcuts
经常出现worker CPU 100%,卡在luajit的一个循环中
74 views
Skip to first unread message
davi...@gmail.com
unread,
Jan 3, 2024, 10:45:40 PM
1/3/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
我们的生产环境中经常出现一个或多个worker卡在CPU 100%的情况,上图使用了openresty-gdb-utils和openresty-systemtap-toolkit都抓不到lua堆栈,只能看到C的堆栈。大概确定是卡在luajit的循环中。
我们使用的是openresty 1.13.6.2,尝试过单独更新luajit,但是问题依旧。
请教大佬们,该如何解决呢?或者有没有别的排查手段呢?
along
unread,
Feb 3, 2024, 10:50:40 PM
2/3/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to openresty
1,如果是可以百分百复现,应该也可以解决;看下对应的lua代码写的有没有啥问题;
2,试用一下openresty-xray试试;
3,升级openresty试试;
Reply all
Reply to author
Forward
0 new messages