[Mongrel] [ANN] mongrel_cluster 0.2.2 prerelease

Joey Geiger jgeiger at gmail.com
Tue Jan 30 11:21:34 EST 2007


Um, I just looked at the new mongrel_cluster control file for init.d
and noticed that the
restart and status options are the same thing.


    restart)
      mongrel_cluster_ctl restart -c $CONF_DIR
      RETVAL=$?
  ;;
    status)
      mongrel_cluster_ctl restart -c $CONF_DIR
      RETVAL=$?
  ;;

Need to change the status command to, well status...


On 1/26/07, Charles Brian Quinn <me at seebq.com> wrote:
> Bradley, I agree, thanks for this.
>
> A hard rebooted box failed to start mongrel up -- and this should help
> out quite nicely.
>
> Thank you.  Now I owe you like 28 beers.
>
> On 1/26/07, Jason Young <jason.young at extension.org> wrote:
> >
> > On Jan 26, 2007, at 12:10 AM, Bradley Taylor wrote:
> >
> > > Hey y'all:
> > >
> > > I've added some new stuff to mongrel_cluster. Give it try and let me
> > > know if it works for you.
> > >
> > > * Added '--clean' to cluster::start to force removal of the pidfile
> > > before trying to start the cluster member. This is useful for
> > > recovering
> > > from unexpected process death.
> >
> > Oh this is absolutely fantastic.  It actually turns out to be exactly
> > what I needed today.  We can't go 24 hours without ferret segfaulting
> > mongrel on the most completely random searches ever - and the change
> > to mongrel 1.0.1 from 0.3.13.4 seems to leave the pids laying around
> > more.
> >
> > The --clean seems to be working great in my monit-initiated restarts
> > (in production mind you :-) ) and now I can happily ignore trying to
> > find the segfault needle in the ferret haystack again(*)
> >
> > Thanks Bradley!
> > Jason
> >
> > (* yes I know it's completely lazy to ignore this.   But a) laziness
> > is a require virtue of systems management and b) trying to find a
> > random segfault in thousands of lines of C code is no longer fun to
> > me ;-) )
> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Jason Young --  Systems Manager, eXtension
> >   http://about.extension.org/wiki/Jason_Young
> > ______________________________________
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Mongrel-users mailing list
> > Mongrel-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mongrel-users
> >
>
>
> --
> Charles Brian Quinn
> self-promotion: www.seebq.com
> highgroove studios: www.highgroove.com
> slingshot hosting: www.slingshothosting.com
> main: 678.389.9462  fax: 678.826.0969
>
> Ruby on Rails Bootcamp at the Big Nerd Ranch
> Intensive Ruby on Rails Training:
> http://www.bignerdranch.com/classes/ruby.shtml
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


More information about the Mongrel-users mailing list