You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/02 05:59:04 UTC
[GitHub] nickva opened a new pull request #1636: Improve connection cleanup
in replication connection pool
nickva opened a new pull request #1636: Improve connection cleanup in replication connection pool
URL: https://github.com/apache/couchdb/pull/1636
Previously when an owner process crashed before it had a chance to release the
worker to the pool, the worker entry was simply deleted. In some cases that
was ok because ibrowse's innactivity timeout would kick in and connection would
stop itself. In other cases, as observed in practice with _changes feed
connection over TLS protocol, innactivity timeout would never fire, so these
deleted connections would slowly accumulate leaking memory and filling the
process table. TLS connection would keep an assosiated session
open as well making things even worse.
To prevent the connection leak, explicitly unlink and kill the worker.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services