我的neo4j服务器正在自动停止和启动,

时间:2019-10-21 06:29:44

标签: neo4j

我正在neo4j community edition 3.5.5中运行具有8GB内存的aws instance版本。

最初几个月,它运行得非常好,并且以毫秒为单位获得了结果,但是现在,它已经开始自动停止并自动开始。有时,它根本无法启动几个小时,甚至我们也手动启动了它。

有人可以帮我吗?我正在获取以下日志。

tail -100f /var/log/neo4j/neo4j.log 
2019-07-29 13:17:52.570+0000 WARN  The client is unauthorized due to authentication failure.
2019-09-04 05:33:52.328+0000 WARN  The client is unauthorized due to authentication failure.

2019-10-17 15:18:14.652+0000 INFO  Transaction with id 2683388 has been automatically rolled back due to transaction timeout.

nohup: ignoring input
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006e5400000, 3670016000, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 3670016000 bytes for committing reserved memory.
An error report file with more information is saved as:
/home/ubuntu/hs_err_pid8965.log
nohup: ignoring input
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006e5400000, 3670016000, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 3670016000 bytes for committing reserved memory.
An error report file with more information is saved as:
/home/ubuntu/hs_err_pid9050.log
nohup: ignoring input
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006e5400000, 3670016000, 0) failed; error='Cannot allocate memory' (errno=12)



2019-10-17 17:14:44.651+0000 INFO  Transaction with id 2689294 has been automatically rolled back due to transaction timeout.

1 个答案:

答案 0 :(得分:0)

这可能是因为您正在运行大量合并操作,并且没有创建正确的索引,或者尝试增加配置文件中的堆大小。