Are threads being interrupted anywhere in your application? There is an issue in java.nio that it closes open channels if interrupted during an operation. This means that io-channels that are shared between multiple threads gets closed if one of the threads using it gets interrupted.
Or does this happen with a freshly started application? If you could send over the messages.log file that might shed some light on what has happened to your store. Cheers, -tobias On Tue, Feb 1, 2011 at 4:43 PM, Paul A. Jackson <paul.jack...@pb.com> wrote: > I've been doing some performance and scalability testing with large graphs > (2,000,000 nodes, 5,000,000 edges - actually, the WikiTalk data from the > Stanford Snap site). I must have shut down my server improperly because a > number of graphs needed to recover when I started it back up, but this > largest of the graphs didn't appear to recover properly. I now get the > following exception when I attempt to load data from the graph. I am still > using neo4j 1.1. > > Can anyone say what the exception means? Corrupt database, throw it away > and rebuild it? > > Exception in thread "com.g1.dcg.graph.neo4j.NeoEigenvectorJob:2" > java.lang.RuntimeException: > org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: Unable to > load position[146166] @[1315494] > at com.g1.dcg.graph.job.AbstractGraphJob.run(AbstractGraphJob.java:59) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: > Unable to load position[146166] @[1315494] > at > org.neo4j.kernel.impl.nioneo.store.PersistenceRow.readPosition(PersistenceRow.java:101) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceWindowPool.acquire(PersistenceWindowPool.java:152) > at > org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.acquireWindow(CommonAbstractStore.java:474) > at > org.neo4j.kernel.impl.nioneo.store.NodeStore.loadLightNode(NodeStore.java:131) > at > org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.nodeLoadLight(ReadTransaction.java:74) > at > org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.nodeLoadLight(NioNeoDbPersistenceSource.java:235) > at > org.neo4j.kernel.impl.persistence.PersistenceManager.loadLightNode(PersistenceManager.java:74) > at > org.neo4j.kernel.impl.core.NodeManager.getNodeById(NodeManager.java:391) > at > org.neo4j.kernel.EmbeddedGraphDbImpl.getNodeById(EmbeddedGraphDbImpl.java:223) > at > org.neo4j.kernel.EmbeddedGraphDbImpl$AllNodesIterator.hasNext(EmbeddedGraphDbImpl.java:426) > at > com.g1.dcg.graph.neo4j.NeoEigenvectorJob.runJob(NeoEigenvectorJob.java:72) > at com.g1.dcg.graph.job.AbstractGraphJob.run(AbstractGraphJob.java:51) > ... 1 more > Caused by: java.nio.channels.ClosedChannelException > at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:88) > at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:299) > at > org.neo4j.kernel.impl.nioneo.store.PersistenceRow.readPosition(PersistenceRow.java:80) > ... 12 more > > > Thanks, > -Paul > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson <tobias.ivars...@neotechnology.com> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user