public void ShutdownServer()
{
ExecuteScalarGremlin("g.getRawGraph().shutdown()", null);
}
http://hg.readify.net/neo4jclient/src/468ba9578548/Neo4jClient/GraphClient.cs
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Kevin Dieter
Sent: Saturday, 10 December 2011 1:40 AM
To: Neo4j user discussions
Subject: [Neo4j] How To Properly Shutdown Neo4J
Hi,
I am running neo4j v1.4.2 as a Windows service and seem to be unable to cleanly
shutdown and restart the service. If I stop and then restart the Windows
service, I get the following in the messages.log file and it proceeds to go
through the recovery process (which can take anywhere from
15 to 60 minutes).
Is there another (clean) way to stop and restart the service?
Thanks,
Kevin
2011-12-08 14:51:06.057-0500: c:\neo4j\data\graph.db\neostore non clean
shutdown detected
2011-12-08 14:51:06.067-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db non clean shutdown
detected
2011-12-08 14:51:06.075-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db.names non clean
shutdown detected
2011-12-08 14:51:06.103-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db non clean shutdown detected
2011-12-08 14:51:06.105-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.strings non clean shutdown
detected
2011-12-08 14:51:06.115-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index non clean shutdown
detected
2011-12-08 14:51:06.123-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index.keys non clean shutdown
detected
2011-12-08 14:51:06.125-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.arrays non clean shutdown
detected
2011-12-08 14:51:06.127-0500:
c:\neo4j\data\graph.db\neostore.relationshipstore.db non clean shutdown detected
2011-12-08 14:51:06.129-0500: c:\neo4j\data\graph.db\neostore.nodestore.db
non clean shutdown detected
2011-12-08 14:51:06.155-0500: Non clean shutdown detected on log
[c:\neo4j\data\graph.db\nioneo_logical.log.2]. Recovery started ...
2011-12-08 14:51:06.159-0500: [c:\neo4j\data\graph.db\nioneo_logical.log.2]
logVersion=53 with committed tx=3533582
2011-12-08 15:04:32.197-0500: [c:\neo4j\data\graph.db\nioneo_logical.log.2]
entries found=177304 lastEntryPos=7898318
2011-12-08 15:04:32.198-0500: Internal recovery completed, scanned 177304 log
entries. Recovered 22214 transactions. Last tx recovered: 3555796
2011-12-08 15:04:32.198-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log] sorting 1 xids
2011-12-08 15:04:32.246-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log]
checkRecoveryComplete 0 xids
2011-12-08 15:04:32.917-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db.names rebuild id
generator, highId=19 defragged count=0
2011-12-08 15:04:33.257-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index.keys rebuild id
generator, highId=7 defragged count=0
2011-12-08 15:04:33.497-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index rebuild id generator,
highId=6 defragged count=0
2011-12-08 15:04:33.701-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.strings rebuild id generator,
highId=805166 defragged count=0
2011-12-08 15:04:33.867-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.arrays rebuild id generator,
highId=1 defragged count=0
2011-12-08 15:04:34.067-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db rebuild id generator,
highId=7635062 defragged count=0
2011-12-08 15:04:34.309-0500:
c:\neo4j\data\graph.db\neostore.relationshipstore.db rebuild id generator,
highId=2052571 defragged count=0
2011-12-08 15:04:34.496-0500: c:\neo4j\data\graph.db\neostore.nodestore.db
rebuild id generator, highId=805167 defragged count=0
2011-12-08 15:04:34.747-0500: c:\neo4j\data\graph.db\neostore rebuild id
generator, highId=4 defragged count=0
2011-12-08 15:04:34.857-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log] recovery completed.
2011-12-08 15:04:34.857-0500: Recovery on log
[c:\neo4j\data\graph.db\nioneo_logical.log.2] completed.
2011-12-08 15:04:34.983-0500: Non clean shutdown detected on log
[c:\neo4j\data\graph.db\index\lucene.log.2]. Recovery started ...
2011-12-08 15:04:34.984-0500: [c:\neo4j\data\graph.db\index\lucene.log.2]
logVersion=20 with committed tx=2858191
2011-12-08 15:07:34.590-0500: [c:\neo4j\data\graph.db\index\lucene.log.2]
entries found=13711 lastEntryPos=535043
2011-12-08 15:07:34.591-0500: Internal recovery completed, scanned 13711 log
entries. Recovered 3428 transactions. Last tx recovered: 2861619
2011-12-08 15:07:34.591-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log] sorting 1 xids
2011-12-08 15:07:34.652-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log]
checkRecoveryComplete 0 xids
2011-12-08 15:07:34.652-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log] recove