Displaying 20 results from an estimated 10000 matches similar to: "mongrel, monit, and the many, many messages"
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
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 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 Feb 02
1
Monit / mongel_cluster 0.2.2 / mongrel 1.0.1
Hi,
I''ve a few problems with my rails app at the minute, causing mongrels
in a cluster to die, while I debug I''ve setup monit to keep the site
running.
Problem is, whenever monit starts one of my mongrels via mongrel_rails
cluster::start --only 8000 --clean -C /url/to/yml/file I get the
following in my log/mongrel.log:
** Mongrel available at 127.0.0.1:8000
** Writing PID file
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
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 Aug 26
1
monit not executing start/stop/restart mongrels
Alright, I have googles and read through the docs on monit
I get this error when adding -v starting monit
monit: Cannot connect to the monit daemon. Did you start it with http support?
monit: Cannot connect to the monit daemon. Did you start it with http support?
Am I missing something here?
set daemon 120
set logfile syslog facility log_daemon
set mailserver localhost
set httpd port 28212
2006 Sep 01
2
Making Mongrel play well with Monit
Hi!
I run a mongrel cluster with 6 mongrels in it. I want to monitor them
individually for process hangs (and then restart them) and this is the
solution I came up with:
Here''s my configuration file for monit (/usr/local/etc/monitrc): [snipped
relevant bits]
------
#check lighttpd process
check process lighttpd with pidfile /var/run/lighttpd.pid
start program =
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 Oct 09
3
Monit reporting that pid changed
Hi, I was wondering if this is normal
or if it something i need to wonder about.
I get Monit alerts that my mongrels PID files
have changed.
Changed Service MONGREL_2
Date: Tue, 09 Oct 2007 14:19:38 +0000
Action: alert
Host: sa.greenling.com
Description: ''MONGREL_2'' process PID changed to 18368
Your faithful employee,
monit
2008 Mar 13
4
Merb in production with God/Monit
Hey All,
I just wanted to get other peoples take on problems when running merb
in production? Just as Rails used to do, the mongrels tend to get
heavy/unresponsive over time so need a good kicking by a watcher
daemon like god or monit. However, I have had serious problems getting
God to restart the process, as the "merb -k <port>" command doesnt
appear to work reliably
2007 Feb 27
3
mongrel_cluster and Monit
On one of my development servers mongrel dies when idle for any length
of time. Since I''ve not been able to solve that problem I thought I''d
route around it by using monit to kick things when necessary.
My monitrc contains the following...
--------------------------------------------------------------------------------
check process mongrel_8310 with pidfile
2008 Jun 05
14
Why not ignore stale PID files?
Hi,
I have an application which is dying horrible deaths
(i.e. segmentation faults) in mid-flight, in production... And of
course, I should fix it. But while I find and fix the bugs, I found
something I think should be different - I can work on submitting a
patch, as it is quite simple, but I might be losing something on my
rationale.
When Mongrel segfaults, it does not -obviously- get to clean
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 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
2012 Jun 27
3
Unicorn workers under Monit
Hi there,
I would like to config Monit to monitor our production-unicorn-workers
What memory size would you recommend to be the maximum reachable for a worker? so Monit can restart it.
Thanks a lot !
Manuel Palenciano
2007 Mar 12
1
Mongrel - HUP Signal
With the latest version of Mongrel, will Mongrel reopen log files when
sent a HUP signal? I would like to do a log rotate, but would prefer
not to restart the mongrel instances as monit is watching after them
all. monit is great for restarting the individual instances, but I
would prefer not to do a restart all through monit.
I would be curious if this is advisable.
--
-----
Christopher
2007 Sep 07
35
multi threaded theoretically useful?
So here''s a random question: if a (Ruby) multi-threaded rails server could
exist (bug free), would it be faster than using a mongrel cluster?
(I.e. 10 mongrel processes versus 10 Ruby threads). I''m not sure if
it would. RAM it
might save, though. Any thoughts?
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Nov 07
4
MySQL timeout value (was: mongrel - monit issue)
At 03:24 PM 11/7/2007, mongrel-users-request at rubyforge.org wrote:
> > Thanks for this Kirk. Yep, I was using 14400. I''m switching this
> to
> > 2 weeks: 1209600 and we''ll see if any further restarts are needed
> by
> > monit.
>
>I''ve always wondered why 14400 is the number that is always passed
>around when talking about extending
2007 Aug 20
5
byte-range requests
Hello everyone,
I did some initial tests and it seems that mongrel does not support
byte-range requests. Is this correct?
The reason I ask is that the iPhone requires byte-range requests to
work in order to stream audio or video from a web server.
Thanks in advance,
alan