Re: strange behavior of 2.0-rc1

2003-08-31 Thread Leo Galambos
orrow... Mike On Friday, August 29, 2003, at 11:38 AM, Leo Galambos wrote: Hi Mike, you have it here: http://com-os2.ms.mff.cuni.cz/temp/example.log.gz (2767808B) I set maxTotalConnection=5. -g- Michael Becke wrote: Hi Leo, Attached at the bottom of my message is another log4j configur

Re: strange behavior of 2.0-rc1

2003-08-29 Thread Leo Galambos
Thursday, August 28, 2003, at 10:36 PM, Leo Galambos wrote: Hi Mike, I've never used log4j and I missed your logging.html page, thus I tried my simple config (see below). Unfortunately, I cannot reproduce the bug easily (-> no test case yet) - the robot has to run more than 6 hours.

Re: strange behavior of 2.0-rc1

2003-08-29 Thread Leo Galambos
st case? Thanks, Mike On Thursday, August 28, 2003, at 01:45 PM, Leo Galambos wrote: Mike, the the logs are here: http://com-os2.ms.mff.cuni.cz/temp/ (example.*.*) THX -g- Michael Becke wrote: Yea, "good news" :) So now we know that we're losing connections somewhe

Re: strange behavior of 2.0-rc1

2003-08-28 Thread Leo Galambos
03, at 01:59 PM, Leo Galambos wrote: Hi Mike, "good news": c-0.log:org.apache.commons.httpclient.HttpException: Timeout waiting for connection c-0.log-at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.doGe tC onnection(MultiThreadedHttpConnection

Re: strange behavior of 2.0-rc1

2003-08-26 Thread Leo Galambos
application and environment would be helpful. Please let me know if you have any ideas or questions. Mike On Monday, August 25, 2003, at 01:59 PM, Leo Galambos wrote: Hi Mike, "good news": c-0.log:org.apache.commons.httpclient.HttpException: Timeout waiting for conn

Re: strange behavior of 2.0-rc1

2003-08-25 Thread Leo Galambos
recycle() resets all values in the method, including the URL and request headers. Calling recycle in the exception case and not resetting the various values will make the retry behave quite differently. My guess is that this is not what you were trying to do. Mike On Saturday, August 23,

Re: strange behavior of 2.0-rc1

2003-08-24 Thread Leo Galambos
Michael Becke wrote: Also, in you example Network.java class I noticed the following lines: while (r.status == -1 && attempt++ < RETRIES) { try { r.status = client.executeMethod(method); r.msg = null; } catch (Th

Re: strange behavior of 2.0-rc1

2003-08-24 Thread Leo Galambos
Laura Werner wrote: Leo Galambos wrote: I am using httpclient (HC) in a webcrawler. After 6 hours of run, HC stops working and I think, it is locked by some lock of a critical section in HC. The "problematic" code, I use, is here: http://www.egothor.org/temp/Network.java Are you

strange behavior of 2.0-rc1

2003-08-23 Thread Leo Galambos
Hi. I am using httpclient (HC) in a webcrawler. After 6 hours of run, HC stops working and I think, it is locked by some lock of a critical section in HC. The "problematic" code, I use, is here: http://www.egothor.org/temp/Network.java When 20 threads are used, I have this in `netstat -an` aft

Connection break

2003-08-04 Thread Leo Galambos
Hi. I write a robot for a search engine. The robot must harvest all files which are shorter than a few kilobytes (let's say 100kB) - longer files are not important, because they are often archives or long sheets about nothing. I cannot find a robust style in which I could drop a connection (G