Displaying 20 results from an estimated 10000 matches similar to: "properly restarting mongrel instances"
2008 Jan 17
6
Apache22+mod_proxy+mongrel+ssl
I am trying to move a Rails application, that uses SSL, from an
Apache/FastCGI stack, that works fine, to Apache22 and mongrel
working with a single mongrel instance (i.e., not mongrel cluster, yet.)
I have a single mongrel instance demonized and working fine on http,
on port 3000. Apache/OpenSSL/certs working fine.
Here is my test http.conf (deliberately kept as simple as possible):
2007 Nov 14
4
scripts installed
On a debian production server and my os x development mcahine, there
is a script at
/usr/local/bin/mongrel_rails
On an ubuntu 7.1 machine, this script appears at
/var/lib/gems/1.8/bin/mongrel_rails
mongrel was installed using gem in all cases.
What is the cause of the discrepancy?
Thanks,
John
--
John Joseph Bachir
http://lyceum.ibiblio.org
http://blog.johnjosephbachir.org
2008 Jan 24
2
writing pid file earlier
I''m using god* to monitor my mongrels. God looks at pid files to know
the status of the cluster. It seems as though mongrel does not write a
pid file until it has loaded the entire rails/project environment,
which in my case, takes upwards of 90 seconds. Meanwhile, god is
freaking out because it thinks that there aren''t mongrels running, and
it tries to start them. Thankfully I
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
2008 Feb 24
6
ANNC: qrp - queueing reverse proxy
Hi, I''ve started a new project that uses Mongrel. It basically
lets you defer requests to it until other Mongrels in your (Rails)
pool becomes free.
Rubyforge project page:
http://rubyforge.org/projects/qrp/
gems, tarballs and git repo in case they haven''t hit the mirrors yet:
http://bogomips.org/ruby/
I should also add that nginx 0.6.7 or later is required for the
2007 May 06
28
mongrel becoming unresponsive
Hello,
I''m running mongrel behind apache via proxypass. Every now and then, a spammer
tries to proxy traffic through apache, and for some reason, apache forwards
the request to mongrel, even though it''s not a site being hosted by me.
At times this seems to cause mongrel to become unresponsive, and all requests
to the site then fail with a proxy error until mongrel is
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 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 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
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
2007 Nov 19
1
thanks for the mongrel_cluster fix!
Just as I was composing an elaborate email illustrating that capistrano
version detection was broken, I realized that 1.0.5 fixed the problem :)
While we''re on the topic of code changes-- where is the mongrel_cluster
subversion repository? I looked all over the mongrel site, sorry if I''m
missing something obvious.
Thanks,
John
--
John Joseph Bachir
http://lyceum.ibiblio.org
2011 Sep 30
3
Multiple rack applications on the same server with unicorn
If I''m running two rails apps on the same server using Unicorn, I have
to run two instances of Unicorn, right?
If so, then here''s a place where passenger might win in terms of
memory use, as the rails code will be loaded into memory twice, right?
I''m still probably going with Unicorn, but just exploring this first.
Thanks,
John
2006 Sep 21
10
How do you use Mongrel?
Hey folks,
I''m working on the Mongrel book with Zed, and wanted to get some
feedback from the core users (this list) about how they use Mongrel.
That sounds a bit vague, but I''m interested in hearing things about
frustrating problems / workaround, preferred configurations, if you
have a particular way you set up / store your config files when
developing / deploying an
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 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 Jun 24
3
Mongrel under opensolars with SMF
Thought I''d drop a note about my experience with running mongrel
directly under the solaris service management framework. So far I''m
very impressed. SMF is the solaris replacement for the init system.
It''s tied much more closely to the OS and for instance doesn''t use pid
files. I''ve found you can completely eliminate mongrel cluster, and
for that
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 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
2006 Jun 29
5
Memory usage issues
Hello all,
I''m new to Mongrel and am very impressed with what I see so far. This
thing beats FastCGI hands down, and is even simpler to use than SCGI.
Great job Zed! Thanks for all the hard work.
I am a bit surprised at the memory usage patterns though. I''m not
sure if I''m doing something wrong (most likely I am), or if this is a
problem with the app I''m
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