[Neo4j] Database error

2011-08-12 Thread sometime
After I installed the base (1.4 community) - I felt it necessary to fill
existing data (users of the system and relations between them). Total users
about 1.6 million and 4.5 million links. 
I wrote a robot, using REST-requests and creates the necessary link between
the top two. 
After I ran it and measured the rate of filling databases - according to my
calculations, the robot had to work 2-3 days. That suits me and I left it
running. 
But after about 4 hours, when the copy already around 200 000 relations -
error occurred and the database is not working.
Here's from the log:

8/8/11 3:02:54 PM org.neo4j.server.NeoServerBootstrapper INFO: Neo4j Server
shutdown initiated by kill signal
Unable to close logical log
java.io.FileNotFoundException:
/path_to_neo4j/data/graph.db/nioneo_logical.log.active (No such file or
directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.init(Unknown Source)
at java.io.RandomAccessFile.init(Unknown Source)
at
org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.setActiveLog(XaLogicalLog.java:1478)
at
org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog.close(XaLogicalLog.java:692)
at
org.neo4j.kernel.impl.transaction.xaframework.XaContainer.close(XaContainer.java:109)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.close(NeoStoreXaDataSource.java:248)
at
org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource.stop(NioNeoDbPersistenceSource.java:69)
at org.neo4j.kernel.GraphDbInstance.shutdown(GraphDbInstance.java:293)
at
org.neo4j.kernel.EmbeddedGraphDbImpl.shutdown(EmbeddedGraphDbImpl.java:349)
at
org.neo4j.kernel.EmbeddedGraphDatabase.shutdown(EmbeddedGraphDatabase.java:125)
at org.neo4j.server.database.Database.shutdown(Database.java:111)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.stopDatabase(NeoServerWithEmbeddedWebServer.java:275)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.stop(NeoServerWithEmbeddedWebServer.java:226)
at org.neo4j.server.Bootstrapper$1.run(Bootstrapper.java:157)
8/8/11 3:02:57 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Starting Neo Server on port [7474] with [40] 

threads available
8/8/11 3:02:57 PM org.neo4j.server.database.Database INFO: Using database at
/path_to_neo4j/data/graph.db
8/8/11 3:02:59 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted
discovery module at [/]
8/8/11 3:02:59 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server
plugin CypherPlugin
8/8/11 3:02:59 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server
plugin GremlinPlugin
8/8/11 3:02:59 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST
API at [/db/data/]
8/8/11 3:02:59 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted
management API at [/db/manage/]
8/8/11 3:02:59 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted
webadmin at [/webadmin]
8/8/11 3:02:59 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static
content at [/webadmin] from [webadmin-html]
8/8/11 3:03:01 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Server started on [http://our_site:7474/]
8/8/11 3:04:46 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Starting Neo Server on port [7474] with [40] 
threads available
8/8/11 3:04:46 PM org.neo4j.server.database.Database INFO: Using database at
/path_to_neo4j/data/graph.db
8/8/11 3:04:46 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted
discovery module at [/]
8/8/11 3:04:47 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server
plugin CypherPlugin
8/8/11 3:04:47 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server
plugin GremlinPlugin
8/8/11 3:04:47 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST
API at [/db/data/]
8/8/11 3:04:47 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted
management API at [/db/manage/]
8/8/11 3:04:47 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted
webadmin at [/webadmin]
8/8/11 3:04:47 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static
content at [/webadmin] from [webadmin-html]
8/8/11 3:04:48 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Server started on [http://our_site:7474/]
8/8/11 3:24:31 PM org.neo4j.server.NeoServerBootstrapper INFO: Neo4j Server
shutdown initiated by kill signal
8/8/11 3:24:33 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Starting Neo Server on port [7474] with [40] 
threads available

etc. - The same errors
but after 20 minutes have gone there are errors (strange errors):

8/11/11 1:39:43 AM org.neo4j.server.rrd.ScheduledJob WARNING: 
java.lang.IllegalArgumentException: Bad sample time: 1313012383773. Last
update time was 1313012383773, at least one 
second step is required
at org.rrd4j.core.RrdDb.store(Unknown Source)
at org.rrd4j.core.Sample.update(Unknown Source)
at 

Re: [Neo4j] Database error

2011-08-12 Thread Jim Webber
Did your robot use the REST batch API or the normal REST API?

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user