We're using Python 3.4.3, py2neo 2.0.8, Neo4j 3.0.3, on a 12 x 2.6GHz 96GB RAM box. Our relationship & node insertion rate is about 100+ per second. From time to time I saw this kind of error on neo4j.log. Is there anything we can do such as from
neo4j.com to avoid this kind of error?
ERROR Failed to commit transaction. LockClient[5498051] can't wait on resource RWLock[RELATIONSHIP(2009573), hash=942147114] since => LockClient[5498051] <-[:HELD_BY]- RWLock[RELATIONSHIP(2009572), hash=1901714492] <-[:WAITING_FOR]- LockClient[5498052] <-[:HELD_BY]- RWLock[RELATIONSHIP(2009573), hash=942147114]
org.neo4j.kernel.DeadlockDetectedException: LockClient[5498051] can't wait on resource RWLock[RELATIONSHIP(2009573), hash=942147114] since => LockClient[5498051] <-[:HELD_BY]- RWLock[RELATIONSHIP(2009572), hash=1901714492] <-[:WAITING_FOR]- LockClient[5498052] <-[:HELD_BY]- RWLock[RELATIONSHIP(2009573), hash=942147114]
at org.neo4j.kernel.impl.locking.community.RagManager.checkWaitOnRecursive(RagManager.java:198)
at org.neo4j.kernel.impl.locking.community.RagManager.checkWaitOnRecursive(RagManager.java:225)
at org.neo4j.kernel.impl.locking.community.RagManager.checkWaitOn(RagManager.java:165)
at org.neo4j.kernel.impl.locking.community.RWLock.acquireWriteLock(RWLock.java:375)
at org.neo4j.kernel.impl.locking.community.LockManagerImpl.getWriteLock(LockManagerImpl.java:55)
at org.neo4j.kernel.impl.locking.community.CommunityLockClient.acquireExclusive(CommunityLockClient.java:142)
at org.neo4j.kernel.impl.transaction.state.RelationshipCreator.connect(RelationshipCreator.java:202)
Thanks,
Ray