You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Brock Noland (JIRA)" <ji...@apache.org> on 2013/03/24 22:05:15 UTC

[jira] [Commented] (THRIFT-1869) TThreadPoolServer (java) dies when threadpool is consumed

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

Brock Noland commented on THRIFT-1869:
--------------------------------------

Thanks Roger!
                
> TThreadPoolServer (java) dies when threadpool is consumed
> ---------------------------------------------------------
>
>                 Key: THRIFT-1869
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1869
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.9
>            Reporter: Brock Noland
>            Assignee: Roger Meier
>         Attachments: THRIFT-1869-0.patch
>
>
> When TThreadPoolServer hit's max threads, it throws a RejectedExceptionException and dies. This is not expected by users of this class.
> {noformat}
> java.util.concurrent.RejectedExecutionException 
> at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) 
> at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) 
> at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) 
> at org.apache.thrift.server.TThreadPoolServer.serve(TThreadPoolServer.java:108) 
> {noformat}

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