Yves D''Astous
2008-Mar-18 21:10 UTC
[Mongrel] Running multiple mongrel to "serve" the same rail application with active scaffold
Hi, I want to run more then one mongrel for the same rail application on the same machine, using the same rails files. This application use "active scaffold" when I start one mongrel some files are writes in the public/plugin_assets/ folder. If I start more then one mongrel it is possible these files become scrambles ?, there is also some files in tmp/{cache,pids,sessions ,sockets, webfile} who can i make sure the 2 mongrels will not interfere each other ?, Do i really need to use a separated copy of the same rail application for each mongrel ? Yves
Rob Kaufman
2008-Mar-21 02:09 UTC
[Mongrel] Running multiple mongrel to "serve" the same rail application with active scaffold
Hi Yves, Those assets should only be writen the very first time your app loads, and not on each load. No matter what the various mongrels will not interfere with each other if run from the same rails directory unless active scaffold is doing something truly horrible with they''re file writing. This seems pretty unlikely. Rob On Tue, Mar 18, 2008 at 2:10 PM, Yves D''Astous <yves.dastous at intertrade.com> wrote:> Hi, > > I want to run more then one mongrel for the same rail application on the > same machine, using the same rails files. > This application use "active scaffold" when I start one mongrel some > files are writes in the public/plugin_assets/ folder. > > If I start more then one mongrel it is possible these files become > scrambles ?, there is also some files in tmp/{cache,pids,sessions > ,sockets, webfile} > who can i make sure the 2 mongrels will not interfere each other ?, Do i > really need to use a separated copy of the same rail application for > each mongrel ? > > Yves > > > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20080320/2b642b0c/attachment.html