Roland
Eric Bloch <[EMAIL PROTECTED]>
22.03.2004 07:03
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project
<[EMAIL PROTECTED]>
cc: Subject: Re: Memory Leaks when web server
hangs
Oh... and I just want to know if t
HttpClient objects?
You don't have to.
cheers,
Roland
Eric Bloch <[EMAIL PROTECTED]>
22.03.2004 07:03
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project
<[EMAIL PROTECTED]>
cc:
Subject: Re: Memory Leaks when we
Commons HttpClient Project
<[EMAIL PROTECTED]>
cc:
Subject: Re: Memory Leaks when web server hangs
Oh... and I just want to know if that's "not the httpclient way", too?
That is, should I be reusing the client? What will that get me if I'm
alread
MAIL PROTECTED]>
02.02.2004 11:56
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project
<[EMAIL PROTECTED]>
cc: Subject:Re: Memory Leaks when web server
hangs
Oleg,
We are using JDK1.4.1 and connection time out is se
ppropriate.
best regards,
Roland
Srinivas Vemula <[EMAIL PROTECTED]>
02.02.2004 11:56
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project
<[EMAIL PROTECTED]>
cc: Subject: Re: Memory Leaks when web server
hangs
Ol
roject
<[EMAIL PROTECTED]>
cc: Subject: Re: Memory Leaks when web server
hangs
Oleg,
We are using JDK1.4.1 and connection time out is set to 30Ms and
read time out to 60Ms. We are trying to connect to a IP Camera, and
send a heart beat command to the camera to check for
AIL PROTECTED]>
02.02.2004 11:56
Please respond to "Commons HttpClient Project"
To: Commons HttpClient Project
<[EMAIL PROTECTED]>
cc:
Subject: Re: Memory Leaks when web server hangs
Oleg,
We are using JDK1.4.1 and connection time out is set to 3
Thank you all for your inputs and time.
srini
Ortwin Glück wrote:
Marcus Crafter wrote:
The non-programatic way to fix it was to add a request header to each
client request saying 'Connection: close'.
You could also have written your own connection manager implementation
instead of messing wit
Hi Srini,
I want to echo Oleg's comments with one addition.
(1) As Roland said please do reuse the HttpClient
instance. HttpClient class is fully thread-safe. By no reusing
HttpClient you completely defeat the connection keep-alive stuff
HttpClient is thread safe, depending which connection man
nt)
Oleg
-Original Message-
From: Srinivas Vemula [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 11:57
To: Commons HttpClient Project
Subject: Re: Memory Leaks when web server hangs
Oleg,
We are using JDK1.4.1 and connection time out is set to 30Ms and
read time out t
i Srini,
> >>>HttpClient uses an additional controller thread to work around the
> >>>limitation of older (< 1.4) JDKs which do not provide a possibility to
> >>>set connect timeout. If you do not really need to control connect
> >>>timeout (for
Marcus Crafter wrote:
The non-programatic way to fix it was to add a request header to each
client request saying 'Connection: close'.
You could also have written your own connection manager implementation
instead of messing with request headers. This would have been more
portable to later versio
TECTED]>
cc:
Subject: Re: Memory Leaks when web server hangs
Oleg,
We are using JDK1.4.1 and connection time out is set to 30Ms and
read time out to 60Ms. We are trying to connect to a IP Camera, and send
a heart beat command to the camera to check for its availability every
30
OTECTED]
Sent: Monday, February 02, 2004 09:03
To: Commons HttpClient Project
Subject: Re: Memory Leaks when web server hangs
On 2/2/04 2:00 PM, "Srinivas Vemula" <[EMAIL PROTECTED]> wrote:
Hi All,
We are seeing thread leaks when having client open connections to a
lity)
> >simply set connect timeout to. That will prevent HttpClient from spawning
> >an additional thread per request.
> >
> >Adrian, et al
> >Another possibility to use reflection to set connect timeout using the
> >Socket methods when running in JVM 1.4 or ab
to set connect timeout using the Socket methods
when running in JVM 1.4 or above
Oleg
-Original Message-
From: Adrian Sutton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 09:03
To: Commons HttpClient Project
Subject: Re: Memory Leaks when web server hangs
On 2/2/04 2:00
eout using the Socket methods
when running in JVM 1.4 or above
Oleg
-Original Message-
From: Adrian Sutton [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 09:03
To: Commons HttpClient Project
Subject: Re: Memory Leaks when web server hangs
On 2/2/04 2:00 PM, "Srinivas
On 2/2/04 2:00 PM, "Srinivas Vemula" <[EMAIL PROTECTED]> wrote:
> Hi All,
> We are seeing thread leaks when having client open connections to a web
> server that hangs. Has any one seen this happening?? How do we ensure that the
> library correctly closes socket connections on failures, cle
Hi All,
We are seeing thread leaks when having client open connections to
a web server that hangs. Has any one seen this happening?? How do we ensure
that the library correctly closes
socket connections on failures, cleaning up system resources, and threads actually finish
in the ti
19 matches
Mail list logo