我在Ubuntu服务器上运行了graphDB 8.0.2。
我用/var/lib/graphdb/bin/graphdb -Xmx1224M -Xms712M &
运行它。
graphdb进程无故停止。我没有在日志中看到任何错误(请参阅下文)。
这可能是什么原因?
我该如何调试呢?
我已经增加了分配给该进程的内存,但仍在尝试这种行为。更大的内存可以解决任何问题吗?
感谢您的帮助[INFO ] 2017-09-06 13:38:58,092 [repositories/sem-bo | o.e.r.h.s.r.TupleQueryResultView] Request for query -1311463370 is finished[INFO ] 2017-09-06 13:38:58,097 [repositories/sem-bo | c.o.f.s.RepositoryController] POST query -2012703728[INFO ] 2017-09-06 13:38:58,114 [repositories/sem-bo | o.e.r.h.s.r.TupleQueryResultView] Request for query -2012703728 is finished[INFO ] 2017-09-06 13:43:43,796 [Thread-4 | c.o.g.s.GraphDB] Stopping GraphDB.[INFO ] 2017-09-06 13:43:43,964 [localhost-startStop-2 | c.o.f.c.s.SemanticDataManagement] Shutting down current semantic location[INFO ] 2017-09-06 13:43:44,381 [Thread-5 | c.o.t.s.i.PluginManager] Shutting down plugins (DEFAULT)...[INFO ] 2017-09-06 13:43:44,415 [Thread-5 | c.o.t.b.AVLRepository] NumberOfStatements = 45247[INFO ] 2017-09-06 13:43:44,415 [Thread-5 | c.o.t.b.AVLRepository] NumberOfExplicitStatements = 45089[INFO ] 2017-09-06 13:43:44,415 [Thread-5 | c.o.t.f.GraphDBFreeSchemaRepository] Shutting down entity pool[INFO ] 2017-09-06 13:43:49,444 [Thread-5 | c.o.t.f.GraphDBFreeSchemaRepository] Entity pool was shut down
最佳答案
根据日志,唯一想到的是将中断信号发送到GraphDB,并且它正在正常退出。
建议在后台运行GraphDB的方法是添加-d(daemonize)选项,例如在您的情况下/var/lib/graphdb/bin/graphdb -Xmx1224M -Xms712M -d
。