commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Sutton <Adrian.Sut...@Ephox.com>
Subject RE: [HttpClient] Freezes w/ MultiThreadedHttpConnectionManager
Date Thu, 09 Oct 2003 21:28:48 GMT
Hi Adam,
This looks like a bug in VFS that I think has been mentioned on this list
before - it doesn't always release the connection when it's done with it and
as such, HttpClient reaches the limit for concurrent connections and sits
waiting for an old one to be released.

I would suggest trying the latest version of VFS straight out of CVS as I
think they should have fixed this by now.

Regards,

Adrian Sutton, Software Engineer
Ephox Corporation
www.ephox.com 

-----Original Message-----
From: Adam R. B. Jack [mailto:ajack@trysybase.com]
Sent: Friday, 10 October 2003 1:47 AM
To: Jakarta Commons Developers List
Subject: [HttpClient] Freezes w/ MultiThreadedHttpConnectionManager



My single threaded user of VFS (an HttpClient user, that uses
MultiThreadedHttpConnectionManager) hangs [I suspect indefinitely] on minor
activity. I've turned on HttpClient debug and I see this, the last line
being the last thing I get...

2003/10/09 09:34:26:482 MDT [DEBUG] wire - -<< "Content-Type:
text/html[\r][\n]"
2003/10/09 09:34:26:482 MDT [DEBUG] HttpMethodBase - -Resorting to protocol
version default close co
nnection policy
2003/10/09 09:34:26:492 MDT [DEBUG] HttpMethodBase - -Should NOT close
connection, using HTTP/1.1
2003/10/09 09:34:26:502 MDT [DEBUG] HttpMethodDirector - -Execute loop try 1
2003/10/09 09:34:26:512 MDT [DEBUG]
MultiThreadedHttpConnectionManager - -HttpConnectionManager.getC
onnection:  config = HostConfiguration[host=www.ibiblio.org,
protocol=http:80, port=80], timeout = 0

2003/10/09 09:34:26:522 MDT [DEBUG]
MultiThreadedHttpConnectionManager - -Unable to get a connection
, waiting..., hostConfig=HostConfiguration[host=www.ibiblio.org,
protocol=http:80, port=80]

I can send the full run logs if folks need/want.

This is pretty reproducible. When I hack VFS not to use the
MultiThreadedHttpConnectionManager I don't get the problem.

I'll go find the bug tracking system (not sure why it isn't jumping out at
me from the WWW site, but then -- nor are mailing lists, hence this -- maybe
I need more coffee, or less sun glare before I look) . I'll enter a but
report.

FWIIW: I think I've noticed this for about a week, I only just found time to
dig in.
regards

Adam




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message