0

我知道那里有很多 openshift 粉丝,openshift 给你的功能列表我也不怪他们

所以这个问题是针对那些我solr在 openshift 上运行全文搜索引擎的人

现在我sunspot_rails用来连接solr到创建索引

一段时间内一切正常,所有索引都得到适当创建,但我们经历了一段时间后connection,solr 不断迷路

所以我假设openshift不允许长时间运行的进程像solr运行并且会在一段时间后终止

我相信我是正确的吗

4

1 回答 1

0

You can use nohup to launch your script with post_start_ and post_stop_ scripts in .openshift\actionhooks

Redhat openshift - Cron Runtime - Is there a default time for how long cron executes shows how to do it with cron.

于 2012-11-27T21:41:40.813 回答