Check your hitsPerSite field in the opensearch query url.
If the number is too large then timeout can happen.  Try with smaller
numbers like 50, 100.


Mr Shore wrote:
> 
> yes,I've checked the related options in php.ini
> max_execution_time = 30;
> default_socket_timeout = 60;
> and in my php,curl uses a timeout value of 30s('http'=>array('timeout'=>
> 30)),
> but practically timeout still occurs frequently,
> what's the matter?
> 
> Hannes Carl Meyer-2 wrote:
>> 
>> Hi,
>> PHP also has a timeout setting you can define in the php.ini!
>> How do call the opensearch servlet? Via Curl? There is also a timeout
>> parameter.
>> Regards
>> Hannes
>> 
>> 2008/10/9 Mr Shore <[EMAIL PROTECTED]>
>> 
>>>
>>> My site is based on php,
>>> and in php it calls jsp page opensearch generated from nutch-0.9.war
>>> when the crawl database is small it's just fine,
>>> but as time goes by,
>>> there is now a huge return result,
>>> and when php calls opensearch,timeout frequently occurs,
>>> if any one is also using nutch in my way,and knows the solution,plz
>>> share
>>> it,thanks a lot
>>> Mr shore
>>> --
>>> View this message in context:
>>> http://www.nabble.com/howto-fix-nutch-search-timeout-in-my-case--tp19898154p19898154.html
>>> Sent from the Nutch - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/howto-fix-nutch-search-timeout-in-my-case--tp19898154p20058982.html
Sent from the Nutch - User mailing list archive at Nabble.com.

Reply via email to