<p>Is there a way to restart the Rails app (e.g. when you've changed a plugin/config file) while Mongrel is running. Or alternatively quickly restart Mongrel. Mongrel gives these hints that you can but how do you do it?</p>

<p>** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).</p>

<p>** Rails signals registered.  HUP => reload (without restart).  It might not work well.</p>

[{'answer_id': 74241, 'author': 'Jan Krüger', 'author_id': 12471, 'author_profile': 'https://Stackoverflow.com/users/12471', 'pm_score': 2, 'selected': False, 'text': '<p>For example,</p>\n\n<pre><code>killall -USR2 mongrel_rails\n</code></pre>\n'}, {'answer_id': 74998, 'author': 'TonyLa', 'author_id': 1295, 'author_profile': 'https://Stackoverflow.com/users/1295', 'pm_score': 2, 'selected': False, 'text': '<p>in your rails home directory </p>\n\n<pre><code>mongrel_rails cluster::restart\n</code></pre>\n'}, {'answer_id': 75028, 'author': 'Lucas Oman', 'author_id': 6726, 'author_profile': 'https://Stackoverflow.com/users/6726', 'pm_score': 3, 'selected': False, 'text': "<p>You can add the -c option if the config for your app's cluster is elsewhere:</p>\n\n<pre><code>mongrel_rails cluster::restart -c /path/to/config\n</code></pre>\n"}, {'answer_id': 90316, 'author': 'Mike Berrow', 'author_id': 17251, 'author_profile': 'https://Stackoverflow.com/users/17251', 'pm_score': 3, 'selected': False, 'text': '<p>1st discover the current mongrel pid path with something like:</p>\n\n<blockquote>\n  <p>>ps axf | fgrep mongrel</p>\n</blockquote>\n\n<p>you will see a process line like:</p>\n\n<p><strong>ruby /usr/lib64/ruby/gems/1.8/gems/swiftiply-0.6.1.1/bin/mongrel_rails start -p 3000 -a 0.0.0.0 -e development -P /home/xxyyzz/rails/myappname/tmp/pids/mongrel.pid -d</strong></p>\n\n<p>Take the \'-P /home/xxyyzz/rails/myappname/tmp/pids/mongrel.pid\' part and use it like this:</p>\n\n<blockquote>\n  <p>>mongrel_rails restart -P  /home/xxyyzz/rails/myappname/tmp/pids/mongrel.pid</p>\n</blockquote>\n\n<p><strong>Sending USR2 to Mongrel at PID 18481...Done.</strong></p>\n\n<p>I use this to recover from the dreaded "Broken pipe" to MySQL problem.</p>\n'}]
['https://Stackoverflow.com/questions/74218', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/6432/']