Displaying 20 results from an estimated 20000 matches similar to: "Need clarification on mongrel, rails, threads, and performance"
2010 Jul 23
2
How to get remote hostname from behind mongrel cluster in rails?
Using request.env[''REMOTE_HOST''] worked with WEBrick, but returns
blank when running behind mongrel cluster.
For IP Address, I am able to use request.remote_ip.
Thank you.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2009 Aug 13
6
Mongrel Memory Usage
All,
I''m trying to figure out the best way to estimate the amount of memory
usage that will be taken up by Mongrel and I''m hoping that you have
some estimates that can help me.
I''m currently estimating the following:
Memory Required = Number of running puppetmasters * size of manifests
* number of clients managed
The mongrel model doesn''t seem to *ever*
2009 Mar 12
7
Is Mongrel dead?
Is Mongrel dead? When I look at http://mongrel.rubyforge.org/wiki/News
the latest news was from close to a year ago, when last version of
Mongrel was released. A look at the tickets shows a rather sad picture
with only two developers “evanweaver” and “luislavena” contributing to
the bug fixes lately.
Please understand that I am not complaining – I just want to know the
situation so that I can
2011 Apr 18
6
whyt should i use mongrel_cluster ?
why should i use mongrel_cluster in my rails application?
What are its benefits for which i should install and configure it
?
is webrick server not enough for rails application?
Thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Feb 09
6
mongrel_cluster clarification
Apologizes in advance if this sounds rather dense, but I want to make sure
I''m understanding everything correctly. We''re in the process of migrating
from Apache2.0/FastCGI to Apache2.0+mongrel (why not 2.2? that story is too
long and too uninteresting to recount here, but I will tell you that it
involves RHEL and only using RHN rpms).
The init script that comes with mongrel
2010 Sep 15
19
Rails 3 with Mongrel possible?
After much fiddling and googling, it seems to me that Mongrel, even the
1.2.0pre2 release is not compatible with Rails 3 -- is that true?
When I start up a new Rails 3 project (i.e. one fresh after a
`rails new` command), mongrel appears to start (creates a pid file, and
reports no errors on the CLI), but the app does not load in the browser
and I find this in the mongrel.log
2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please:
What is the benefit of having more than one Mongrel/Rails instance on
the same machine, could one instance not serve as many requests as say
three instances?
Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running
load balancer which runs on a separate port, I could not work it out
from the sample Apache config...
|# Redirect all non-static
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
2007 Sep 17
4
Mongrel clusters are not being started on reboot
I''ve done a clean install of Ubuntu 7.04 server in 2 different
machines and everytime I reboot the machine or manually run /etc/
init.d/mongrel_cluster restart/start the mongrels won''t start correctly.
I have to manually start them by using mongrel_rails cluster::start
from each app folder. I''ve been searching around and it looks like
mongrel has some problems
2011 Jan 17
6
Can't install mongrel with ruby 1.9.2p136
Hi,
I''m getting this error message when I try to install Mongrel with "gem
install mongrel" on Windows 7 x64
gem install mongrel
Successfully installed mongrel-1.1.5-x86-mingw32
1 gem installed
Installing ri documentation for mongrel-1.2.0.pre2-x86-mingw32...
Installing EDoc documentation for mongrel-1.2.0.pre2-x86-mingw32...
ERROR: While executing gem...
2008 Jan 30
3
Not all mongrel starting (Errno:EEXIST)
I''m playing with the mongrel clustering, and am having a problem getting 2
mongrels to start up reliably.
This should be a pretty simple cluster, with just 2 instances running. My
mongrel config (mongrel_cluster.yml) looks like:
cwd: /deployment/installed/myapp/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file:
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 03
9
Finding out on which port mongrel is running
Hi *,
What''s the best way to find out on which port mongrel is running from
within Rails?
I have a cluster of mongrels behind a balancer (Pen) behind a webserver
(Apache).
In Rails,
request.port return 80
and
request.env[''SERVER_PORT''] returns 3000 (the port of Pen)
Any ideas?
Cheers,
Max
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 Jan 30
3
Update for thread: Multiple rails apps with Mongrel
Hi,
I found another way to throw multiple rails apps under a single
domain like:
http://www.domain.com/app1
http://www.domain.com/app2
changes here...
http://tonyrose023.blogspot.com/2007/01/multiple-rails-apps-with-
mongrel.html
Tony
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 Oct 27
4
Mongrel 1.0.2 on Ubuntu Feisty
Hi everybody,
I''ve been trying to setup a Ruby on Rails application on a Ubuntu Feisty
machine and I''ve spent a lot of time trying to figure out why Nginx and
mongrel_cluster weren''t working. The setup was correct (based on some
tutorials found on the internet), but there weren''t any pid files for the
mongrels started.
In case anybody else has experienced the
2007 Oct 02
23
Mongrel using way more memory on production than staging. Any ideas why?
I''ve been trying to track down the culprit of erratic behaviour and
crashes on my production server (which is split into a number of Xen
instances), so set up a staging server so that I could really try to get
to the bottom of it.
The staging server (also split with Xen) is set up pretty much
identically as far as the mongrel_cluster server is concerned (the
production box has two
2007 Jan 29
8
Cluster 3 mongrel servers residing in different machines (Windows)
Hi All,
Machine A: has Apache 2.2 doing load balancing, also has DB and 8
mongrel processes I''m using mongrel_cluster . Now, I want to run
Mongrels on Machine''s B and C (ie Cluster 3 Mongrels in three
different machines). Is this possible? If possible then, please
describe me the steps required (I''m using windows machines, and
already losdt one week :-( )
Best
2007 Nov 01
8
Mongrel 1.1
Hello Mongrels,
Mongrel 1.1 is out with fullblown JRuby support, some reorganization,
and some bugfixes. Also, Mongrel_cluster has been updated to 1.0.4.
Go subscribe to the all-new news feed, because we probably won''t
announce to the list anymore:
http://mongrel.rubyforge.org/rss.xml
Thanks
Evan, and the Mongrel Team
--
Evan Weaver
Cloudburst, LLC