Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6B621894F for ; Wed, 6 Apr 2016 07:35:25 +0000 (UTC) Received: (qmail 29301 invoked by uid 500); 6 Apr 2016 07:35:25 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 29260 invoked by uid 500); 6 Apr 2016 07:35:25 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 29249 invoked by uid 99); 6 Apr 2016 07:35:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Apr 2016 07:35:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8D45E2C1F58 for ; Wed, 6 Apr 2016 07:35:25 +0000 (UTC) Date: Wed, 6 Apr 2016 07:35:25 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCORE-421) RouteSpecificPool timeout Occuring processing HTTP request while using NIO MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCORE-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227889#comment-15227889 ] Oleg Kalnichevski commented on HTTPCORE-421: -------------------------------------------- This is due to a normal connect timeout. How come this is a bug let alone critical? Oleg > RouteSpecificPool timeout Occuring processing HTTP request while using NIO > -------------------------------------------------------------------------- > > Key: HTTPCORE-421 > URL: https://issues.apache.org/jira/browse/HTTPCORE-421 > Project: HttpComponents HttpCore > Issue Type: Bug > Components: HttpCore NIO > Environment: Centos machine 1 core,Some times simulatable on linux machine 4 core > Reporter: Venkata Satya Teja Siram > Priority: Critical > Labels: features > > Hi Team, > We have an application in which we are making an asynchronous request to get the response.For making asynchronous Request we are using apache nio > Reference link followed: > https://hc.apache.org/httpcomponents-core-ga/tutorial/html/nio.html > While using this we are facing an issue.The issue is also not always simulatable.I was not able to figure out the root* cause. > The issue details are as follows: > java.net.ConnectException: null > at org.apache.http.nio.pool.RouteSpecificPool.timeout(RouteSpecificPool.java:170) [httpcore-nio-4.4.4.jar:4.4.4] > at org.apache.http.nio.pool.AbstractNIOConnPool.requestTimeout(AbstractNIOConnPool.java:560) [httpcore-nio-4.4.4.jar:4.4.4] > at org.apache.http.nio.pool.AbstractNIOConnPool$InternalSessionRequestCallback.timeout(AbstractNIOConnPool.java:821) [httpcore-nio-4.4.4.jar:4.4.4] > at org.apache.http.impl.nio.reactor.SessionRequestImpl.timeout(SessionRequestImpl.java:182) [httpcore-nio-4.4.4.jar:4.4.4] > at org.apache.http. > Version being used: > > org.apache.httpcomponents > httpclient > 4.5.1 > > > org.apache.httpcomponents > httpcore-nio > 4.4.4 > > Initially i thought issue was with pool and increased pool size(NIO Pool) while load testing. But some times it occurs if a send single request only ,although pool size is 1000 ,the issue is occurring. > Is this issue has something related to cpu core size, on 4 core processor its happening very less and on single core processor it occurs very frequency > is more..For NIO reactor , we have given the default config.As the documentation specifies the number of dispatcher threads would be dependent on number of cores on the system. > Any help regarding this issue? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org