Displaying 20 results from an estimated 2000 matches similar to: "Unicorn workers under Monit"
2013 Mar 06
0
Monit and unicorn workers
Hello everybody,
in the past few days I''ve been trying to have monit monitor my
workers, and I''m facing one problem not completely related to unicorn
but one that some of you may have already faced or will face in the
future.
I just wrote down a question in StackOverflow doing my best to explain
the situation and I would be really glad if you could have a look at
it and maybe
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
2011 Mar 19
2
httpd cannot serve web page on port 2812 (for Monit)
Might there be anything CentOS related on why I cannot access the
Monit GUI system on http://box-running-monit.com:2812 ?
I am using a very basic /etc/monit.conf config, but I cannot get it
serve the web page on my box
The service start and stops fine (e.g. "/etc/init.d/monit start"), and
I have it set to listen to port 2812 in the "/etc/monit.conf file" (so
far, kept the
2008 Sep 21
3
Monit; BackgroundRB; environment variables
I started emailing monit mailing list because I started getting this
problem where I couldn''t start backgroundrb with monit anymore,
thinking it was a monit problem. However, I back tracked a bit since
I had added code to my project, and monit was able to start
backgroundrb again.
I seem to have zeroed in on the problem. I''m not sure where the
problem lies - maybe monit or
2010 Jun 11
2
Service monitoring/"Monit"?
Has anybody here tried the "Monit" utility (http://mmonit.com/monit/)? I
need to set up some kind of "watchdog" functionality for a custom
service otherwise started via init (i.e. via a script in /etc/init.d +
rc*.d links managed by chkconfig) and it seems like this system may give
me nearly what I want. However, something that concerns me about it, is
that it appears to
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 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
2011 Apr 25
6
Unicorn / Daemontools
Hi -
I tried to get Daemontools and Unicorn working together a while back -
there are issues on USR2 restart because of the pid
change - I''m hoping someone in the community will have some
understanding of this issue
I documented my experience and eventual defeat here :
http://log.robotarmyma.de/post/2053448029/daemontools-ubuntu-rvm-bundler-unicorn-install
Any help would be received
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
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
2014 Dec 29
2
[OFF TOPIC] monit
Hi list , I'm trying to run monit with asterisk, starting as simple
# My PBX Asterisk
check process asterisk with pidfile /var/run/asterisk/asterisk.pid
start program = "/etc/init.d/asterisk start" with timeout 60 seconds
stop program = "/etc/init.d/asterisk stop" with timeout 60 seconds
if failed host 127.0.0.1 port 5038 then restart
if 5 restarts within 5 cycles then
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 =
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
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
2013 Aug 20
14
A barrage of unexplained timeouts
We''ve been running unicorn-3.6.2 on REE 1.8.7 2011.12 in production for quite some time and we use monit to monitor each unicorn worker. Occasionally, I''ll get a notification that a worker has timed-out and has been re-spawned. In all these cases, when I look at the rails logs, I can see the last request that the worker handled, and they all have appeared to complete
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 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
2007 May 14
2
Monit apache2 and fastcgi
I''ve installed monit to stop my server hanging (don''t know why, it''s
an dual-core processor and 2gb memory, wich should be plenty for our
needs).
I should like to also monitor the fastcgi processes, but I can''t find
any pidfile. How can I monitor that?
- Henrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are