Displaying 20 results from an estimated 10000 matches similar to: "Determining ideal number of Mongrels for an app?"
2006 Sep 16
10
Mongrel and Sandbox
Z-Man,
DHH recently said:
"And [_why''s] latest work on sandbox looks stellar.
Making it drop-dead easy to run multiple Rails
applications in the same Mongrel process without
conflicts. Thumbs up to both him and Matz for getting
Sandbox on track for inclusion with the next Ruby
release."
Does that mean what I think it means - that one or
more Mongrel processes may one day be
2006 Dec 29
3
production-izing a popular site
Lets say you have a site that is serving, oh, around 100k unique
visitors a day (plain ole'' browser requests) - plus probably ~ 40k
uniques to feeds. Assume this site is 90% read like most of the web,
so the traffic looks like your typical news or portal site. There are
two web boxes behind a hardware load balancer, each doing apache 2.2.3
-> mongrel_proxy_balancer -> mongrel
2006 Sep 03
4
How many mongrel servers should I run in my cluster?
The company I work for is launching a new web site tomorrow.
News of our launch will be published in major publications throughout the
week so I want to make sure we are prepared for the load.
Production Environment:
HP Proliant server w/ 8GB RAM and dual AMD64 Opterons
Memcache is used as the session and fragment store (512MB for it)
MySQL is running on a seperate server in the same rack
We use
2006 Nov 08
2
restart - `exec'': Operation not supported
I played around with this some more and when I changed
line 142 of
/opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails
from "exec cmd" to "system cmd" Mongrel has
successfully restarted every time I''ve tried
("mongrel_rails restart").
Hell if I know why exec doesn''t work -- googling on
"exec Operation not supported ruby"
2007 Mar 13
3
dropping lighty+fastcgi and moving to apache+mongrel in production
Most of my machines have apache+mongrel running but the mongrels are using
the localhost.
In my production environment, I have 4 boxes. I have setup 2 http servers (
apache 2.2.4 ) and 2 app servers. They are currently using lighttpd+fastcgi.
Which I am changing this week.
I want to get advice from you guys before I actually do this since this is
my production env.
I have installed apache on the
2007 Feb 27
11
Mongrel performing only half as fast as Apache?
I''m trying to do some initial benchmarking of our setup, mainly just to
establish baselines. I''m essentially using the process Zed outlines in a
previous message:
http://rubyforge.org/pipermail/mongrel-users/2006-May/000200.html
What I''m running into is that Mongrel appears only half as fast as Apache
when serving a small static HTML file. If I then add in Apache with
2006 Dec 18
6
mongrel_cluster: selective restarts
Hi list,
I have tried to reach Bradley (author of mongrel_cluster) by mail, but
have not gotten a response. So I''ll try trough this channel:
I have ''developed''[1] a small extension to mongrel_cluster that allows
selective restart of any one listener in a configuration that contains
more than one listener by using a command like
mongrel_rails
2006 Dec 27
2
no log/mongrel.log file on win32, looking for suggestions...
Hello Mongrels around the world!
Been thinking a way to unify the issue I described in the subject.
For those who aren''t aware, mongrel (actually, mongrel_rails) only
generate the log file if daemonize was used (-d)
That means no log file under windows, due his lack of
fork/daemonization capabilities.
Now, users that need to run mongrel on windows cannot report and fill
the empty
2006 Nov 01
8
Nginx, Mongrel, Proxy and REMOTE_ADDR
I''m using a cluster of mongrels behind an apache 1.3 proxy pass. I''ve
been passing the request to pen, which in turn balances the cluster of
mongrels. Now, I''d like to be able to use a different server to send
the static files created by the rails application, so I tried to
replace pen with nginx. Everything seems to work fine except the
environment variable REMOTE_ADDR.
2006 Oct 30
3
Application 500 Errors
Configuration:
(2) Dual Core Opterons
8GB RAM
Apache used to balance 40 mongrel instances
We receive Application 500 Errors. Nothing suspect appears in the log, so we
are at a lost as to what to do next.
Any advice would be welcome and/or an explanation of what types of things
cause Application 500 Errors in mongrel.
Thanks!
- Jared Brown
-------------- next part --------------
An HTML
2006 Dec 25
15
What I Want For Christmas
Calling All Mongrel Minions!
I wanna have some fun and would like this as a Christmas present. The site http://www.workingwithrails.com/ has this lame popularity system that''s kind of irking some of the main Ruby contributors. I think it''s kind of funny, but would like to demonstrate what an army of motivated people can do to these kinds of popularity contests.
So, as a
2007 Feb 27
11
Mongrel upload progress not showing progress on production server
Hi all,
Tried out the mongrel upload progress plugin with Drb and it works
great on my OSX development box, but when putting it into production
(Ubuntu Dapper), uploads complete but the app isn''t returning any
values for upload progress, and uploads are not showing up in the
queue when running upload_client.rb. Before anyone asks, yes, I''m
running both the mongrel instances and
2006 Sep 26
3
Clustering - Avoiding "dead" processes?
I have Mongrel Cluster setup with Apache a mod_proxy_balancer. I''ve seen (from time to time) mongrel instances become non-responsive. Is there anyway to configure the balancer so that it "knows" which processes are no longer good and stops trying to use them?
_______________________________________________________
The FREE service that prevents junk email
2007 Feb 21
19
Critical Issue - Site down...
We have a site that is running Mongrel and is down.
Below is the Mongrel log file information.
The server is a Linux server with 2gb of RAM.
EV1 (hosting site) says that since this is a Linux server that the RAM
is cached and that there is plenty of free memory available.
Can anyone make sense of this error and have some suggestion of options
that I may take to correct this issue and get
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2006 Oct 30
2
Possible log rollover mutex problem
It appears that part of the problem could be that when logger rolls over the
mongrel log file. There is a mutex synchronization issue where the various
mongrel instances all try to write to the new log file and block each other.
This keeps them in a continual Application 500 Error state. Has anyone run
into this problem? With log rotation turned off the problem does not appear.
- Jared Brown
2006 Oct 06
3
Mongrel is crashing under heavy loads
Hi
We''re running mongrel on CentOS 4.2 with Apache httpd 2.2
mod_proxy_balancer, mongrel_cluster-0.2.0, Rails 1.1.6, Ruby 1.8.4,
Pg 8.1.4 backend.
We are on the verge of going live with our site and I am stress
testing the server.
What we are seeing is under heavy loads, our mongrels will seg fault
and die one by one.
Following the advice in a previous thread (http://www.mail-
2006 Sep 20
3
Spinning mongrels and SIGUSR1
First off: Our clusters are LVS balanced Apache 2.2.3 +
mod_proxy_balancer + gem mongrel 0.3.13.3 / mongrel_cluster 0.2 +
memcached / gem memcache_client + gem rails 1.1.6 on debian boxen, and a
pgcluster backend.
On 2 of our deployed clusters, we are getting the "spinning mongrel"
problem. As the clusters are very low volume right now, it takes days to
collect a spinner, making it
2007 Feb 02
7
Mongrels 1.0.1 falling asleep w/ Rails 1.2
I''m a bit surprised I can''t find anything about this in the mailing
list archives. Basically since Mongrel 1.0.1 I''ve had Mongrels fall
asleep without any real cause. A deep sleep, actually more like a
coma. The mongrel in question (I''m using a cluster of three) can not
be revived. A cluster::stop, then cluster::start is nessesary.
A ::restart would not
2006 Nov 13
6
mongrel_upload_progress question/possible suggestion
Hey all,
First off, thanks to Rick Olson and whoever else was involved with this
plugin... It''s been amazingly easy to implement.
I''ve got a question about the path_info parameter, though... It seems that
unless the request PATH_INFO exactly matches the path_info passed in to the
plugin at inclusion, it won''t actually trigger Add and add the upload to the
list of