Thanks Lori and Siva! I am sure I will be able start deployin' much better!

On 11/9/06, Lori Olson <[EMAIL PROTECTED] > wrote:
And, you might want to override the :restart task like this in your deploy.rb file:

desc "Override the default restart, because reaper restarts aren't working"
task :restart, :roles => :app do
  send(run_method, "#{current_path}/script/process/reaper -a graceful")
end




On 11/9/06, Siva Jagadeesan < [EMAIL PROTECTED]> wrote:
reaper -a graceful

You can see the different options of reaper by running "reaper -h"


On 11/9/06, Rizwan Reza < [EMAIL PROTECTED]> wrote:

Hi,

I am having the same problem and I am very new to Capistrano. By
gracefully killing, what command do you mean I'd run?

Thanks in advance and thanks Jamis for such a great cap!

Rizwan

On Nov 2, 9:55 pm, "Siva Jagadeesan" < [EMAIL PROTECTED]> wrote:
> Thanx Jamis.
>
> Okay I will change my restart target to gracefully kill my
> dispatch.fcgiprocesses. I am having release once a week. So hopefully
> that should not be
> creating Mysql connection problems.
>
> Rgds,
>
> -- Siva Jagadeesan
>
> View/Share/Rate Recipes atwww.masalabites.com
>
> On 11/2/06, Jamis Buck < [EMAIL PROTECTED]> wrote:
>
>
>
> > Siva,
>
> > In general, I am losing a lot of trust in the default behavior of
> > script/process/reaper. My recommendation is to always use the "-a
> > graceful" switch. Another gotcha--if you use the default script/
> > process/reaper behavior, MySQL connections are not closed, so if you
> > restart too often in succession, you can run out of database
> > connections. :(
>
> > - Jamis
>
> > On Nov 2, 2006, at 9:18 AM, Siva Jagadeesan wrote:
>
> > > Hi everyone:
>
> > > when I am deploying, I am able to see reaper process restarting
> > > dispatch.fcgi process. But for some reason, the app is still
> > > showing the older version. Then when I gracefully kill
> > > dispatch.fcgi processes , the app is working fine.
>
> > > Any idea,
>
> > > -- Siva Jagadeesan
>
> > > View/Share/Rate Recipes atwww.masalabites.com











--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to