lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: Solr locking issue? BLOCKED on
Date Tue, 11 Nov 2008 21:04:16 GMT
On Tue, Nov 11, 2008 at 3:35 PM, Burton-West, Tom <> wrote:
> Hi Yonik,
> Thanks for the NIO suggestion. We are using Linux, but our indexes are
> NFS mounted.

That may be your biggest performance problem right there - try on a
local index and see what the difference is.

>  I thought I saw something about problems with NIO and NFS,
> but am fuzzy on the details.
> These results are with Solr 1.2 and I'm wondering if even without the
> NIO change, upgrading to Solr 1.3 might help.

You would need to try the latest nightly build to get the NIO stuff.

> What confuses me is why
> multiple searchers are locking the prx index file.  I would think that
> searching is a read-only operation.

Reading a chunk of a file requires a seek() and a read()... that needs
to be synchronized so the read can execute before another seek()
happens in another thread.

NIO has a read(position, length) call and we can thus avoid synchronization.


View raw message