I am getting this issue from long time. If Neo4j transaction is not closed properly (committed or rollback) (This can happen because of Exceptions, Or die/exit in the middle of transaction, etc), then Neo4j doesn’t release lock.
For resolving that I need to stop Neo4j and start Neo4j again. That should not be required.
I check at Server Configurations It is having one config
org.neo4j.server.transaction.timeout=60 which say default is 60 seconds. So if this setting works for me by default, then by 60 seconds timeout should have happened.
How to check Database is locked up or not? How to avoid or remove database lock easily with code or configurations? I am using latest Neo4j 2.2.3.
You need to doublecheck if the driver that you’re using is working with the transactional Cypher endpoint. The timeout only applies to that one.
So my suspicion is that you’re using the old cypher endpoint which is not aware of timeouts.