0

I'm using neo4j 3.2.6 in ubuntu 16.04 , when i try to start it i got this error:

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

I tried this solution but it still the same error.

Zied Hermi
  • 229
  • 1
  • 2
  • 11

2 Answers2

0

The message WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual is a warning, not an error. It's relative to Linux file descriptors and ulimit. See Neo4j WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.

Is there any error message in the log ?

SylvainRoussy
  • 349
  • 1
  • 14
0

you can use

ulimit -u 40000

to increase the number of opened processes. OR

Add following lines in /etc/security/limits.conf -

neo4j   soft    nofile  40000
neo4j   hard    nofile  40000

Hope this helps

techie95
  • 515
  • 3
  • 16