ff is described here:
http://rubyforge.org/frs/shownotes.php?release_id=12907
Let me know if there are any issues. Unless there are major objections,
I'm considering giving the Capistrano support its own gem. This should
occur around the release of Cap2.
Bradley Taylo
The new init.d script already does this. Look in
resources/mongrel_cluster in the gem directory.
Bradley
Joey Geiger wrote:
> I created a startup script that just creates the
> /var/run/mongrel_cluster on boot, since it's removed every time you
> restart.
>
>
> On 5/8/07, Ehud Rosenberg <[EMAI
Hi:
As I mentioned earlier, I'll fix this for the final release (any day now
- been really busy).
http://rubyforge.org/pipermail/mongrel-users/2007-April/003454.html
However, as I wrote before, its not a good idea to put pidfiles in a
relative directory as they won't get cleaned up after a ser
Zed A. Shaw wrote:
> 1) When you do cluster::restart it sends the mongrel processes a USR2
> signal. This is the signal that tells mongrel to stop everything, wait
> until that's done, then re-run the start command again.
> *** NOTE: If you change your mongrel_cluster config you'll have
> t
mongrel_rails stop accepts a --wait argument. If I add that to
mongrel_cluster, will it solve these issues?
Bradley
Carl Lerche wrote:
> Yes, I have the same problem. On high traffic apps, mongrel cluster's
> restart will fail pretty consistently (for the reasons stated above).
> A --wait option
urposes of mongrel_cluster, restart == stop;start. Running a single
mongrel with its own configuration file would behave as expected.
Bradley
Michael A. Schoen wrote:
> Bradley Taylor wrote:
>> Unfortunately, this is not reliable for major changes and doing
>> stop/start is the only w
Michael A. Schoen wrote:
> Just a question: why does a cluster restart do a stop and a start,
> rather than an actual restart on each Mongrel? A restart is "nicer", and
> handles much better cases in which a Mongrel can't (or shouldn't) stop
> immediately.
Originally, "cluster::restart" calle
gt;
>> It doesn't look like mongrel_cluster changes the working directory
>> anywhere (based off of the config file, but just passes the working
>> directory on to mongrel_rails. This is fine, except when it tries to
>> check the pid files. Does this make sense?
>>
ick patch if someone
provides a fix.
Regards,
Bradley Taylor
http://railsmachine.com
Michele wrote:
> Bradley,
>
> It seems to work on FreeBSD (I had to delete all gems before it
> actually worked), even though I still get this:
>
> Checking all mongrel_clusters...
> mo
d not Mongrel or other
gems.
Details about what's new (if you missed the first prerelease):
http://blog.railsmachine.com/2007/2/26/mongrel_cluster-prerelease-1-0-1-1
Thanks,
Bradley Taylor
http://railsmachine.com
___
Mongrel-users mailing list
Mon
This 'ps' syntax is really annoying. If my score-keeping is correct:
Linux and FreeBSD seem to support both 'args' and 'command'.
Darwin/MacOSX doesn't support 'args'.
Solaris doesn't support 'command'.
I guess I need to resort to platform checks. I was hoping to avoid this
by using the 'standar
/etc/mongrel_cluster/fluxura.conf
already started port 8000
missing process: removing /var/run/mongrel_cluster/fluxura.8001.pid
starting port 8001
Give it a go and let me know...
Regards,
Bradley Taylor
http://railsmachine.com
___
Mongrel-users mailin
use 'free -m' and look at the "-/+ buffers/cache' line.
Bradley
Erik Hetzner wrote:
> At Wed, 21 Feb 2007 15:54:11 -0500,
> "Roy Satterfield" <[EMAIL PROTECTED]> wrote:
>> Zed,
>> Are you saying that this issue is caused by there not being enough RAM
>> on the server?
>> There are 2 sites running
Hi Donnie:
Thanks for raising this issue and the patch. Locally, I've patched it
using ruby's File.basename and it seems to work for your use case and
supports other file extensions.
I'm working on another prerelease now.
Regards,
Bradley Taylor
[EMAIL PROTECTED] wrote:
>
Josh Ferguson wrote:
> If that's the case is there any sources other than
> the mongrel logs to look for major problems? Apache and the other
> site remain fine, just mongrel goes down.
Does the mongrel.log show a segfault?
Is this running on a Xen VPS? If so, check /var/log/messages to see i
I'm an idiot and didn't notice the missing '='.
[EMAIL PROTECTED]:~$ ps -o command= -p 17145
bash
[EMAIL PROTECTED]:~$ ps -o cmd= -p 17145
bash
Matte, could you please verify the above on your FreeBSD server?
Thanks,
Bradley
Bradley Taylor wrote:
> Hi Matte:
>
>
Hi Matte:
Thanks for trying status out on a BSD system. The command below works on
linux, but doesn't return the same output:
[EMAIL PROTECTED]:~$ ps -o cmd= -p 17145
bash
[EMAIL PROTECTED]:~$ ps -o command -p 17145
COMMAND
bash
I'll see if I can make that ps call a little less linux-specific.
Nice catch! I'll fix for the next one. I think there are too many ways
to do the same thing! (mongrel_rails cluster::, mongrel_cluster_ctl,
capistrano, init.d/mongrel_cluster).
Thanks,
Bradley
Joey Geiger wrote:
> Um, I just looked at the new mongrel_cluster control file for init.d
> and notice
grel servers...
Found dog: 8000
Found dog: 8001
I'm open to suggestions for some different 'status' output. Let me know
if I broke anything.
Install with:
sudo gem install mongrel_cluster --source
http://mongrel.rubyforge.org/releases/
Thanks,
Bradley Taylor
Rails Machine
http://rail
ls start -C /path/to/your/file -p 3000'?
Regards,
Bradley Taylor
Rails Machine
Virtual Clusters for Web Deployments
http://railsmachine.com
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
. I
haven't seen any distro-specific conflicts although I uninstall
everything but the bare minimum to run xend. Get RPMs from Xen Source
and force install them to get the patched glibc.
Regards,
Bradley Taylor
Rails Machine
Ruby on Rails Solutions
VPS Hosting and Deployment Consulting
http:/
Hi Joey:On Aug 17, 2006, at 9:11 AM, Joey Geiger wrote:Are you including the mongrel_cluster code in the mongrel gem, or justreleasing them at the same time?Its still a different gem, but now the source/gem lives in the Mongrel project (instead of railsmachine) and will get built with the Mongrel b
On Aug 14, 2006, at 9:46 AM, Joey Geiger wrote:What changes would I need to make to my configuration file to enablethe prefix support?Thanks.---user: usercwd: /web/servers/website.com/railsport: "8001"environment: developmentgroup: groupaddress: 127.0.0.1pid_file: log/mongrel.pidservers: 3Add "pref
t bugs, patches, and requests to the RubyForge tracker:http://rubyforge.org/tracker/?group_id=1336Let me know how it goes.Thanks,Bradley Taylor--Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwarehttp://railsmachine.com
x27;, please wait for the next one.To install:gem install mongrel_cluster --source http://railsmachine.rubyforge.org/releases/Please submit bugs, patches, and requests to the RubyForge tracker:http://rubyforge.org/tracker/?group_id=1336Let me know how it goes.Thanks,Bradley Taylor -
On Aug 10, 2006, at 3:06 PM, Zed Shaw wrote:With this you can then configure your mongrel servers with the --prefixoption:mongrel_rails start -e production --prefix=/appI'll have to contact Bradley about how to get mongrel_cluster to usethis though.A mongrel_cluster release is coming soon (like tom
,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwarehttp://railsmachine.com ___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
lude it in the next prerelease.Would be nice if mongrel_cluster_ctl had some sort of "status" switchto see if the servers are actually running and what their pids are.I'll look into this. Thanks,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified D
rt -C /etc/mongrel_cluster/$1.yml;}cluster_start () { mongrel_rails cluster::start -C /etc/mongrel_cluster/$1.yml;}cluster_stop () { mongrel_rails cluster::stop -C /etc/mongrel_cluster/$1.yml;}usage: $ cluster_start fluxuraThanks,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedi
s applications on on a single server. These differences reflect the different needs of the authors. The extras that mongrel_cluster provides are not mandatory for using Mongrel in clustered way, but are useful in many deployments. For myself and most of my customers, mongrel_cluster won't b
e next few days so if you have any burning questions or confusion, please let me know. Thanks,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwarehttp://railsmachine.com ___
Mongrel-users mailin
eak-in-typo-is-deadI upgraded my personal blog a few days ago and my doggies are at 27mb each. Regards,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwarehttp://railsmachine.com ___
Mongre
.When configuring multiple clusters, be sure to change the apache_proxy_port variable for each app in its 'config/deploy.rb'.Please let me know how it works for you.Thanks,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services a
y.rb:https://support.railsmachine.com/index.php?pg=kb.page&id=12Hope this helps! Dig around in the gem source to see how to modify the process for your needs.Good luck,Bradley Taylor --Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwarehttp://ra
On Jun 30, 2006, at 2:40 AM, Matt Pelletier wrote:I'll have to go with 'Victoria'. Something about her carefree smile and obvious zeal for the uncommon reminds of bugs.+1 for VickyBradley Taylor--Rails Optimized Hosting ~ VPS and Dedicated ServersSimplified Deployment ~ Services and Softwareht
rives!
Visit RailsMachine.com for more information. You can access
information, documentation, and our Rails Deployment Campfire. We
hope you visit soon!
And thanks, from the entire Rails Machine team!
http://railsmachine.com
Sincerely,
Bradley Taylor
PS. Look for us at RailsConf on Thursday!
--
cluster::restart depending on if you've
modified your mongrel_cluster conf file (changing port, etc). I tend
to favor the behavior of stop/start as its more inline with other
services and avoids issues with configuration changes. I plan on
digging into this a bit more next week.
Tha
usage
of mongrel_cluster_ctl from a bash script.
- Modify as needed for your OS.
- Email me a modified version for your OS and I will include in
the final release. Please include instructions for starting on boot.
Please add bugs, requests, etc to the RubyForge tracker:
http://rubyforge.
orm check in
Mongrel::Configurator::change_privilege that calls
ImpersonateSecurityContext (or similar function) instead.
> Its a excelent work Brad, and I think we should keep differences in
> params between platform to the minimun, so docs don't get a lot of
> "this onl
On May 20, 2006, at 10:52 PM, Zed Shaw wrote:
> On Sat, 2006-05-20 at 21:53 -0300, Luis Lavena wrote:
>> On 5/20/06, Zed Shaw <[EMAIL PROTECTED]> wrote:
>>> * Patch from Bradley Taylor that gives mongrel_rails start the
>>> options
>>> -u and -g.
On May 20, 2006, at 3:51 PM, Zed Shaw wrote:
>
> Well, I guess it's time to just let everyone know that I'm working
> on a
> "super secret" proxy server to go along with Mongrel that would
> basically do all the stuff Bradley is talking about (which Bradley
> knows
> so I'm curious why he's ja
front-end with the simplicity
of Pound combined with Lighty's static performance, good caching
support, and select Apache features . Seems like quite an opportunity
for an enterprising C/C++ developer...
Regards,
Bradley Taylor
--
Rails Machine
Simplified Ruby on Rails applicati
Hey y'all...
Give this a try and let me know how it works!
http://fluxura.com/articles/2006/05/19/apache-for-static-and-mongrel-
for-rails-with-mod_deflate-and-capistrano-support
Thanks,
Bradley Taylor
--
Rails Machine
Simplified Ruby on Rails application deployment
Hi Michael,
Thanks for the feedback. Comments below.
>
> 1. Parse the mongrel_cluster.yml file through ERB, like Rails does for
> the fixtures and database.yml file. Would allow for things like
> setting
> the CWD to ENV['HOME'], etc. Rails uses:
>
I'm not sure I understand your motivation. Wh
Hi Roberto:
>
> Bradley, can you show a simple, but working example of what needs
> to be configured at the develpment machine and what needs to be
> done at the production machine (if anything at all) ? Then I
> hopefullyI can figure out what I am doing wrong.
***deploy.rb***
require 'm
Hi Robert:then I thought I could give "cap -a configure_mongrel_cluster" a try, hoping it would put things into the right order, but I got this: ** [out :: xx.xx.xx.xx] !!! Path to log file not valid: log/mongrel.log ** [out :: xx.xx.xx.xx] cluster::configure reported an error. Use -h to get help.
if use_sudo is true.
restart: Calls restart_mongrel_cluster to allow Mongrel to be used
with the standard Capistrano deploy task.
spinner: Calls start_mongrel_cluster to allow Mongrel to be used with
the standard Capistrano cold_deploy task.
Good luck and let me know how it works for ya!
47 matches
Mail list logo