Displaying 20 results from an estimated 10000 matches similar to: "whyt should i use mongrel_cluster ?"
2007 Jan 03
12
Frustrating Error
I am followint this article,
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/
...but I keep getting this error in the log...not sure what to try next...
** Daemonized, any open files are closed. Look at log/mongrel.8000.pid and
log/mongrel.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
2006 Aug 10
7
Mongrel proxied through Apache won''t serve images
I followed the tutorial from Coda Hale[1] on setting up
Mongrel/Mongrel_cluster and Apache to move away from my current
Apache+FastCGI setup.
The mongrels are all working fine, and Apache is proxying all dynamic
requests through to the cluster using proxy balance.
Strange thing is now, that all my images in public/images aren''t loading
at all, if I access them directly I just get a
2006 Dec 04
5
Log problem on stop/restart
I''m using the mongrel_cluster recipes for Capistrano as laid out by
codahale.com and the new ed. of the Agile Development book, but I''m
having problems on restart and stop:
I can start:
[root current]# mongrel_rails cluster::start
Starting 3 Mongrel servers...
And I can see 3 processes running:
[root current]# ps aux | grep mongrel
mongrel 1947 0.0 8.2 24684 10776 ?
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
Hi all,
I''ve been having problems with the apache 2.2-mod_proxy_balancer-
mongrel setup.
My setup is:
CentOS 4.3
apache 2.2.3 (compiled from source) with mod_proxy_balancer
mysql 4.1
ruby 1.8.4
mongrel 0.3.14 (I know I need to update but I think this problem is
independent of the mongrel version)
mongrel_cluster 0.2.0
rails_machine 0.1.1
I have apache setup as per Coda''s
2006 Jul 07
10
problem serving pdf files
I''m using the instructions from
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/to
configure mongrel_cluster with apache mod_proxy_balancer. Everything
works fine, except when I try to link to a pdf file to be opened in a new
window, it displays the contents of the pdf as text instead of opening it as
a pdf document through Acrobat.
2006 Nov 13
5
apache -> pen -> mongrel cluster
Hi everyone,
Recently, I''ve been reading about different deployment environments for
rails and mongrel. One configuration I''ve started seeing is apache -> pen
-> mongrel cluster. See http://errtheblog.com/post/35 as an example.
Can someone explain to me the benefit of using Apache and Pen as opposed to
either using apache as a load balancer or pen by itself?
2007 May 08
5
mongrel_cluster 1.0.1.1 does not create /var/run/mongrel_cluster
Hi everyone,
I am going crazy over here! :)
I just want to be able to use --clean with my mongrel_rails
cluster::start command.
I''ve upgraded to mongrel_cluster 1.0.1.1 and mongrel_rails 1.0.1.
my config file is in /etc/mongrel_rails/config.yml
and contains:
---
log_file: log/mongrel.log
port: 8000
pid_file: /var/run/mongrel_cluster/mongrel.pid
servers: 2
address: 127.0.0.1
environment:
2006 Jun 27
5
setting up mongrel..
okay, i have officially given up on:
apache with fastcgi
lighttpd with fastcgi
and now i am working on getting mongrel running..
not that i don''t think that the above two are viable options, i have
just spent more time trying to get this app live than i did actually
writing the app.. and i need to have something working for beta
testing...
i installed mongrel according to:
2006 Dec 01
2
deploying mongrel with capistrano
I''m wondering if anyone has built a Capistrano task that will deploy mongrel
either standalone or along with a rails app. I''ve been looking at
possibilities for doing this but still new to using both having switched from
using FCGI+Lighty and deploying by hand.
Thanks,
Curtis
2007 Nov 13
16
mongrel startup fails now: already initialized constant OPTIONS
I updated to ruby 1.8.6p111 last night and updated some gems and now
mongrel doesn''t work:
MacOS 10.4.10
$ ruby --version
ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin8.10.1]
$ gem list rails
*** LOCAL GEMS ***
rails (1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.6)
Here''s a simple test:
$ rails test5
create ...
$ cd test5
$ script/server
=> Booting
2006 Aug 29
4
Mongrel browse problem
I wanted to show a Rails site to someone so I set up Mongrel and it ran
fine,
This is my mongrel_cluster.yml,
port: ?80"
environment: production
pid_file: log/mongrel.pid
servers: 4
Now, after going back to Apache/Tomcat I can''t get the Mongrel site up and
running again...?
Any suggestions?
(When I run Mongrel, I stop Apache first)
Jim
2006 Aug 15
7
mongrel_cluster not starting on reboot
Hi,
I''m in the process of moving my blog over from lighttpd -> apache 2.2
+ mongrel. Everything works fine as long as I don''t reboot :)
On reboot apache comes up but mongrel_cluster doesn''t start up the pooches...
I have added the mongrel_cluster call to my startup scripts like so:
www:/etc/init.d# update-rc.d mongrel_cluster defaults
Adding system startup for
2007 Mar 01
7
mongrel_cluster
Hello,
Apologize if this is a annoying faq but folks here are trying to get a
cluster going and something odd is happening. When ''mongrel_rails
cluster::start'' is run, the following error is getting returned:
ERROR RUNNING ''cluster::start'': Plugin /cluster::start does not exist in
category /commands
Is this the result of a simple path issue or perhaps a
2006 Jul 26
6
mongrel_cluster
I''m currently working on 4 different RoR apps all using mongrel cluster and
each with their own config file in /etc/mongrel_cluster. I would like the
ability to stop|start|restart a single app. Anyone working on something
like this? I''d be happy to code it up and contribute this if there''s a
need.
Basically I would like this:
sudo /etc/init.d/mongrel_cluster restart
2007 Apr 23
3
mongrel in production not using AR Sessions
Hello,
For some reason when i change the "environments" line in
mongrel_cluster.yml to use production, ActiveRecord Sessions stop working.
Changing this line to development yield the correct result. Entries in
database.yml are correct, and confirmed that the sessions table exists in
both environments and that production is indeed working
(production.logbeing filled up).
Any idea why
2006 Jul 28
7
mongrel_cluster rc.d script for FreeBSD
I wanted to be able to specify in my /etc/rc.conf file whether
mongrel_cluster should be enabled and the mongrel_cluster_config file
for the init script, so I wrote this simple rc.d style script.
Just throw it in /usr/local/etc/rc.d/ and do a chmod +x
/usr/local/etc/rc.d/mongrel_cluster.sh
To enable the script, add mongrel_cluster_enable="YES" to /etc/rc.conf
and optionally add
2007 Mar 04
6
FreeBSD 6.1 mongrel_cluster and procfs message
I''m running the latest mongrel (1.0.1) and the latest mongrel_cluster
(1.0.1.1) on FreeBSD 6.1.
When I use capistrano to try to stop or restart my cluster I get this
(partial) output:
ps: Process environment requires procfs(5)
And my Mongrel processes haven''t stopped.
Any ideas?
Thanks,
Jamie
2006 Apr 24
4
mongrel_cluster 0.1: easy mongrel clustering
Hi y''all;
A quick note to announce the release of mongrel_cluster, a gem_plugin
for Mongrel. This plugin provides commands for managing multiple
Mongrel processes behind a reverse-proxy server and load balancer.
To install:
gem install mongrel_cluster
Configure (use -h to options):
mongrel_rails cluster::configure
Start:
mongrel_rails cluster::start
I''ve posted a quick
2006 Oct 10
6
"MySQL server has gone away" with Apache 2.2 + Mongrel cluster
Hi
I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with
2 Rails applications according to this excellent Post:
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you
Everythings works great, but after a long inactive period (say one night),
the first 3 connections allways get an Error 500
Excerpt from production.log:
...
2006 May 30
6
Getting /etc/mongrel_cluster and startup script to work?
Hi,
I''m trying to setup my mongrel clusters to start on boot. I have
followed the instructions under the "On Boot Initialization Setup"
section at http://mongrel.rubyforge.org/docs/mongrel_cluster.html.
When I try to start it up, I get the following error:
me at mybox.com: sudo /etc/init.d/mongrel_cluster start
Starting all mongrel_clusters...
!!! Path to log file not