[Xapian-discuss] problem on closing writable databases

James Aylett james-xapian at tartarus.org
Tue Feb 10 09:39:05 GMT 2009


On Tue, Feb 10, 2009 at 09:42:25AM +0100, Markus Wörle wrote:

> My issue is, that /bin/cat randomly (?, it seems so) remains with
> open files after closing.

Markus -- /bin/cat use is used for locking, so what it means is that
the in-memory objects haven't been deleted (so the database is still
open). This is a problem if you're opening and closing databases a lot
with some bindings languages.

The current trunk version has an explicit way of closing
databases. I'm not sure if this is available in the perl bindings or
not yet, however.

J

-- 
  James Aylett

  talktorex.co.uk - xapian.org - uncertaintydivision.org



More information about the Xapian-discuss mailing list