我在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
答案 0 :(得分:2)
基于日志,我想到的唯一事情是将中断信号发送到GraphDB并且它正在优雅地退出。
在后台运行GraphDB的推荐方法是添加-d(daemonize)选项,例如:在您的情况下/var/lib/graphdb/bin/graphdb -Xmx1224M -Xms712M -d
。