1 year ago
#376051
DevG
org.neo4j.driver.v1.exceptions.ClientException: Unable to acquire connection from the pool within configured maximum time of 60000ms
We are using neo4j neo4j-community-3.5.30. We have a java program that creates a query and inserts it using the neo4j driver session.
Since the program tries to run hundred of queries, we start getting the below error after some time.
org.neo4j.driver.v1.exceptions.ClientException: Unable to acquire connection from the pool within configured maximum time of 60000ms
Tried increasing the connection pool as well.
Config config = Config.builder().withConnectionTimeout(30, TimeUnit.SECONDS).withMaxConnectionPoolSize(3000).withMaxConnectionLifetime(30,TimeUnit.SECONDS).withMaxTransactionRetryTime(10,TimeUnit.SECONDS)
.build();
driver = GraphDatabase.driver( "bolt://localhost:7687", AuthTokens.basic( "***", "****" ),config );
neo4j
cypher
0 Answers
Your Answer