2017-10-19 1260 views
0

我使用的Neo4j 3.2.6在Ubuntu 16.04,當我嘗試啓動它,我得到這個錯誤:的Neo4j無法啓動:最大1024打開文件允許

WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual. 
/usr/share/neo4j/bin/neo4j: ligne 411: /var/run/neo4j/neo4j.pid: Aucun fichier ou dossier de ce type 

我試圖this解決方案,但它仍然是同樣的錯誤。

回答

0

可以使用

ulimit -u 40000 

增加打開進程的數量。 OR

添加下面的/etc/security/limits.conf行 -

neo4j soft nofile 40000 
neo4j hard nofile 40000 

希望這有助於