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

Min Zhou edited comment on TAJO-525 at 1/20/14 3:11 AM:
--------------------------------------------------------

It's terrible each execution block creates a new  AsyncRpcClient, which creates 
a number of threads for each execution block.
By default, netty create 1 boss thread and cores*2 io worker thread. In my case 
each execution block caused creating at most 1 + 24 * 2 = 49  threads! 




was (Author: coderplay):
It's terrible each execution block creates a new  AsyncRpcClient, which creates 
a number of threads for each execution block.
By default, netty create 1 boss thread and cores*2 io worker thread. In my case 
each execution block create at most 1 + 24 * 2 = 49  threads! 



> Concurrent queries hang
> -----------------------
>
>                 Key: TAJO-525
>                 URL: https://issues.apache.org/jira/browse/TAJO-525
>             Project: Tajo
>          Issue Type: Bug
>    Affects Versions: 0.8-incubating
>            Reporter: Min Zhou
>            Priority: Critical
>             Fix For: 0.8-incubating
>
>         Attachments: pstack
>
>
> When I run a simple query "select count(1) from lineitem;" in one tsql 
> session and after that run the 2nd query in another tsql session.  The 2nd 
> one hung.  
> After the 1st one done,  the 2nd one still stuck at 0%.
> After that, run the same query in the first tsql session, the 3rd query also 
> hung.  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to