[Xapian-discuss] Using xapian-tcpsrv for both indexing and searching
Olly Betts
olly at survex.com
Thu May 7 03:40:14 BST 2009
On Wed, May 06, 2009 at 04:22:12PM -0700, Miki Tebeka wrote:
> > > However when I try to connect in another process for searching, I get:
> > > xapian.DatabaseLockError: REMOTE:Unable to acquire database write lock on
> > > db: already locked
> > > (Using Python bindings).
[...]
> I'm just calling 'xapian.remote_open("localhost", 9191)'. The first one
> succeeds but any connection after it gets the above error.
It's a known issue, see:
http://trac.xapian.org/ticket/145
It's fixed in the development release series in 1.1.0. For 1.0.x, the
workaround is to run a second server without --writable on another port,
and connect to that with read-only clients.
Cheers,
Olly
More information about the Xapian-discuss
mailing list