我正在尝试增加neo4j的启动超时时间,但是我没有找到相应的配置。我在neo4j的守护进程中增加了超时时间,但启动超时时间并没有改变。我的图非常大(140GB),120秒可能不够。我安装在Ubuntu 12.04上的是neo4j 2.1.7。
错误:
错误:
../bin/neo4j start
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow
Starting Neo4j Server...process [7886]... waiting for server to be ready...2015-02-22 16:54:10.044+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
2015-02-22 16:54:10.044+0000 INFO [API] Setting startup timeout to: 120000ms based on -1
......................................................................................................................2015-02-22 16:56:11.610+0000 INFO [API] Successfully shutdown Neo4j Server.
2015-02-22 16:56:11.610+0000 INFO [API] Successfully shutdown Neo4j Server.
Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.