I’m trying to convince Cocoon’s built-in search engine, lucene, to index a site of some 3000 documents. Not a particularly challenging task, but unfortunately it keeps blowing up:
org.apache.cocoon.ProcessingException: Exception in numDocs()!: java.io.FileNotFoundException: /usr/local/jakarta-tomcat/work/Standalone/some.site/_/cocoon-files/index/_a.tis (Too many open files)
This had been a continual problem for me, up until recently when I refactored mercilessly, chopping several hundred lines of code and streamlining the site. Two days ago, it was indexing just fine.
I know people are using this stuff on sites with 250,000+ documents, so 3000 should not be a problem. Hours of reading docs, mailing lists, google and source code has not enlightened me.
(Well, actually, that’s a lie – I now know about store-fields, merge-factor, exclude and other fine things. Unfortunately, none of this has helped solve the problem.)
No related posts.