hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18596] - MultiThreadedHttpConnectionManager never reclaims unused connectons
Date Wed, 09 Apr 2003 03:21:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18596>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18596

MultiThreadedHttpConnectionManager never reclaims unused connectons





------- Additional Comments From becke@u.washington.edu  2003-04-09 03:21 -------
Hi Carl,

I have attached a modified version of SimpleDownloader.  In this version I have
changed the following:

- GetMethod creation has been changed so that it is not immediately recycled
after creation
- all of the hosts are now just accessed once
- the threads now each print to their own log file
- the HttpClient read timeout is now being set to 5000ms using
HttpClient.setTimeout()

These changes seem to have fixed quite a few problems.  I was able to run
through all of the "non_working_urls" successfully.  The "nana threads" were
being caused by some servers that never respond to requests and also do not
close connections.  This was "fixed" by setting the read timeout.  

There are still a few things to look at.  First, there are a number of "host
connection pool not found for: ... " errors.  Also the hosts that cause the read
timeouts are valid hosts but for some reason they do not respond to HttpClient.

Thoughts?

Mike

Mime
View raw message