Displaying 20 results from an estimated 4000 matches similar to: "Using mongrel cluster"
2008 Jan 03
23
deployment survey
Hello Mongrels,
Building on the last messages about Fastthread, can we get a detailed
survey of the different ways people are deploying their applications?
It will help with near-future Mongrel development.
Please include the following things:
* Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...)
* Mongrel version
* Mongrel handlers used (rails, dirhandler, camping,
2006 May 20
9
Mongrel 0.3.13 Update -- Code Review, Code Coverage
Hey Folks,
I''ve been holding off the official 0.3.13 release so that Luis can get
the win32 side very nice and clean. We fixed a major problem last night
so it''s only a short time before we get it out. Luis is working really
hard on it, so just be patient.
In the meantime, I''ve been doing a code audit of the Mongrel code as it
is now and fixing any little things I
2006 Jun 20
1
Performance tweak when local files are not served by mongrel
Hello Zed !
I''ve experimented a simple but limited performance tweak in the mongrel
rails loader.
With the following apache 2.2 mod proxy loadbalancer setup :
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
We can assume that mongrel is called only when the
2007 Apr 03
11
monit vs mongrel cluster
Is there anything mongrel cluster gives you that monit doesn''t? I''ll
be using monit to monitor a number of other services anyways, so it
seems logical to just use it for everything including mongrel.
Chris
2006 Nov 30
4
Mongrel Cluster init.d problems
I have installed mongrel and mongrel_cluster fine and have them
running great with my app. I tried using the init.d script provided
with mongrel_cluster 2.1 to start it up on boot but it doesn''t.
mongrel_cluster_ctl works fine for me by hand and so does
/etc/init.d./mongrel_cluster start. I am on Debian so I installed the
service links with sudo update-rc.d mongrel_cluster defaults. And
2006 Jul 13
3
Mongrel Cluster 0.2.1 prerelease
Hi Y''all,
Just a quick note announce an update to mongrel_cluster.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
- Added ''.conf'' as
2006 Aug 22
1
Problem getting Mongrel to start at startup
Hi,
I''m running CentOS 4.3 and the latest Mongrel (0.3.13.3) and mongrel_cluster
(0.2.0). I have set up a cluster, following the instructions at
http://mongrel.rubyforge.org/docs/mongrel_cluster.html . I created a
symbolic link in the directory /etc/mongrel_cluster . When I run
mongrel_rails cluster::start -c test.yml, the mongrel servers start up. But
at boot, the command
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello,
I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart
in an alternating manner.
Specifically, this soluiton:
http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content
Which means I an call to mongrel_rails cluster::restart to do this:
mongrel_rails start 8001
mongrel_rails stop 8001
mongrel_rails start 8002
2007 Mar 26
4
Monit + Mongrel woes
Hello all,
So, I''ve been using monit with mongrel for a while now, since the
0.3.x days (I think it was). It used to work fine, but now I seem to
be having some trouble. I''m currently using mongrel 1.0.1 and I am
using the same monit configuration I''ve always been using, yet
everytime monit should restart mongrel, I get "Execution failed".
For the start
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
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
2007 Dec 13
4
Weird Mongrel error: Not starting.
Hi list,
I have a problem with Mongrel which is really bugging me. I would really
appreciate any help that anyone can provide to help me in solving this
problem.
1. My setup:
Apache front_end with mod_proxy_balancer in front of 4 mongrel/rails
instances of my application.
Rails 1.2.5
Ruby 1.8.6
Mongrel 1.1.1
2. I noticed that the CPU consumption on my server was 100% being consumed
by ruby so I
2007 Sep 17
4
Mongrel clusters are not being started on reboot
I''ve done a clean install of Ubuntu 7.04 server in 2 different
machines and everytime I reboot the machine or manually run /etc/
init.d/mongrel_cluster restart/start the mongrels won''t start correctly.
I have to manually start them by using mongrel_rails cluster::start
from each app folder. I''ve been searching around and it looks like
mongrel has some problems
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2
mongrels to start up reliably.
This should be a pretty simple cluster, with just 2 instances running. My
mongrel config (mongrel_cluster.yml) looks like:
cwd: /deployment/installed/myapp/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file:
2006 Aug 03
9
Finding out on which port mongrel is running
Hi *,
What''s the best way to find out on which port mongrel is running from
within Rails?
I have a cluster of mongrels behind a balancer (Pen) behind a webserver
(Apache).
In Rails,
request.port return 80
and
request.env[''SERVER_PORT''] returns 3000 (the port of Pen)
Any ideas?
Cheers,
Max
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:
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys,
I?m getting this error with mongrel_cluster. I am able to start mongrel
through mongrel_rails start but the cluster is not working. Initially
mongrel_rails wouldn?t work but after I added $ORACLE_HOME and
$PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working
still. The mongrel log file looks like below.
Any help is appreciated.
Thanks.
-----------begin
2007 Nov 03
4
Mongrel Cluster: Rolling restart?
Hi all,
Forgive me if this has been asked before, but is there a reason
mongrel_rails cluster::restart stops all ports and then restarts them
again? Wouldn''t it be better to restart each port one-by-one in
series so that upstream proxy servers can fail over while the restart
is occurring, or am I missing something?
Thanks,
eden
2007 Nov 20
7
how to configure mongrel_cluster in windows
hi,
how to configure mongrel_cluster in windows.
mongrel_rails cluster::configure -e development -p 3000 -N 2 i have used
this one its configured correctly then if i start the server it is
throwing error.if any one knows how to configure help me
with regards
shiva
--
Posted via http://www.ruby-forum.com/.
2006 Jul 05
7
multiple mongrel clusters
If this was in the docs, I''ve missed it. How can I have multiple
mongrel clusters on a server? All the documentation that I am seeing
seems to assume that I am only running one cluster.