Displaying 20 results from an estimated 30000 matches similar to: "mongrel cluster mysteriously stopping when using shared FS"
2008 Jun 05
0
Cluster shutdown on web farm when using clustered filesystem
Hi,
I have a number of servers running mongrel cluster all of whom feed off
of a shared filesystem (OCFS2). Each cluster has its own
mongrel_cluster_web2.yml file with distinct PID and Log file names. In
theory they shouldn''t be aware of each other''s presence.
What I have found is that when I want to test a new set of code on one
server and I shut one server''s mongrel
2006 Oct 02
3
Mongrel cluster FreeBSD rc.d script
Hello all
After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems
under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each
Rails app, then:
% mkdir /usr/local/etc/mongrel_cluster
and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml
My question is, after preparing all base configs now I need to add some rc.d
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
Hi all,
I am out of my head here...
I have a 3 node cluster with 10 mongrels running on each. When I
deploy, I break all the mongrels every time. I have tried just about
everything. I can restart my mongrels without a hitch manually, it''s
only when I use cap deploy. Maybe I am missing something here... so if
I can get some help it would be appreciated. The errors are the
typical mongrel
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab
periodically to free up memory. I tried this:
[admin at mudcrapce ~]$ mongrel_rails cluster::restart -C
/var/www/apps/mudcrapce/current/config/mongrel_cluster.yml
Restarting 5 Mongrel servers...
mongrel_rails restart -P log/mongrel.3040.pid
!!! PID file log/mongrel.3040.pid does not exist. Not
running?
mongrel::restart reported an error. Use
2007 Jan 17
2
mongrel cluster (+ Apache 2.2.4 + proxy balancer) not redirecting correctly
I''m in the process of setting up a mongrel cluster at the moment, and I''m
running into a bit of an issue. Even worse is that I''m not sure whether
this is a mongrel thing, or an Apache thing. While I''m inclined to think
that this might be a balancer thing, I decided there was a higher chance
hearing back from mongrel-users than from apache-users, so I''d
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2007 Mar 05
1
Mongrel cluster died only in production environment
I''m new to setting up a production server with Rails, so I tried to do
what seems to be the standard setup right now: a couple mongrel servers
behind Apache 2.2. I''ve got a test page that refreshes itself every
couple of seconds, and I''ve noticed that I get a "Proxy Error" when
that''s run for about a minute or so, from what appears to be a mongrel
2007 Nov 09
0
starting/stopping/registering Mongrel for HttpHandler
Hi.
I am currently learning Ruby and writing an app that simply uses
Mongrel''s HttpHandler class to create simple ruby servlets. At the end
I have been using code similar to the example in simpletest.rb:
h = Mongrel::HttpServer.new("0.0.0.0", "3000")
h.register("/test", SimpleHandler.new)
#h.register("/files",
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 Aug 07
0
some questions about mongrel
i posted some of these questions on the rails list, but thought that i
should probably post them here instead.
zed has already answered one of my questions, but i did have a couple more.
1) mongrel is not writing the pid file, which i have specified in the
config file
---
:cwd: /srv/www/railsapps/rftrack
:includes:
- mongrel
:log_file: log/mongrel.log
:config_script:
:pid_file: log/mongrel.pid
2007 Apr 20
1
Mongrel cluster log rotation best practices
OK, maybe not even best practices, but at least, tested practices.
>From my reading thus far, it is evident I shouldn''t use Rails to
handle mongrel log rotation. Fine, I''m sold on that. The advice I''m
seeing says that that one should use an external script to do this.
So my question is, what are people using? What''s working well?
Simple bash scripts or
2007 Jul 26
0
mongrel cluster stop working after long idle time
Hi,
I have a ruby on rails website. Server configuration is:
1. Nginx
2. 4 mongrel clusters running on different ports.
After a long idle time few of the mongrel clusters stops responding. I
have set "ActiveRecord::Base.verification_timeout = 14400" in
environment.rb file, but still it''s not working.
On executing "lsof -i -P | grep CLOSE_WAIT" command, I usually
2007 Jul 11
3
Problem with scheduled task mysteriously stopping
Hi there,
I have a scheduled task which I started from Rails, set to run every
5 minutes, it takes probably about 20-30 seconds to execute (it''s
aggregating some feeds). It ran for about 5 hours and then
mysteriously stopped -- the logs show no errors.
This kind of sucks because it''s like a silent failure, has anyone
else had this problem?
--simon
--
2007 Mar 10
5
Mongrel Hangs After Idle Period
I had posted a thread couple of weeks ago whereby mongrel just mysteriously
stops interacting with my application after an idle period...usually less
than 8 hours.
http://rubyforge.org/pipermail/mongrel-users/2007-February/002908.html
I had hoped this would go away after a few upgrades but to know avail.
Interestingly, the process does not die...it still accepts HTTP requests but
does not
2008 May 22
2
gem install of mongrel v 1.1.5 broken in jruby
Can''t install the latest mongrel (1.1.5) in JRuby (jruby revisions
ranging from 6600 to 6750[trunk] checked) -- the platform is not
being identified and it''s trying to do native compilation.
I''m not sure it''s actually a problem with Mongrel or JRuby however --
perhaps there isn''t a mongrel-1.1.5-java.gem on rubyforge?
Some investigation below:
$
2006 Dec 04
1
Mongrel and Mongrel Cluster Library LoadErrors
Hello,
I''m a noobie to Rails and even more to mongrel. I have an issue with
one server that I''ve installed mongrel. Its a Fedora Core 5 box, and
it is having problems loading the Oracle OCI8 libraries. However,
this only occurs when I use mongrel_cluster, or mongrel with out the -
d switch. I have no problem using the library from the commandline
and with Webrick or
2007 Aug 14
1
can not delete pid fils when stopping mongrel_cluster
Hi all,
i im using Capistrano2 to deploy my rails app and Apache/Mongrel as it''s
env. All is well except deploy:rollback task. the following is log messages
when running cap deploy:rollback :
[DEPRECATION] Capistrano.configuration is deprecated. Use Capistrano::
Configuration.instance instead
* executing `deploy:rollback''
* executing `deploy:rollback_code''
*
2010 Feb 28
0
strage mongrel cluster
Hi,will appreciate any advice from ruby guru :
I found strange behavior on mongrel cluster. Below are my installation
details :
#ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
#rails -v
Rails 2.3.5
I use mongrel cluster 1.0.5 on Debian lenny (5.0). Also got the same
problem in ubuntu 8 LTS, with similar config.
when running just mongrel , it works properly. But when I tried to use
2008 May 13
1
mongrel cluster not working
Hi
am a newbie to mongrel.. and configuring now mongrel cluster with
apache.
when i start mongrel as a stand alone instance my app is working fine,
by issuing the follwoing command.
mongrel_rails mongrel::start
when i start the mongrel cluster it is giving the following error.
mongrel_rails cluster::start
Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error
2007 Dec 12
3
Upgrading from Mongrel 1.0.1 and Mongrel cluster 0.2.1
I am considering upgrading to either Mongrel 1.1.1 or 1.0.4, and
Mongrel-cluster to 1.0.5. Are there any gotchas or issues I need to be aware
of? Also where can I find the release notes for the various releases? (The
ones I found seem very sparse).
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: