[Xapian-discuss] Flint Database 'Can't acquire write lock'?
Josef Novak
josef.robert.novak at gmail.com
Fri Apr 20 15:37:42 BST 2007
I think it is an NFS system, I will confirm that and check whether we
are running 'lockd' tomorrow. Thank you for your prompt reply!
joe
On 4/20/07, Olly Betts <olly at survex.com> wrote:
> On Fri, Apr 20, 2007 at 06:37:47PM +0900, Josef Novak wrote:
> > I'm using xapian-core-0.9.9, built on a 64bit linux machine
> > (Linux 2.4.21-143-smp x86_64 unknown ), employing a bash shell.
>
> Flint relies on fcntl() for locking, so perhaps the filing system
> you have the database on doesn't support this. What is the filing
> system? If it's NFS, make sure you're running 'lockd'.
>
> Quartz uses completely different locking technique which works on
> NFS without lockd, but it leaves a stale lock behind if the process
> exits unexpectedly, which is annoying.
>
> If it's not obviously the FS, can you try a snapshot tarball of SVN
> HEAD? There are have been some minor tweaks to the locking code:
>
> http://www.oligarchy.co.uk/xapian/trunk/
>
> Cheers,
> Olly
>
More information about the Xapian-discuss
mailing list