2017-10-19 1255 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 

希望这有助于