Downgraded from trial enterprise to community license - Stardog deleted my database

21 views
Skip to first unread message

Håvard Ottestad

unread,
Jan 23, 2017, 2:11:46 AM1/23/17
to Stardog
Hi,

By accident i rebuilt my stardog docker container with the wrong license. I was testing out how the system handled 100 000 000 triples, which was not great on my limited resources (xmx2g offheap 3g). So I decided to up the memory a bit, and rebuilt my container with the wrong license.

I have a script that automatically creates my database when stardog starts, this usually fails due to the database already existing. It also inserts som data into the database. However this time stardog gave some exceptions about needing to rebuild the index, so I ran the repair command but it couldn't find the database. Restarted stardog to see if that helped. Now my database is gone.

I have checked the .unusable directory, but the directory doesn't exist. 

Cheers,
Håvard

Important parts from my log:

ERROR 2017-01-23 03:15:03,213 [Stardog.Executor-1661] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

java.lang.OutOfMemoryError: GC overhead limit exceeded

ERROR 2017-01-23 03:15:03,215 [StardogServer.WorkerGroup-9] com.complexible.stardog.protocols.http.server.HttpMessageEncoder:createErrorResponse(293): The result encoder received an error message it could not encode, error was:

java.lang.OutOfMemoryError: GC overhead limit exceeded


-------- RESTART --------


INFO  2017-01-23 07:40:16,230 [main] com.complexible.stardog.StardogKernel:start(1878): Initializing Stardog

INFO  2017-01-23 07:40:17,571 [main] com.complexible.stardog.StardogKernel:initDatabases(1940): Database testSesame will not be available due to license restrictions: Database size exceeds the limit allowed by the license: 25000000

INFO  2017-01-23 07:40:18,564 [main] com.complexible.stardog.cli.impl.ServerStart:call(260): Memory options

INFO  2017-01-23 07:40:18,568 [main] com.complexible.stardog.cli.impl.ServerStart:call(261): Min Heap Size: 252M

INFO  2017-01-23 07:40:18,569 [main] com.complexible.stardog.cli.impl.ServerStart:call(262): Max Heap Size: 2.7G

INFO  2017-01-23 07:40:18,569 [main] com.complexible.stardog.cli.impl.ServerStart:call(263): Max Off-Heap : 4.0G

INFO  2017-01-23 07:40:18,570 [main] com.complexible.stardog.cli.impl.ServerStart:call(264): System Memory: 16G

ERROR 2017-01-23 07:40:21,027 [Stardog.Executor-0] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

ERROR 2017-01-23 07:40:25,706 [Stardog.Executor-0] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

ERROR 2017-01-23 07:40:26,058 [Stardog.Executor-0] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

ERROR 2017-01-23 07:40:26,131 [Stardog.Executor-1] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

ERROR 2017-01-23 07:40:26,247 [Stardog.Executor-1] com.complexible.stardog.dht.dictionary.HashDictionary:compareSizes(343): Dictionary corruption 0 != 20253239

ERROR 2017-01-23 07:40:26,325 [Stardog.Executor-0] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.StardogException: Problem while building index

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:975) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.createDatabase(StardogKernel.java:1103) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.admin.AdminServerFunction.create(AdminServerFunction.java:700) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.admin.AdminServerFunction.handleMessage(AdminServerFunction.java:148) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

Caused by: com.complexible.stardog.index.IndexException: Problem while building index

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:159) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:54) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:970) ~[stardog-4.2.2.jar:?]

... 9 more

Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Dictionary file is corrupt, rebuild the database

at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_92-internal]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:148) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:54) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:970) ~[stardog-4.2.2.jar:?]

... 9 more

Caused by: java.lang.RuntimeException: java.io.IOException: Dictionary file is corrupt, rebuild the database

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:167) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:120) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.dictionary.InliningMappingDictionary$Builder.build(InliningMappingDictionary.java:53) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:128) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:125) ~[stardog-4.2.2.jar:?]

