[ 
https://issues.apache.org/jira/browse/THRIFT-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612481#comment-13612481
 ] 

Hudson commented on THRIFT-1881:
--------------------------------

Integrated in Thrift #633 (See [https://builds.apache.org/job/Thrift/633/])
    THRIFT-1881 TNonblockingServer does not release open connections or threads 
on shutdown (Revision 0c04fccf3a32a334cb449b5b7990e9d116639ce0)

     Result = ABORTED
roger : 
https://git-wip-us.apache.org/repos/asf?p=thrift.git&a=commit&h=0c04fccf3a32a334cb449b5b7990e9d116639ce0
Files : 
* lib/cpp/src/thrift/server/TNonblockingServer.cpp
* lib/cpp/src/thrift/server/TNonblockingServer.h

                
> 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
>            Assignee: Roger Meier
>              Labels: patch
>             Fix For: 1.0
>
>         Attachments: cppnbserverleak.patch
>
>
> 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

Reply via email to