Displaying 20 results from an estimated 6000 matches similar to: "running multiple mongrels from same application root - is it safe?"
2006 Nov 28
15
Determining ideal number of Mongrels for an app?
What''s a rule of thumb for guesstimating how many
Mongrels to use in a cluster for an app? I have an app
that gets about 5000 unique visitors per day. I
figured I''d give it plenty of Mongrels -- twenty to be
specific. After running out of memory and hitting the
swap periodically, I scaled it back to five and it
still seems to serve up visitors fine. So, is there
some super-secret
2006 Sep 03
10
Documentation Day!
I''m spending today writing documentation. I''ll be updating quite a few
documents, doing some edits, and adding some user contributed docs. If
anyone has documentation suggestions, FAQ questions they''d like
included, or things they think are old and stale, then let me know.
Swing by the Lingr room:
http://www.lingr.com/room/3yXhqKbfPy8
And drop me a line if you want
2006 Aug 22
11
Multiple mongrels for one app
Hi mongrel-users,
This is my first post, so I''m not sure if it''s been asked before, but
I can''t find an answer anywhere.
If I have one rails application running, one processor I''m running it
on, and mongrel is multi-threaded, why should I have more than one
mongrel running?
Everyone seems to agree on 3-5 mongrels per rails app, but why?
I must be
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 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 Aug 24
10
Invalid HTTP format, parsing fails
Hi,
I am having a bit of a problem with my app that is using mongrel.
For a particular vendor we use, they are generating links that look like:
2006 Sep 03
4
Mongrel 0.3.13.4 Pre-Release -- Docs and more Docs
Hi Everyone,
Just want to get out another ping on the Mongrel pre-release saga. I''ve
updated a bunch of the documentation to include documents people have
donated and to beef up the FAQ for most of the questions people have
asked over the past month.
INSTALL
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
CHANGES
* Fixed memory leak by switching to Sync rather
2006 Aug 23
2
Excessive CLOSE_WAIT sockets, pound
Hello,
I''m experiencing a strange, but very bad behavior with Mongrel
0.3.13.4 and Pound 1.8. Every 6 hours or so one of our nine (not
consistent on which one) application servers ( each one running
several mongrel processes ) will start leaving lots of socket
connections with pound open. This leads to "Too many open files"
errors. I''ve set pound to close connections
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 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
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 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
2006 Dec 20
6
Mongrel 1.0 RC1 Full Win32 Build
Hello Minions!
It''s *finally* here. Mongrel 1.0 RC1 for everyone to test, even the win32 folks. I managed to get everything to build on windows, including fastthread, and even cleaned up the "releases source":http://mongrel.rubyforge.org/releases/ so that it should install cleaner. Win32 will have to try and report problems, as it seems rubygems is real finicky on win32.
2006 Aug 22
6
Mongrel crashes - bad doggie
Hello List,
I have a production machine with very low ram (Xen Virtual Server) that
runs mysql and lighty->pound->mongrel (2 instances). About once a day,
one of the mongrels just locks up, leaving that in its log files:
*** glibc detected *** /usr/bin/ruby: free(): invalid next size (fast):
0x0a744780 ***
That process (mongrel) will stay locked, not answer any connections
anymore and
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 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 Dec 22
3
Zed, you''re a moron :-)
Hi !
My mongrel just starting spitting out these nice lines:
The error occured while evaluating nil.accept. TELL ZED HE''S A MORON.
!!!!!! UNHANDLED EXCEPTION! You have a nil object when you didn''t
expect it!
Not sure what happened or why, but just FYI: Zed, you are a moron :-)
Happy holidays!
Gitte Wange