1321822099 commented on issue #10559:
URL: https://github.com/apache/apisix/issues/10559#issuecomment-1869291270

   1. 使用pmap命令观察pid为1的进程,发现RSS不断增长。
   2. 安装以下插件:
   {
     "uri": "/lua_memory_stat",
     "host": "abc.test.com",
     "plugins": {
       "serverless-pre-function": {
         "phase": "rewrite",
         "functions": [
           "return function() local mem = collectgarbage(\"count\") 
ngx.say(\"the memory allocated by lua is \", mem, \" kb\"); end"
         ]
       }
     }
   }
   请求路由后,有以下输出:
   the memory allocated by lua is 8146.1640625 kb
   并且随着压测,并无明显增长,一直区域某个区间内 


-- 
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-unsubscr...@apisix.apache.org

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

Reply via email to