Hi Jakub, I had a look at the code and there is a bug in index-util-0.9. The problem is the use of Lucene index searcher reopen, if the index is modified reopen will return a new index searcher and the old one will never be closed.
That Lucene creates 4 new files / 5 nodes indexed sounds very high and nothing I have observed before. We just committed a fix for the reopen issue. Could you try make a new build from index-util/trunk or wait for the build server to push out a new snapshot (index-util-0.9) and see if the problem still exist? Regards, -Johan > Hi, > > I've got a new observation about index-util. It looks like it creates a > lot of index files, sometime later it deletes them but doesn't close > them. After a few hours of running our server is crashing with a "too > many open files" error. > > It looks like 4 new files are created per each 5 nodes indexed (I think > two of them under one key, three under another key). > > See some example files below. > > Is it a bug or may I be doing something wrong? I'm not doing anything > beyond the neo example code for index service. The server was using > index-util-0.9-20091120.170916-6.jar and I think I verified the > behaviour with index-util-0.9-20091129.161640-8.jar too. > > Regards, > Jakub _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

