Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0705917B11 for ; Wed, 29 Apr 2015 10:21:48 +0000 (UTC) Received: (qmail 55151 invoked by uid 500); 29 Apr 2015 10:00:05 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 18892 invoked by uid 500); 29 Apr 2015 09:59:15 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 3462 invoked by uid 99); 29 Apr 2015 09:37:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 09:37:10 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Apr 2015 09:36:42 +0000 Received: from kalnich2.nine.ch (kalnich2.nine.ch [5.148.180.21]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 288402AABB for ; Wed, 29 Apr 2015 09:36:21 +0000 (UTC) Received: from [192.168.1.121] (77-57-180-223.dclient.hispeed.ch [77.57.180.223]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by kalnich2.nine.ch (Postfix) with ESMTPSA id 5A3BB160136 for ; Wed, 29 Apr 2015 09:36:10 +0000 (UTC) Date: Wed, 29 Apr 2015 11:36:06 +0200 From: Oleg Kalnichevski Subject: Re: AbstractNIOConnPool and leasingRequests To: HttpClient User Discussion Message-Id: <1430300166.2052.0@ok2consulting.com> In-Reply-To: References: X-Mailer: geary/0.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 28, 2015 at 9:14 AM, Tomas Tunkl wrote: > Hi, > > I have some problems with ApacheAsyncHttpClient. I have tracked the > problems to one specific place I am interested in. > > In AbstractNIOConnPool I can see that I have in leasingRequests 112 > entries. I have searched the code and couldnt find how the entries > are processed. I believe that request gets to leasingRequests when it > cannot get connection, because all are used. But when the requests > gets another chance? It seems to me, that it is stuck there forever. Leasing requests are processed by #processNextPendingRequest and #processPendingRequests methods. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org