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 8AA21D8BF for ; Mon, 21 Jan 2013 15:30:20 +0000 (UTC) Received: (qmail 1149 invoked by uid 500); 21 Jan 2013 15:30:20 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 556 invoked by uid 500); 21 Jan 2013 15:30:19 -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 98993 invoked by uid 99); 21 Jan 2013 15:30:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jan 2013 15:30:12 +0000 Date: Mon, 21 Jan 2013 15:30:12 +0000 (UTC) From: "Oleg Golovanov (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1301) HttpClient -> local address binding does not work correctly 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/HTTPCLIENT-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558837#comment-13558837 ] Oleg Golovanov commented on HTTPCLIENT-1301: -------------------------------------------- I got what the problem is) Thank you, Oleg) I created connection manager ( size=10 ), several clients ( each with its unique local address ), and several workers. Each worker takes random client and executes the request. So, at one time its possible that one client can be executed by up to 10 workers in parallel. At another time another client can be executed by up to 10 workers in parallel. Thats why, all 10 connections in manager can not be keep-alived, they are closing/creating all the time. Sorry for bothering you) > HttpClient -> local address binding does not work correctly > ----------------------------------------------------------- > > Key: HTTPCLIENT-1301 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1301 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient, HttpConn > Affects Versions: 4.2.3 > Environment: Linux ( Debian ) x64, Java SE 1.7.0_05 x64, apache http client 4.2.3 > Reporter: Oleg Golovanov > Labels: httpclient > > Here it is: > http://stackoverflow.com/questions/14419555/apache-http-client-local-address-bind-bindexception-after-some-time -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org