Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
What to do when capistrano/mongrel go off the rails
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
blinking bear  
View profile  
 More options Aug 1 2007, 5:30 pm
From: "blinking bear" <blinkingb...@gmail.com>
Date: Wed, 1 Aug 2007 17:30:35 -0400
Local: Wed, Aug 1 2007 5:30 pm
Subject: What to do when capistrano/mongrel go off the rails

What do do when capistrano/mongrel go off the rails:

So capistrano is awesome right?  Right.  Mongrel? yeah thats awesome too.
Things are great until it's a peak hour of traffic and you want to cap
deploy a 'quick fix'.  Reload the site, 503. WTF!?  Capistrano is spitting
out all sorts of .pid!!'s at you, the client is calling, you're frantically
hitting reload (maybe even opening it up in safari just on a whim).  This
isn't a fun position to be in, but you need to know what to do to get things
on track.  Rather than mess around with cap stop_app/start_app I usually ssh
into the box:

Check if any mongrels are running:

ps -ax | grep mongrel

if you see any, kill -9 them.

Go to your log directory:

ls | grep mongrel

any mongrel.xxxx.pid files in there?  If so, rm each of them.

You should be set to start the app now:

sudo mongrel_rails cluster::start -C /path/to/your/mongrel_cluster.yml

reload...phewww


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hatless  
View profile  
 More options Aug 2 2007, 11:05 am
From: hatless <steve.koppel...@gmail.com>
Date: Thu, 02 Aug 2007 15:05:09 -0000
Local: Thurs, Aug 2 2007 11:05 am
Subject: Re: What to do when capistrano/mongrel go off the rails
Or, until mongrel gets more obedient in the stopping department, you
could take the set of steps you just outlined and make them part of
your cap task. :)

On Aug 1, 5:30 pm, "blinking bear" <blinkingb...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »