Yann ROBIN
2009-Jan-27 17:46 UTC
[Xapian-discuss] Error Opening database : Too many open files
Hi, I'm getting this error when requesting multiple times : DatabaseOpeningError: Error opening table `../../test_03012009_compact/position.': Couldn't open ../../test_03012009_compact/position.baseA: Too many open files Couldn't open ../../test_03012009_compact/position.baseB: Too many open files I see that there is more than 1k fd opens. I don't see what is wrong with my code, so i'd like to know if you could give me some inside on when and how the file descriptors are closed. Thanks, -- Yann
James Aylett
2009-Jan-27 18:11 UTC
[Xapian-discuss] Error Opening database : Too many open files
On Tue, Jan 27, 2009 at 06:46:19PM +0100, Yann ROBIN wrote:> I see that there is more than 1k fd opens. > > I don't see what is wrong with my code, so i'd like to know if you > could give me some inside on when and how the file descriptors are > closed.Are you creating a new Database instance each time, all within the same process? J -- James Aylett talktorex.co.uk - xapian.org - uncertaintydivision.org