[Xapian-discuss] DatabaseLockError: Unable to acquire database write lock

Alexander Lind malte at webstay.org
Wed Mar 7 02:44:38 GMT 2007


Perhaps an application of yours that acquires a writelock (which is a 
file in the xapian index directory) and then crashes, or is simply run 
concurrently as your other program is causing this?

Alec

tata 668 wrote:
> Hi,
>
> I'm using Xapian on CentOS 4, with the PHP bindings. I'm using it 
> without any modifications or specials flags ("./configure 
> --prefix=/usr/local")
>
> I sometimes get a "DatabaseLockError: Unable to acquire database write 
> lock" when trying to write to a database. But I'm not able to 
> reproduce the conditions for this error to occure.
>
> Are there some known situations that can trigger that error?
> What are the way to deal with it?
>
> Thank you for your time,
>
> Julien
>
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss
>



More information about the Xapian-discuss mailing list