FAQ
Hello,

We are facing the following problem frequently while creating the Lucene
index,

Exception luceneSearchjava.io.FileNotFoundException:

TOMCAT_HOME/webapps/toto/index/idb/_565.f3 (Too many open files)

Due to the above problem, the server is becoming inactive and we can not
use the webapp
till we restart the server.

some times during this process problem we also get a write.lock file at
index root.

Details:

Server: Tomcat

Database: Mysql

Number of webapps: 20

Number of JAR's in webapp lib: 8

Mergefactor = 10 -> Earlier it was 20 and we reduced it to 10 still we are
facing the same problem.

Operating System: Linux

If any one has nay solution this problem please let me know....

MAHESH

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org

Search Discussions

  • Erik Hatcher at May 10, 2004 at 9:56 am
    Try using the compound index format.....
    IndexWriter.setUseCompoundFile(true)

    Erik

    On May 9, 2004, at 11:49 PM, mahesh@servelots.com wrote:

    Hello,

    We are facing the following problem frequently while creating the
    Lucene
    index,

    Exception luceneSearchjava.io.FileNotFoundException:

    TOMCAT_HOME/webapps/toto/index/idb/_565.f3 (Too many open files)

    Due to the above problem, the server is becoming inactive and we can
    not
    use the webapp
    till we restart the server.

    some times during this process problem we also get a write.lock file at
    index root.

    Details:

    Server: Tomcat

    Database: Mysql

    Number of webapps: 20

    Number of JAR's in webapp lib: 8

    Mergefactor = 10 -> Earlier it was 20 and we reduced it to 10 still we
    are
    facing the same problem.

    Operating System: Linux

    If any one has nay solution this problem please let me know....

    MAHESH

    --------------------------------------------------------------------
    mail2web - Check your email from the web at
    http://mail2web.com/ .



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: lucene-user-help@jakarta.apache.org

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
    For additional commands, e-mail: lucene-user-help@jakarta.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedMay 10, '04 at 3:49a
activeMay 10, '04 at 9:56a
posts2
users2
websitelucene.apache.org

2 users in discussion

Erik Hatcher: 1 post Mahesh: 1 post

People

Translate

site design / logo © 2022 Grokbase