Soft commit (i.e. opening a new IndexReader in Lucene and closing the
old one) should make those go away?

The .nfsXXXXX files are created when a file is deleted but a local
process (in this case, the current Lucene IndexReader) still has the
file open.

Mike McCandless

http://blog.mikemccandless.com


On Mon, Aug 18, 2014 at 5:20 AM, BorisG <boris.golo...@mail.huji.ac.il> wrote:
> Hi,
> I am using solr 3.6.2.
> I use NFS and my index folder is a mounted folder.
> When I run the command:
> <server>:<port>/solr/collection1/update?optimize=true&maxSegments=1&waitFlush=true&expungeDeletes=true
> in order to optimize my index, I have some .nfsXXXXX files created while the
> optimize is running.
> The problem that i am having is that after optimize finishes its run the
> .nfsXXXX files aren't deleted.
> When I close the solr process they immediately disappear.
> I don't want to restart the solr process after each optimize, is there
> anything that can be done in order for solr to get rid of those files.
>
> Thanks,
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/optimize-and-nfsXXXX-files-tp4153473.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to