[Mongrel] [ANN] mongrel_cluster 1.0.2

2007-07-10 Thread Bradley Taylor
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

Re: [Mongrel] mongrel_cluster 1.0.1.1 does not create /var/run/mongrel_cluster

2007-05-09 Thread Bradley Taylor
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

Re: [Mongrel] problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option

2007-04-17 Thread Bradley Taylor
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

Re: [Mongrel] OHHHHHHHHHHHH!!!! Re: [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-12 Thread Bradley Taylor
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

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-12 Thread Bradley Taylor
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

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-11 Thread Bradley Taylor
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

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-11 Thread Bradley Taylor
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

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-11 Thread Bradley Taylor
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? >>

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-03-27 Thread Bradley Taylor
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

[Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-03-20 Thread Bradley Taylor
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

Re: [Mongrel] FreeBSD 6.1 mongrel_cluster and procfs message

2007-03-04 Thread Bradley Taylor
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

[Mongrel] [ANN] Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!

2007-02-23 Thread Bradley Taylor
/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

Re: [Mongrel] Critical Issue - Site down...

2007-02-21 Thread Bradley Taylor
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

Re: [Mongrel] Mongrel_Cluster PID File Creation Error.

2007-02-21 Thread Bradley Taylor
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: >

Re: [Mongrel] Mongrel Monitoring...

2007-02-16 Thread Bradley Taylor
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

Re: [Mongrel] mongrel_cluster 0.2.2 - plugin cluster::status does not exist?

2007-02-13 Thread Bradley Taylor
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: > >

Re: [Mongrel] mongrel_cluster 0.2.2 - plugin cluster::status does not exist?

2007-02-13 Thread Bradley Taylor
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.

Re: [Mongrel] [ANN] mongrel_cluster 0.2.2 prerelease

2007-01-30 Thread Bradley Taylor
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

[Mongrel] [ANN] mongrel_cluster 0.2.2 prerelease

2007-01-25 Thread Bradley Taylor
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

Re: [Mongrel] mongrel_cluster: selective restarts

2006-12-19 Thread Bradley Taylor
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

Re: [Mongrel] Distroy to experiment with Xen?

2006-11-09 Thread Bradley Taylor
. 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:/

Re: [Mongrel] [ANN] Mongrel 0.3.13.4 Pre-Release -- QUERY_STRING Fixed

2006-08-17 Thread Bradley Taylor
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

Re: [Mongrel] [ANN] Mongrel Cluster 0.2.1 prerelease with prefix!

2006-08-14 Thread Bradley Taylor
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

[Mongrel] [ANN] Mongrel Cluster 0.2.1- Last Call

2006-08-14 Thread Bradley Taylor
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

[Mongrel] [ANN] Mongrel Cluster 0.2.1 prerelease with prefix!

2006-08-11 Thread Bradley Taylor
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 -

Re: [Mongrel] Mongrel servers running in a subdirectory behind a proxy

2006-08-10 Thread 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

Re: [Mongrel] Finding out on which port mongrel is running

2006-08-04 Thread Bradley Taylor
,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

Re: [Mongrel] mongrel_cluster rc.d script for FreeBSD

2006-07-28 Thread Bradley Taylor
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

Re: [Mongrel] mongrel_cluster

2006-07-25 Thread Bradley Taylor
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

Re: [Mongrel] cluster vs. rails spawner

2006-07-13 Thread Bradley Taylor
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

[Mongrel] [ANN] Mongrel Cluster 0.2.1 prerelease

2006-07-13 Thread Bradley Taylor
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

Re: [Mongrel] Memory usage issues

2006-07-11 Thread Bradley Taylor
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

Re: [Mongrel] multiple mongrel clusters

2006-07-05 Thread Bradley Taylor
.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

Re: [Mongrel] multiple mongrel clusters

2006-07-05 Thread Bradley Taylor
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

Re: [Mongrel] Time To Pick the Mongrel BUGS Mascot!

2006-06-30 Thread Bradley Taylor
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

[Mongrel] [ADV] Rails Machine Simplifies Application Deployment

2006-06-21 Thread bradley taylor
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! --

Re: [Mongrel] cluster::restart vs. stop/start

2006-06-21 Thread bradley taylor
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

[Mongrel] [ANN] mongrel_cluster 0.1.3 prerelease

2006-05-24 Thread bradley taylor
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.

Re: [Mongrel] [ANN] Mongrel 0.3.13 Bugs Update -- Change UID/GID Patch

2006-05-21 Thread bradley taylor
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

Re: [Mongrel] [ANN] Mongrel 0.3.13 Bugs Update -- Change UID/GID Patch

2006-05-21 Thread bradley taylor
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.

Re: [Mongrel] Mongrel/Apache and static content

2006-05-21 Thread bradley taylor
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

Re: [Mongrel] Mongrel/Apache and static content

2006-05-19 Thread bradley taylor
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

Re: [Mongrel] Mongrel/Apache and static content

2006-05-19 Thread bradley taylor
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

Re: [Mongrel] [ANN] mongrel_cluster-0.1.1: the bird dog (capistrano support!)

2006-05-08 Thread bradley taylor
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

Re: [Mongrel] problem setting up mongrel_cluster 0.1.1

2006-05-05 Thread bradley taylor
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

Re: [Mongrel] problem setting up mongrel_cluster 0.1.1

2006-05-04 Thread bradley taylor
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.

[Mongrel] [ANN] mongrel_cluster-0.1.1: the bird dog (capistrano support!)

2006-05-01 Thread bradley taylor
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!