• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Lucene - Using NativeFSLockFactory is still not cleaning up lock files

 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I have the problem where lucene is leaving lock files sitting around if the JVM or program crashes. I am using the newest version of lucene 2.4.1 and I am using NativeFSLockFactory. I can run the program and kill the jvm or program abnormally and my lock files are still not getting cleaned up. I have tested this on RedHat 4 and on solaris 10 with the same results. From what I have read when using NativeFSLockFactory lucene will use locks native to the OS so that the OS will clean up the lock files if the JVM or program terminated abnormally.

Has anyone else ever run into this? Has anyone gotten this to work?

Thanks
Billy
 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!