监控 ROR 服务器(精简型或混合型)的资源和 WINDOWS 中的可用性并重新生成
首先我想说的是,我知道不建议在 Windows 中部署 ROR 应用程序,但在这种情况下,由于某些客户端限制,我别无选择。
我正在寻找一个类似 Upstart 的 Windows 工具,它可以监视我的 Thin 或 Mongrel 实例,并且会重新-在崩溃或可用性的情况下生成'。
现在我环顾四周,大多数解决方案(例如 UpStart 或 Passenger 服务器)仅适用于 Unix 环境。
有哪些已知的 Windows 工具?以及如何使用它们?
我也对 Windows 的任何替代 ror 服务器持开放态度,这些服务器可以像乘客一样自动执行此操作。
谢谢 肖纳克
First thing I would like to say is, i know deploying ror applications in windows is not recommended, but in this case i have no choice due to some client restrictions.
I am looking for a tool like Upstart for windows which will moniter my instance of Thin or Mongrel and will 're-spawn' in case of crashes or availability.
Now I looked around quite a bit and most solutions like UpStart, or Passenger server are only available for Unix environments.
Any known tools for windows? and how to use them?
I am also open to any alternative ror servers for windows that can do this automatically like passenger does.
Thanks
Shaunak
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许一个bat脚本作为计划任务来运行wmic进程,扫描以找到Mongrel,如果没有找到就运行它?
抱歉,我会在 bash 中完成,或者我会给你一个代码示例。
在我看来,这也是一个很好的 python 脚本。
Maybe a bat script as a scheduled task to run wmic process, scan to find Mongrel, and if it's not found to run it?
Sorry, I'd do it in bash, or I'd have a code example for you.
This would also make a good python script, in my opinion.