Julien Nioche wrote: >> i'm trying to reproduce the problem outside of the "crawl" command, >> through multi-step script approach. >> the problem happens again before the parse command. >> > > > you specified -noparse on the fetch command line, didn't you? > > > no, i was fooled by the wiki http://wiki.apache.org/nutch/Nutch_0.9_Crawl_Script_Tutorial where the command fetch isn't using the -noParsing option and is followed by the parse command.
So it didn't make much sense to me to parse twice and it didn't look like the right way to spot my problem. By decoupling fetching and parsing, as you advised me, i could see that the tika parser is actually looping on some files (which the file command sees as "data" files) that apache is declaring with a mime type plain/text, fooling tika. I guess tika should be able to handle this error which is not. By applying Andrej's patch to 1.1 i could solve this dead threads issues that were eating all my memory and finish the crawling. Thanks >> i guess the problem >> is indeed in the protocol-httpclient. Though i can't understand what's >> happening. Why, in the fetching phase, the tika parser is called for >> TXT? The parser is called on the content in the Fetcher output() method. >> >> > > the parser should not be called at all if you specify -noparse for the fetch > > as for TXT the parser is used to find outlinks > > -- Claudio Martella Digital Technologies Unit Research & Development - Analyst TIS innovation park Via Siemens 19 | Siemensstr. 19 39100 Bolzano | 39100 Bozen Tel. +39 0471 068 123 Fax +39 0471 068 129 [email protected] http://www.tis.bz.it Short information regarding use of personal data. According to Section 13 of Italian Legislative Decree no. 196 of 30 June 2003, we inform you that we process your personal data in order to fulfil contractual and fiscal obligations and also to send you information regarding our services and events. Your personal data are processed with and without electronic means and by respecting data subjects' rights, fundamental freedoms and dignity, particularly with regard to confidentiality, personal identity and the right to personal data protection. At any time and without formalities you can write an e-mail to [email protected] in order to object the processing of your personal data for the purpose of sending advertising materials and also to exercise the right to access personal data and other rights referred to in Section 7 of Decree 196/2003. The data controller is TIS Techno Innovation Alto Adige, Siemens Street n. 19, Bolzano. You can find the complete information on the web site www.tis.bz.it.

