I'm using Neo4j 3.2.2 and Spring Data Neo4j on my project Blockchain2graph.
My batch is getting data from bitcoind and insert them into neo4j. After each imported block, I make a session.clear().
After some time, i get a :
Could not open Neo4j Session for transaction; nested exception is org.neo4j.driver.v1.exceptions.ServiceUnavailableException: Unable to process request: Too many open files
After restarting the application, right away, i get the same "Too many open files" exception. Can someone explain me ? Does neo4j opens all those files when it starts ?
I'm running on Debian and my /etc/security/limits.conf file contains :
* soft nofile 150000
* hard nofile 150000
root soft nofile 150000
root hard nofile 150000
neo4j soft nofile 150000
neo4j hard nofile 150000
and my /etc/pam.d/common-session file contains :
session required pam_limits.so