Browser Neo4j拒绝连接

Browser Neo4j拒绝连接,browser,neo4j,connection,Browser,Neo4j,Connection,特性: Linux Neo4j version 3.2.1 Access on remote 安装 我安装了neo4j,并将文件夹chmod 777交给了它。 我在我的机器上远程运行它,我已经启用了非本地访问 执行NEo4j start时,我收到以下消息 Active database: graph.db Directories in use: home: /home/cloudera/Muna/apps/neo4j config: /home/clo

特性:

Linux 
Neo4j version 3.2.1 
Access on remote 
安装

我安装了neo4j,并将文件夹chmod 777交给了它。 我在我的机器上远程运行它,我已经启用了非本地访问 执行NEo4j start时,我收到以下消息

Active database: graph.db
Directories in use:
  home:         /home/cloudera/Muna/apps/neo4j
  config:       /home/cloudera/Muna/apps/neo4j/conf
  logs:         /home/cloudera/Muna/apps/neo4j/logs
  plugins:      /home/cloudera/Muna/apps/neo4j/plugins
  import:       /home/cloudera/Muna/apps/neo4j/import
  data:         /home/cloudera/Muna/apps/neo4j/data
  certificates: /home/cloudera/Muna/apps/neo4j/certificates
  run:          /home/cloudera/Muna/apps/neo4j/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 9469). It is available at http://0.0.0.0:7474/
There may be a short delay until the server is ready.
See /home/cloudera/Muna/apps/neo4j/logs/neo4j.log for current status.
并且它没有在浏览器中连接。 运行neo4j控制台

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 409600000 bytes for AllocateHeap
# An error report file with more information is saved as:
# /home/cloudera/hs_err_pid18598.log

问题出在哪里?

首先,您应该将最大打开文件数设置为40000,这是建议的值。那你就得不到警告了。像这样:

其次,“分配内存失败”意味着Java虚拟机无法分配启动它所用的内存。 这可能是一个错误的配置,或者你没有足够的内存。 请阅读此处的内存大小调整指南:

日志文件中有什么东西吗?例如,如果我有一台16G的机器,我为堆14G和页面缓存16gG设置了一个问题,正如文档中所述,我们有实际操作系统分配=可用RAM-(页面缓存+堆大小)对吗?是的,这是官方建议,如果您想将其用于生产。否则,您可能会遇到问题。