From: Daniel DeLorme Date: 2007-02-04T15:30:00+09:00 Subject: Re: Using fork to conserve memory Rob Sanheim wrote: > I'm not sure how the OP imagines these child processes would work - > Rails doesn't really have any sort of threading model where it could > hand out work to the child processes. A lot of Rails isn't even > threadsafe AFAIK. Thats why all the current deployment recipes have > one full rails environment per mongrel instance/fastcgi process. I was talking about processes, not threads. The point is to use the copy-on-write capabilities of the OS to share the footprint of all the code that is loaded upfront while maintaining the independance of each process. i.e. http://en.wikipedia.org/wiki/Copy-on-write Daniel