I have managed to get mongrel_cluster running on my Windows server (v 1.0.5) ok, but I am having trouble trying to get it to spawning all of the (4) mongrel instances.
我已经设法让我的Windows服务器上运行mongrel_cluster(v 1.0.5),但是我在尝试让它产生所有(4)mongrel实例时遇到了麻烦。
It launches the first one ok, but then does no more. That one instance serves just fine, but the others are not launched. I assume that this is becasue of: "** WARNING: Win32 does not support daemon mode." so its not forking the processes for each instance.
它启动第一个确定,但后来不再。那一个实例服务很好,但其他实例没有启动。我假设这是因为:“**警告:Win32不支持守护进程模式。”所以它不会为每个实例分配进程。
Is there a work arround for this? Even if I have to start 4 'mongrel_rails cluster::start' manually, thats ok (assumming that they start the correct node of the cluster), or am I better off just launching 4 normal (and speerate) mongrel instances?
这有什么工作吗?即使我必须手动启动4'mongrel_rails cluster :: start',那就好了(假设他们启动集群的正确节点),或者我最好只启动4个普通(和speerate)mongrel实例?
I have 2 primary questions:
我有两个主要问题:
Is there a way to solve this? What cool features will I loose by not using mongrel_cluster?
有办法解决这个问题吗?不使用mongrel_cluster会消除哪些很酷的功能?
1 个解决方案
#1
It turns out that you simply CANNOT do what I want to do. Instead you need to install the mongrel_service gem and run seperate mongrel instances as system services and balance on those.
事实证明,你根本做不到我想做的事。相反,您需要安装mongrel_service gem并运行单独的mongrel实例作为系统服务并在这些上进行平衡。
#1
It turns out that you simply CANNOT do what I want to do. Instead you need to install the mongrel_service gem and run seperate mongrel instances as system services and balance on those.
事实证明,你根本做不到我想做的事。相反,您需要安装mongrel_service gem并运行单独的mongrel实例作为系统服务并在这些上进行平衡。