[Xapian-discuss] Error Opening database : Too many open files

James Aylett james-xapian at tartarus.org
Tue Jan 27 19:31:17 GMT 2009


On Tue, Jan 27, 2009 at 08:21:59PM +0100, Yann ROBIN wrote:

> > Are you creating a new Database instance each time, all within the
> > same process?
> 
> Yes.
> I've read the source code of
> http://trac.xapian.org/browser/trunk/xapian-applications/queryserver/source/queryserver.cpp
> as an example.

Yes, but I believe you're working in a bound language, not C++? In
which case garbage collection works somewhat differently, and you may
run into problems with Database objects not getting finalised early
enough for you.

(I believe this is still the case.)

J

-- 
  James Aylett

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



More information about the Xapian-discuss mailing list