MohammadrezaNasrabadi commented on issue #5196:
URL: https://github.com/apache/couchdb/issues/5196#issuecomment-2466663169

   We performed experiments to find the main reason for this problem.
   The problem (connections in CLOSE-WAIT state) happens even without
   a CouchDB cluster and with a local loopback connection.  It seems
   that CouchDB does not close some of its connections after the
   client closes it; therefore, the connections remain in CLOSE-WAIT
   state.
   
   We connect to CouchDB from an Elixir application using the hackney
   library.  After a few weeks of running, we have thousands of CouchDB
   connections in CLOSE-WAIT state that disappear only by restarting
   CouchDB.  We have not yet found which of the connections made by
   hackney remain in CLOSE-WAIT state when hackney closes it.


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