You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/22 04:25:16 UTC

[GitHub] [apisix] lizj3624 opened a new issue #6412: bug: lj_str_new high CPU usague when performance testing with about 10k http request body

lizj3624 opened a new issue #6412:
URL: https://github.com/apache/apisix/issues/6412


   ### Issue description
   
    lj_str_new high CPU usague when performance testing with about 10k http request body,I  think it's ngx_lua promble, [ngx_lua issue](https://github.com/openresty/lua-nginx-module/issues/2015),apisix tested similar case and encountered similar problems?
   
   lj_str_new high cpu usague when access_by_lua of ngx_lua
   ![ME1645502052074](https://user-images.githubusercontent.com/1217777/155062693-decb2939-5ec4-42c1-a102-f7b4189ea871.jpg)
   
   
   
   ### Environment
   
   - OS (cmd: `uname -a`): Centos6
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): OpenResty-1.15.8
   - CPU: Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
   - worker num: 15
   - http request 8k ~10k,10w qps
   
   
   ### Steps to reproduce
   
   1. performance testing with about 10k http request body
   2. access_by_lua enabled
   
   ### Actual result
   
   lj_str_new high CPU usague 
   
   ### Error log
   
   lj_str_new high CPU usague 
   
   ### Expected result
   
   _No response_


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] lizj3624 closed issue #6412: bug: lj_str_new high CPU usague when performance testing with about 10k http request body

Posted by GitBox <gi...@apache.org>.
lizj3624 closed issue #6412:
URL: https://github.com/apache/apisix/issues/6412


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] lizj3624 commented on issue #6412: bug: lj_str_new high CPU usague when performance testing with about 10k http request body

Posted by GitBox <gi...@apache.org>.
lizj3624 commented on issue #6412:
URL: https://github.com/apache/apisix/issues/6412#issuecomment-1047451854


   I guress it's ngx_lua bug,i closed the issue in apisix, [ngx_lua issue](https://github.com/openresty/lua-nginx-module/issues/2015)


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #6412: bug: lj_str_new high CPU usague when performance testing with about 10k http request body

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6412:
URL: https://github.com/apache/apisix/issues/6412#issuecomment-1047430152


   ok, are you comfortable generating a flamegraph of your test case?
   
   you can ref: https://github.com/apache/apisix/blob/master/.github/workflows/performance.yml


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org