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

   ### Current Behavior
   
   We set up a http-logger to send requests to ActiveMQ using the http 
protocol. After some time, we noticed that the ActiveMQ hangs and is not 
responsible any more.
   
   After some investigation, we found out that the number of open connections 
between APISIX and ActiveMQ is increasing.
   
   Currently in our system, we have ~150 connection in ESTABLISHED, TIME_WAIT, 
LAST_ACK and CLOSE_WAIT states. By increasing load on APISIX, this number 
increase.
   
   By examining the source code for http-logger.lua, I can observe that http 
connection is opened, but never closed, which could lead to the connection leak 
when we have largen number of requests.
   
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Configure http-logger plugin to send request data to ActiveMQ http 
endpoint
   2. Run stress test on APISIX
   3. Observe number of open http connections between APISIX and ActiveMQ
   
   ### Environment
   
   - APISIX version 3.9


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

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

Reply via email to