You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ShenFeng312 (via GitHub)" <gi...@apache.org> on 2024/03/07 07:31:04 UTC

[I] bug: access.log oom [apisix]

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

   ### Current Behavior
   
   Our service often experiences insufficient memory leading to restarts. After dumping memory, it was found that the majority of content consists of strings from the access.log. Hence, it is speculated that the OOM (Out of Memory) issue is caused by the logs.
   
   ![image](https://github.com/apache/apisix/assets/49786112/684665d6-e1bb-4832-8a7c-1b7d3a0f53f1)
   ![image](https://github.com/apache/apisix/assets/49786112/caf5531e-2990-42b3-b2c3-fdd651aa2163)
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   every time
   
   ### Environment
   
   - APISIX version (3.7):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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.apache.org

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


Re: [I] bug: access.log oom [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-2890384358

   If there is still a problem, please open it again.


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "qiyuan4f (via GitHub)" <gi...@apache.org>.
qiyuan4f commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-2420054107

   <img width="940" alt="image" src="https://github.com/user-attachments/assets/6543e47b-6e63-4b03-b343-b79e1f6382f4">
   


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "qiyuan4f (via GitHub)" <gi...@apache.org>.
qiyuan4f commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-2418466183

   @ShenFeng312 any update on this?
   I feel like the root cause is not log. Actually, I have similar symptom the memory is increasing until OOM.
   In my case, most of contents were request body info when I dump the memory.
   <img width="976" alt="image" src="https://github.com/user-attachments/assets/e19e37bd-27e1-4d10-b76b-bf4d6c27f1ac">
   
   
   There is no issue when I remove APISIX, using openresty only in the same environment. I think should  be the issue somewhere within APISIX modules, still not found yet due to all the systemtap tool doesn't work for latest version.
   


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "ShenFeng312 (via GitHub)" <gi...@apache.org>.
ShenFeng312 commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-1982763498

   ![image](https://github.com/apache/apisix/assets/49786112/54042f3c-19d6-4c55-828e-bb5e1d7dc60d)
   


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "theweakgod (via GitHub)" <gi...@apache.org>.
theweakgod commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-1984962594

   could u please show ur config.yaml?


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "ShenFeng312 (via GitHub)" <gi...@apache.org>.
ShenFeng312 commented on issue #11012:
URL: https://github.com/apache/apisix/issues/11012#issuecomment-1982765608

   ![image](https://github.com/apache/apisix/assets/49786112/0396df7d-7ffc-4594-be5e-4b3b0ffa07be)
   


-- 
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


Re: [I] bug: access.log oom [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop closed issue #11012: bug: access.log oom
URL: https://github.com/apache/apisix/issues/11012


-- 
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