Rack env rack.multiprocess true with single worker

Eric Wong normalperson at yhbt.net
Thu Oct 18 17:38:56 UTC 2012

Petteri Räty <betelgeuse at gentoo.org> wrote:
> On 18.10.2012 10.53, Eric Wong wrote:
> > 
> > Since a single process deployment is a corner-case in production
> > deployments, I don't think it's worth the effort to jump through hoops
> > and set rack.multiprocess=false automatically.
> > 
> Do the workers currently know how many others there are? I am trying to
> understand if you are saying that writing a patch would not be trivial.
> If it's relative straightforward I might take a stab.

No, workers don't keep track of other workers and it's not easy to
support this.

The workaround with the DEFAULTS hash is your best option.

More information about the mongrel-unicorn mailing list