Thanks for the reply Craig.

Capistrano was throwing the error about the PID files which is how I
found out about it.  If you weren't seeing an error in the Capistrano
log then you may be having a different problem.

The puzzling thing is, a direct command line call to 'mongrel_rails
cluster::restart' deletes the PID files correctly.  But when
Capistrano calls that function it seems to have problems.

I'm wondering if it's an issue with the location of the PID files -
perhaps they need to be in shared/pids and not log/?  I'm going to
examine the mongrel_cluter/recipes file to see if I can track down the
problem and report back.

Please let me know if you make any progress.

Cheers,

Niall Mullally
http://www.4L.ie/

On Feb 11, 9:06 pm, Craig Jolicoeur <[EMAIL PROTECTED]
s.net> wrote:
> Niall,
>
> I still have not found a solution to this problem.  Since you have
> tracked it down to the fact that the PID files aren't being deleted, I
> may be able to work up a solution.  I'll take a look and see if I can
> come up with anything
>
> - Craig
>
>
>
> Niall Mullally wrote:
> > Hi Craig,
> > I've just started using Capistrano and am having the same problem.
> > When deploying or rolling back, the mongrel cluster  (3 instances)
> > fails to restart nearly every time.  The PID files are not being
> > deleted when the cluster is stopped and so when it tries to start the
> > cluster again it fails because the PIDs exist.
>
> > Other times it has started the cluster but spawned 6-9 mongrel
> > instances.
>
> > Like yourself I've had to resort to restarting the cluster manually
> > which isn't ideal.
>
> > Did you find a solution to this problem?  Or, would anybody else be
> > able to assist with this?
>
> > Thanks in advance for any help.
>
> > Regards,
>
> > Niall Mullally
> >http://www.4L.ie/
>
> > On Jan 30, 3:01 pm, Craig Jolicoeur <[EMAIL PROTECTED]
>
> --
> Posted viahttp://www.ruby-forum.com/.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to