Мой сервер neo4j автоматически останавливается и запускается, - PullRequest
0 голосов
/ 21 октября 2019

Я использую мою neo4j community edition 3.5.5 версию с 8 ГБ оперативной памяти в 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 голосов
/ 21 октября 2019

это может быть из-за того, что вы выполняете много операций слияния и не создали надлежащие индексы или пытаетесь увеличить размер кучи в файле конфигурации.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...