you can add a line in /etc/default/neo4j:
NEO4J_ULIMIT_NOFILE=60000
to set the ulimit setting (60000 open files) for the service.
There is no need anymore to use /etc/security/limits.conf on debian to set the number of open files.
原文地址:https://stackoverflow.com/questions/20924596/neo4j-warning-max-1024-open-files-allowed-minimum-of-40-000-recommended-see-t