... 4 more

Caused by: java.io.IOException: Dictionary file is corrupt, rebuild the database

at com.complexible.stardog.dht.dictionary.HashDictionary.compareSizes(HashDictionary.java:344) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary.<init>(HashDictionary.java:320) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:162) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:120) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.dictionary.InliningMappingDictionary$Builder.build(InliningMappingDictionary.java:53) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:128) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:125) ~[stardog-4.2.2.jar:?]

... 4 more

ERROR 2017-01-23 07:40:26,328 [StardogServer.WorkerGroup-4] com.complexible.stardog.protocols.http.server.HttpMessageEncoder:createErrorResponse(293): The result encoder received an error message it could not encode, error was:

com.complexible.stardog.StardogException: Problem while building index

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:975) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.createDatabase(StardogKernel.java:1103) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.admin.AdminServerFunction.create(AdminServerFunction.java:700) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.admin.AdminServerFunction.handleMessage(AdminServerFunction.java:148) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

Caused by: com.complexible.stardog.index.IndexException: Problem while building index

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:159) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:54) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:970) ~[stardog-4.2.2.jar:?]

... 9 more

Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Dictionary file is corrupt, rebuild the database

at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_92-internal]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:148) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader.build(ConcurrentDiskIndexLoader.java:54) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.bulkLoad(StardogKernel.java:970) ~[stardog-4.2.2.jar:?]

... 9 more

Caused by: java.lang.RuntimeException: java.io.IOException: Dictionary file is corrupt, rebuild the database

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:167) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:120) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.dictionary.InliningMappingDictionary$Builder.build(InliningMappingDictionary.java:53) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:128) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:125) ~[stardog-4.2.2.jar:?]

... 4 more

Caused by: java.io.IOException: Dictionary file is corrupt, rebuild the database

at com.complexible.stardog.dht.dictionary.HashDictionary.compareSizes(HashDictionary.java:344) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary.<init>(HashDictionary.java:320) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:162) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.dht.dictionary.HashDictionary$Builder.build(HashDictionary.java:120) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.dictionary.InliningMappingDictionary$Builder.build(InliningMappingDictionary.java:53) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:128) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.index.disk.ConcurrentDiskIndexLoader$1.call(ConcurrentDiskIndexLoader.java:125) ~[stardog-4.2.2.jar:?]

... 4 more

ERROR 2017-01-23 07:40:29,154 [Stardog.Executor-0] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

.

.

.

INFO  2017-01-23 07:55:23,492 [main] com.complexible.stardog.virtual.DefaultVirtualGraphRegistry:syncCache(162): Initializing R2RML registry

INFO  2017-01-23 07:55:23,549 [main] com.complexible.stardog.virtual.DefaultVirtualGraphRegistry:syncCache(171): Loaded R2RML registry with 0 sources


------- RESTART -----


INFO  2017-01-23 07:55:25,549 [main] com.complexible.stardog.StardogKernel:start(1878): Initializing Stardog

WARN  2017-01-23 07:55:25,570 [main] com.complexible.stardog.db.DatabaseFactoryImpl:read(137): Database testSesame is invalid and the repair failed: File (/home/stardog/data/testSesame) is not a directory, could not find an index at this location

INFO  2017-01-23 07:55:25,571 [main] com.complexible.stardog.StardogKernel:initDatabases(1944): Database testSesame will not be available because there was an error initializing the database: The index directory does not exist

INFO  2017-01-23 07:55:27,616 [main] com.complexible.stardog.StardogKernel:handleUnusableIndex(1999): Moving irreparable database testSesame to /home/stardog/data/.unusable/testSesame


INFO  2017-01-23 07:55:28,991 [main] com.complexible.stardog.cli.impl.ServerStart:call(260): Memory options

