Hi Raghavendra Then how to use protocol-http instead of protocol-httpclient? Can I still use HttpResponse?
在 06-4-13,Raghavendra Prabhu<[EMAIL PROTECTED]> 写道: > Hi Doug > > I am not sure whether this problem is entirely with bandwidth starving > > In some cases, having the protocol as protocol-http instead of > protocol-httpclient seems to be fixing the problem. > > I am not sure but the above thing seemed to fix the problem > > Rgds > Prabhu > > > On 4/13/06, Elwin <[EMAIL PROTECTED]> wrote: > > > > In fact I'm not using the fetcher of nutch and I just call the > > HttpResponse > > in my own code, which is not multi-thread. > > > > 2006/4/13, Doug Cutting <[EMAIL PROTECTED]>: > > > > > > Elwin wrote: > > > > When I use the httpclient.HttpResponse to get http content in nutch, I > > > often > > > > get SocketTimeoutExceptions. > > > > Can I solve this problem by enlarging the value of http.timeout in > > conf > > > > file? > > > > > > Perhaps, if you're working with slow sites. But, more likely, you're > > > using too many fetcher threads and exceeding your available bandwidth, > > > causing threads to starve and timeout. > > > > > > Doug > > > > > > > > > > > -- > > 《盖世豪侠》好评如潮,让无线收视居高不下, > > 无线高兴之余,仍未重用。周星驰岂是池中物, > > 喜剧天分既然崭露,当然不甘心受冷落,于是 > > 转投电影界,在大银幕上一展风采。无线既得 > > 千里马,又失千里马,当然后悔莫及。 > > > -- 《盖世豪侠》好评如潮,让无线收视居高不下, 无线高兴之余,仍未重用。周星驰岂是池中物, 喜剧天分既然崭露,当然不甘心受冷落,于是 转投电影界,在大银幕上一展风采。无线既得 千里马,又失千里马,当然后悔莫及。
