lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hang Li <...@careersite.com>
Subject Re: Too many open files?
Date Tue, 23 Jul 2002 16:58:15 GMT
I cached searcher now. As the results, multiple threads try to use the same
searcher. It seems it is much SLOWER than each thread has its own
searcher.  Are there any synchronized methods/blocks in Lucene causing this
performance problem?

Scott Ganyo wrote:

> Yup.  Cache and reuse your Searcher as much as possible.
>
> Scott
>
> > -----Original Message-----
> > From: Hang Li [mailto:hxl@careersite.com]
> > Sent: Tuesday, July 23, 2002 9:59 AM
> > To: Lucene Users List
> > Subject: Too many open files?
> >
> >
> > >
> >
> > I have seen a lot postings about this topic. Any final thoughts?
> >
> > We did a simple stress test, Lucene would produce this error
> > between 30 - 80
> > concurren searches.  The index directory has 24 files (15 fields), and
> > "
> > ulimit -n
> > 32768
> > ",
> >
> > there should be more than enough FDs.  Note, we did not do
> > any writings to index
> > while we were searching.  Any ideas? Thx.
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:lucene-user-help@jakarta.apache.org>
> >


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


Mime
View raw message