Displaying 20 results from an estimated 10000 matches similar to: "Clustering - Avoiding "dead" processes?"
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone
has already dealt with/created this. I''m running a mongrel cluster,
running 4 mongrels on ports 8001-4. I''m using capistrano to deploy.
And I''d like to use monit to check to make sure everything is running
nice.
I''d like to have monit restart only single mongrels if they fail, and
2007 Mar 29
4
Machine reboot - monit fails to start mongrels
Greetings -
I dug around a bit and I couldn''t find a definitive answer to this
question, apologies if it''s been covered before. A box running a
apache 2.2 -> mongrel cluster for a rails app got power cycled at my
ISP. Unfortunately monit couldn''t start the mongrel processes
because the pid files were still there. Here is my monit config (for
each mongrel
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
2007 Feb 15
1
Anyway to Force a start even if the .pid file exists?
I''m using monit to restart mongrel processes if they go away. With mongrel 0.3 I could issue a start command and the process would start up even if the .pid file existed (though a warning would appear).
Now, with mongrel 1.0.1 the warning says I must clear the .pid file and the process is not started. Is there anyway to force it to start without having to clear the .pid?
Regards
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
Hey y''all:
mongrel_cluster provides management tools for running Mongrel behind
a reverse-proxy/load balancer. It is an extraction from Rails
Machine, a deployment service and Ruby library that simplifies Rails
application deployment. This release fixes bugs and adds a Capistrano
task library.
Changes:
-changed pid file format to include port
-only write configuration options
2006 Sep 26
4
Mongrel Processes Dying
We are seeing mongrel processes dying in our mongrel cluster. What is the best way to
troubleshoot this?
We have ruby 1.8.4, Rails 1.1.0 (upgrading soon), MySql 4.1 running on Red Hat Enterprise Linux
ES release 4, Apache 2.2, mongrel-0.3.13.3, mongrel_cluster-0.2.0
I saw the following messages in the mongrel.log but not sure if theay are related to the
processes dying. It would be nice if
2008 Jan 21
14
properly restarting mongrel instances
Hi folks.
Using mongrel_rails and the mongrel_cluster capistrano recipes, I
often encounter a situation where some of the mongrel processes don''t
die in time to be restarted. The output of capistrano will tell me
something like "mongrel on port 8001 is already up", but that''s only
because capistrano/mongrel_rails failed to take it down in the first
place.
The solution
2007 Jul 16
2
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,
I have installed mongrel and mongrel cluster in a new linux box .... at the
end of the day I was able to lunch mongrel (mongrel_rails start -e
production) and all is working fine with.
However, when I tried to set a mongrel cluster the command mongrel_rails
cluster::start get the following output :
starting port 8000
starting port 8001
starting port 8002
But when I lunched the
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2008 Jan 09
9
mongrel, monit, and the many, many messages
Monit 4.9, Mongrel 1.0.1, Rails 1.2.6, Mac OS X 10.4.11 (PPC)
I don''t know whether this is a mongrel issue or a monit issue.
I''m trying to poke my way around a system set up by someone else. I have
no more experience w/ mongrel that local Rails dev at this point, and a
conceptual understanding of how monit is working. I have the Deploying
Rails beta book, and I''m
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2007 Jan 24
4
Rails App on Mongrel+Apache Stops Listening
Howdy,
I''m trying to debug a situation where a Rails app running on Mongrel
+Apache stops listening to requests. Restarting Mongrel and Apache
brings it back to life.
First off, here''s some info on versions, etc...:
Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux]
Mongrel 1.0.1
Rails 1.2.1
fastthread (0.6.2)
2007 Nov 07
8
mongrel - monit issue
Hi,
was wondering if anyone else had a similar problem and knows why or a solution.
basically my mongrels seems to work fine. i am running three clusters all which are monitored by monit. monit has the ability to restart a mongrel if it doesn''t pass a port connection test. so the problem is that after some time. aprox. 6hrs. to 20hrs. after clusters are started, the mongrels get
2007 Aug 10
10
what is the correct way to stop/start a mongrel instance using monit with mongrel cluster
Hi --
I have been reading documentation and googling around to find the
correct way to do this but I have found many ways that seem to not
work, or the documentation makes no reference to.
I am using mongrel cluster with 10 mongrels for each server. Recently
I installed monit but which lead me to find the correct way to
start/stop mongrel instances one pid at a time. I am assuming one pid
at a
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
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi,
I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster
0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1.
I am load balancing 3 mongrel processes using the random port trick.
When I start mongrel the processes have about 60MB, but after some hour of
usage the memory ballons upto more than 180MB and the site becomes terribly
slow. Forcing me to restart mongrel
2006 Dec 14
1
Does send_file act differently with Mongrel than withWebrick?
I tried the mime thing but it did not help. I didn''t think it was that because I can get the mp3 served OK hitting the URL in a browser.
I just noticed that I am getting an error in Mongrel when WinAmp make the request for the mp3 file:
BAD CLIENT (127.0.0.1): Invalid HTTP format, parsing fails.
I don''t think Mongrel has a problem with the URL itself because if a browser
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,
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 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in