You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "zhangshilong (JIRA)" <ji...@apache.org> on 2017/12/19 06:38:02 UTC
[jira] [Updated] (HADOOP-15130) SocketIOWithTimeout async close
idle selector
[ https://issues.apache.org/jira/browse/HADOOP-15130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangshilong updated HADOOP-15130:
----------------------------------
Status: Patch Available (was: Open)
> SocketIOWithTimeout async close idle selector
> ---------------------------------------------
>
> Key: HADOOP-15130
> URL: https://issues.apache.org/jira/browse/HADOOP-15130
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common
> Reporter: zhangshilong
> Priority: Minor
>
> I start 1000 thread for NM and 1000 thread for AM in fairscheduler pressure test, using Scheduler Load Simulator(SLS) tool.
> In jstack log, I found SocketIOWithTimeout remove idle selectors in every select Operation.
> That will block 1000+ threads when doing iterator .
> {code:java}
> for(Iterator<SelectorInfo> it = pList.queue.iterator(); it.hasNext();) {
> SelectorInfo info = it.next();
> if (info.lastActivityTime > cutoff) {
> break;
> }
> it.remove();
> info.close();
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org