Randy Abernethy created THRIFT-1881:
---------------------------------------
Summary: TNonblockingServer does not release open connections or
threads on shutdown
Key: THRIFT-1881
URL: https://issues.apache.org/jira/browse/THRIFT-1881
Project: Thrift
Issue Type: Bug
Components: C++ - Library
Affects Versions: 1.0
Environment: Centos 6.3/Windows 7
Reporter: Randy Abernethy
Fix For: 1.0
TNonblockingServer fails to release active TConnections on shutdown (per
comments in the code). An important side effect is that the connection owned
resources are not freed, in particular destructor clean up code in user defined
service handlers. Also the interdependency between Threads and
TNonblockingIOThreads via shared_ptr causes all of these objects to leak. This
patch reduces the leaked heap blocks from > 100 to 1 on my test machines using
an assortment of threads and terminal connection states.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira