From: Daniel DeLorme Date: 2007-02-04T12:55:33+09:00 Subject: Re: Using fork to conserve memory ara.t.howard@noaa.gov wrote: > you realize that this is __exactly__ what running rails, or any cgi, under > fastcgi does right? No, fastcgi creates a bunch of worker processes and loads the full rails environment in EACH of them. That means a lot of memory (30+ MB for each process) and a long initialization time (2+ seconds for each process). What I'm talking about is loading the large environment once and THEN forking off worker processes that don't need to go through the expensive initialization sequence. It seems like an obvious idea and rails is not the only framework with a large footprint, so *someone* must have done something like this already. Daniel