INFO  2017-01-23 07:55:28,992 [main] com.complexible.stardog.cli.impl.ServerStart:call(261): Min Heap Size: 252M

INFO  2017-01-23 07:55:28,993 [main] com.complexible.stardog.cli.impl.ServerStart:call(262): Max Heap Size: 2.7G

INFO  2017-01-23 07:55:28,994 [main] com.complexible.stardog.cli.impl.ServerStart:call(263): Max Off-Heap : 4.0G

INFO  2017-01-23 07:55:28,994 [main] com.complexible.stardog.cli.impl.ServerStart:call(264): System Memory: 16G

ERROR 2017-01-23 07:55:35,835 [Stardog.Executor-9] com.complexible.common.protocols.server.rpc.ServerHandler:exceptionCaught(428): exceptionCaughtServerHandler

com.complexible.stardog.server.UnknownDatabaseException: Database 'testSesame' does not exist.

at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2283) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.assertOnline(StardogKernel.java:2288) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.StardogKernel.authenticate(StardogKernel.java:707) ~[stardog-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.auth(SPECServerFunction.java:193) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) ~[stardog-protocols-spec-server-4.2.2.jar:?]

at com.complexible.common.protocols.server.rpc.ServerHandler.lambda$handleMessage$1(ServerHandler.java:337) ~[stardog-protocols-api-server-4.2.2.jar:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92-internal]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_92-internal]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_92-internal]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92-internal]

INFO  2017-01-23 07:55:39,545 [Stardog.Executor-14] com.complexible.stardog.docs.db.StardocsConnectableFactory:createDocumentStore(117): Creating document store for testSesame at file:////home/stardog/data/testSesame/docs

INFO  2017-01-23 07:55:39,548 [Stardog.Executor-14] com.complexible.stardog.StardogKernel:write(77): Successfully created database 'testSesame'.





Stephen Nowell

unread,
Jan 23, 2017, 7:52:04 AM1/23/17
to sta...@clarkparsia.com
Hi Håvard,

Stardog Community has a hard limit of 25M triples per db [1]. Because of this, it will not recognize any db that contains more than that (e.g., from a previous license). I'm not sure if running the repair command while the database was "unavailable" did something that would render the database unreadable, but in theory you should be able to use a Developer or Enterprise license to see the database again. If there's nothing in the .unusable directory, is the actual testSesame folder still in your STARDOG_HOME?

Cheers,
Stephen

[1] http://stardog.com/#plans
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Håvard M. Ottestad

unread,
Jan 23, 2017, 11:13:22 AM1/23/17
to sta...@clarkparsia.com
Hi Stephen,

Nope it was completely gone.

Tried to look by file size as well, but couldn’t find any trace.

Cheers,
Håvard

Håvard

---
You received this message because you are subscribed to a topic in the Google Groups "Stardog" group.
To unsubscribe from this topic, visit https://groups.google.com/a/clarkparsia.com/d/topic/stardog/X5XgmVherhk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stardog+u...@clarkparsia.com.

Zachary Whitley

unread,
Jan 23, 2017, 11:35:24 AM1/23/17
to Stardog
It might have something to do with your docker setup. It seems like the directory is gone even before Stardog has a chance to do anything. Can you share your dockerfile? You might want to look over your docker daemon logs.


--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Stardog" group.
To unsubscribe from this topic, visit https://groups.google.com/a/clarkparsia.com/d/topic/stardog/X5XgmVherhk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to stardog+unsubscribe@clarkparsia.com.

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to

For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
---
You received this message because you are subscribed to the Google Groups "Stardog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+unsubscribe@clarkparsia.com.

Håvard Ottestad

unread,
Jan 23, 2017, 12:04:38 PM1/23/17
to Stardog
Docker setup is fine. We've been running on it for almost a year without any issues. We use docker volumes, and none of the other files went missing from the volume. Thankfully, since I had a copy of my data I could re-add to the database.
Reply all
Reply to author
Forward
0 new messages