mongrel-users  

Re: [Mongrel] Patch : Rails, ActionController::Base.allow_concurrency and mongrel

Zed Shaw
Tue, 30 May 2006 16:53:32 -0700

On Mon, 2006-05-29 at 12:06 -0700, James Moore wrote:
> Any thought for having a preforking mongrel, with a few features like
> min_servers, max_servers, min_spare_servers, etc?
> 
>  - James

Pre-forking is not reliable under ruby for some odd reason.  I had this
running with SCGI, but when the IO on the main socket comes in at higher
rates you get the data mixed up between the pre-forked processes.

Only way around it is to write a custom C program that then embeds Ruby
which then runs Mongrel, which is a lot more trouble than it's worth
right now.

And, none of the preforking will ever work on win32 since windows
doesn't have the same kind of fork semantics that Unix does.

Zed

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
  • Re: [Mongrel] Patch : Rails, ActionController::Base.allow_concurrency and mongrel Zed Shaw