卡住 OpenShift 应用程序
Stuck OpenShift Application
我的申请挂了。因此,我想删除该应用程序,但这是不可能的。当我想从 Web 界面删除应用程序时,OpenShift 只显示:"Unable to perform action on app object. Another operation is already running"。
Unable to perform action on app object. Another operation is already running.
当我检查我的申请状态时,它是未知的。它为我的 Tomcat 服务器和我的数据库服务器显示 "unknown"。
我现在该怎么做才能让我的应用程序恢复运行?
这可能是Tomcat 运行 内存不足造成的。在 rhc command line tools 中尝试 rhc app force-stop -a [your_app]
。这应该会终止您应用程序中的所有 运行 线程,即使它内存不足也是如此。然后,如果您想重新启动应用程序,请使用 rhc app start
.
来源:https://help.openshift.com/hc/en-us/articles/202399040-How-to-restart-an-application-
看来您的错误是由 OpenShift 上的 intermittent API failures 引起的,因此您无能为力(除非您为 OpenShift 工作)。
您可以在 Twitter 上查看 OpenShift Online Status Page to see whether the API errors are still present. To receive the latest status updates you can also follow OpenShift Operations 或加入此 IRC 频道:#openshift
irc.freenode.net
。
我想问题会很快解决的。
我的申请挂了。因此,我想删除该应用程序,但这是不可能的。当我想从 Web 界面删除应用程序时,OpenShift 只显示:"Unable to perform action on app object. Another operation is already running"。
Unable to perform action on app object. Another operation is already running.
当我检查我的申请状态时,它是未知的。它为我的 Tomcat 服务器和我的数据库服务器显示 "unknown"。
我现在该怎么做才能让我的应用程序恢复运行?
这可能是Tomcat 运行 内存不足造成的。在 rhc command line tools 中尝试 rhc app force-stop -a [your_app]
。这应该会终止您应用程序中的所有 运行 线程,即使它内存不足也是如此。然后,如果您想重新启动应用程序,请使用 rhc app start
.
来源:https://help.openshift.com/hc/en-us/articles/202399040-How-to-restart-an-application-
看来您的错误是由 OpenShift 上的 intermittent API failures 引起的,因此您无能为力(除非您为 OpenShift 工作)。
您可以在 Twitter 上查看 OpenShift Online Status Page to see whether the API errors are still present. To receive the latest status updates you can also follow OpenShift Operations 或加入此 IRC 频道:#openshift
irc.freenode.net
。
我想问题会很快解决的。