Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 21125 invoked from network); 9 Jul 2004 18:26:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Jul 2004 18:26:41 -0000 Received: (qmail 34621 invoked by uid 500); 9 Jul 2004 18:26:34 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 34566 invoked by uid 500); 9 Jul 2004 18:26:33 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 34550 invoked by uid 99); 9 Jul 2004 18:26:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.121.6.56] (HELO smtp28.wxs.nl) (195.121.6.56) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 09 Jul 2004 11:26:30 -0700 Received: from [192.168.1.100] (ip54513cb6.direct-adsl.nl [84.81.60.182]) by smtp28.wxs.nl (8.12.10/8.12.10) with ESMTP id i69IQQ4g000938 for ; Fri, 9 Jul 2004 20:26:27 +0200 From: Kees Jongenburger To: "Jakarta Commons Users List" Subject: Re: Using HttpClient , have memory leak -> I am not sure process correctly released Date: Fri, 9 Jul 2004 18:26:26 +0200 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407091826.26649.keesj@dds.nl> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thursday 08 July 2004 15:34, JEAN REMI LECQ wrote: > Hi, > > I m using commons-httpclient-2.0-rc3. > > My application is used on the web and generate an interesting traffic. > > But the application generate some important memory leak on my web servers. Is the client taking the memory or the server you connect to? do you alway's call the method.getResponseBody(); and method.releaseConnection(); after a request? > I am not sure that MultiThreadedHttpClient release correctly all HttpClient > ! In particular when HttpClient meets difficulties to make its socket > connection (I have some Exception like thoses). Excptions I get look like this IOException:Already used, but not recycled. > > I have read quickly the beta version about httpClient-3.0. It s seem taht > the managment of the CONNECTIONTIMEOUT and SO_TIMEOUT have changed. But > there are no info in the documentation. The problem I have found is that it's not possible to configure the time to wait for a server response. (the client wait's for 4 minutes before sending a. Can not connect:Connection timed out. > Maybe someone have already test the same pb... Have someone information on > that ? lots of problems but can you be more specific about your problem, maybe actualy include the "strang exception"? greetings --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org