chenqiaorui opened a new issue, #7550:
URL: https://github.com/apache/apisix/issues/7550

   ### Current Behavior
   
   openresty其中一个子进程cpu100%,使用ltrace追踪该异常进程,结果如下:
   ...
   lua_gettop(0x7fda9c61f508, 0x7fdaa930300e, 0x7fda9c0e2b68, 0x7fda9c0e2c10) = 
1 
   lua_getexdata(0x7fda9c61f508, 0x7fdaa930300e, 0x7fda9c0e2b68, 
0x7fda9c0e2c10) = 0x91a650
   luaL_checktype(0x7fda9c61f508, 1, 5, 0x7fda9c0e2c10) = 5
   lua_rawgeti(0x7fda9c61f508, 1, 1, 44)            = 0x7fda9c0e2b78
   lua_touserdata(0x7fda9c61f508, 0xffffffff, 0xfff9ffda9c16b090, 44) = 
0x7fda9c16b0c0
   lua_pushnil(0x7fda9c61f508, -1, 69, -13)         = 0x7fda9c0e2b80
   lua_pushlstring(0x7fda9c61f508, 0x54cf9b, 6, -13) = 0xfffdffdaa9302ff0
   lua_gettop(0x7fda9c61f508, 0x7fdaa930300e, 0x7fda9c0e2b68, 0x7fda9c0e2c10) = 
1
   lua_getexdata(0x7fda9c61f508, 0x7fdaa930300e, 0x7fda9c0e2b68, 
0x7fda9c0e2c10) = 0x91a650
   luaL_checktype(0x7fda9c61f508, 1, 5, 0x7fda9c0e2c10) = 5
   lua_rawgeti(0x7fda9c61f508, 1, 1, 44)            = 0x7fda9c0e2b78
   lua_touserdata(0x7fda9c61f508, 0xffffffff, 0xfff9ffda9c16b090, 44) = 
0x7fda9c16b0c0
   lua_pushnil(0x7fda9c61f508, -1, 69, -13)         = 0x7fda9c0e2b80
   lua_pushlstring(0x7fda9c61f508, 0x54cf9b, 6, -13) = 0xfffdffdaa9302ff0
   ...
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1.apisix是源码编译,部署在centos
   2.不稳定复现,apisix运行两个月左右就出现一个nginx子进程cpu占用100%。
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.9
   - Operating system (run `uname -a`): Linux test-181-102-abjc 
3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 
x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx 
version: openresty/1.19.9.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`): 3.4.0
   - APISIX Dashboard version, if relevant: 2.7
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`): 
/usr/local/bin/luarocks 3.4.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to