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

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
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs