Displaying 20 results from an estimated 10000 matches similar to: "Finally! Mongrel 0.3.13.4 Official (for Unix)"
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 20
15
Why Rails + mongrel_cluster + load balancing doesn''t work for us and the beginning of a solution
We have been searching for a Rails deployment architecture which works for
us for some time. We''ve recently moved from Apache 1.3 + FastCGI to Apache
2.2 + mod_proxy_balancer + mongrel_cluster, and it''s a significant
improvement. But it still exhibits serious performance problems.
We have the beginnings of a fix that we would like to share.
To illustrate the problem, imagine a
2006 Nov 15
4
Mongrel 0.3.15 PR -- All The Fixes Good For You
Hi folks,
Getting much much much closer to the 1.0 release. I have some documentation to work on tonight, and I need to go through the patch queue one more time, but I''ve put up another pre-release for people to test.
What this pre-release does is pull together the various patches, monkey patching, and alternatives that make Mongrel either faster or more stable. It is also the start
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to
enable compression (assuming it improves throughtput) and limit file
size upload. I configured mod_deflate and LimitRequestSize in Apache,
but in my trials looks like the proxied calls bypass those directives
(the conf goes below).
Is there a way to get this?
-- fxn
# Adapt this .example locally, as usual.
#
# To be
2006 Oct 22
7
GzipFilter gemplugin now available
This GemPlugin will gzip your HTTP responses from mongrel if the
client says that it supports it (eg, most modern browsers). I''ve
tested it in IE6, Firefox 1.5 and Firefox 2.0RC3
Install:
gem install gzip_filter --source http://edenli.com
Configure (assuming rails):
cd RAILS_ROOT
echo ''uri "/", :handler => plugin("/handlers/gzipfilter")''
2006 Sep 01
2
Configuring Mongrel logging
Is there any way to configure Mongrel''s logging? Specifically, I''d like to
get it to output to syslog. Our Rails apps already do this (via
SyslogLogger) - is there any way to persuade Mongrel to do the same?
Thanks!
--
paul.butcher->msgCount++
Snetterton, Castle Combe, Cadwell Park...
Who says I have a one track mind?
MSN: paul at paulbutcher.com
AIM: paulrabutcher
Skype:
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas
Mongrel, and it''s acceptor, are multithreaded.
In a situation with long-running Rails pages this presents a problem for
mod_proxy_balancer.
If num_processors is greater than 1 ( default: 950 ), then Mongrel will
gladly accept incoming requests and queue them if its rails instance is
currently busy. So even
2006 Nov 13
2
mongrel upload progress and nginx
Does anyone know whether the mongrel upload progress plugin works with
nginx? It works fine for my app under pound, but not with nginx.
I am using DRb to handle the uploads as detailed at
http://mongrel.rubyforge.org/docs/upload_progress.html .
If I am using pound I can see the uploads with irb -r
lib/upload_client.rb , but cannot if I am using nginx.
Does anyone know anything more about this
2006 Oct 11
7
Mongrel HTTP Header Problem
Hi,
I''ve recently been trying to setup Mongrel behind Pound so that I can
do mutual SSL authentication. I''ve had a few problems with Pound
(documented at [1]), but now have it working correctly.
However, I think there is a problem with Mongrel and how it deals with
the headers Pound adds to the HTTP header block. One of the extra
headers Pound adds is
2006 Sep 03
18
Recommentation: Sessions and PStore
Morning Folks,
As most of you know there were a few people who had the following three
bugs:
* CLOSE_WAIT: Lots of sockets in CLOSE_WAIT state.
* 99% CPU: Mongrel''s getting "stuck" pegged at 99% CPU.
* LEAK: Memory leak.
I''ve successfully fixed these bugs or attributed them to one main cause:
pstore.
First, the memory leak was because of a bug in how the GC in Ruby
2006 Aug 05
6
Q about Mongrel::Configurator
Hi,
what is the preferd way to configure/start mongrel?
[ ] with Mongrel::Configurator => HttpServer
[ ] @var = HttpServer.new(...) @var.run
I ask because the only debug methode i have found was in
Mongrel::Configurator ;-)
@Zed: are you also subscribed on nitro list?!
regards
Alex
2006 Sep 22
2
I''m misunderstanding how stubs works
We''re still just starting out with Mocha/Stubba, so please forgive any
newbie errors.
I''m using "stubs" to test some realtime functions, to control exactly which
time is returned from Time.now. I would expect the following test to pass:
def test_two_stubs
t = Time.now - 60
Time.stubs(:now).returns(t)
start_time = Time.now
t += 20
2006 Jun 03
10
Gem versioning and auto installs
Gem drives me daft sometimes.
It gives you this wonderful ability to specify a platform for a gem, but
forgets to provide a command line switch to select the platform. Politely it
asks you, which is all very well when you are installing on one machine
interactively, but no good at all on a cluster of 15 machines from a
Capistrano script.
Is there any way to get gem to automatically select the
2006 Dec 29
9
Error : No protocol handler was valid for the URL...
Hi everybody,
I just suscribe to the list because I have a problem using mongrel and
mongrel_cluster... I setup a server (debian unstable wich provide apache
2.2.3 as a pakage) but I have an error when I try to access my application :
ERROR 403 : Forbidden, You don''t have permission to access / on this
server.
When I check apache''s logs I found that :
[warn] proxy: No
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
2007 Dec 08
14
Small updates and release plan
Hello Guys,
I''ll like to suggest a small release fix before we start doing big
changes: platform fixes.
Current we''re setting MSWIN32 (mswin32) as platform for Windows gem,
but we should be using Gem::Platform::CURRENT instead (i386-mswin32 as
current Ruby windows implementation).
Also, the jruby/java platform need to be defined. That change will
ease the compatibility path
2006 Dec 06
12
Debugging high CPU with Mongrel
I''m running a site that gets ~30k to 40k page hits per day. In the last 4
days my mongrel processes have been jumping into high CPU usage a couple of
times a day to the point where my site becomes unresponsive (database on a
diff machine with no load). The only way for me to resolve the problem and
reduce load on the machine is to delete my rails cache directory (I have
plenty of space
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...
2007 Dec 29
6
Regarding the 1.1.3 security release
* Apologies for starting a new thread; I just subscribed.
Has anyone been able to make this exploit happen if requests are being
proxied to Mongrel through Apache? I''ve been trying variations on the
double-encoding thing and can''t trigger the exploit through Apache.
Hitting Mongrel directly does expose the problem.
I''ll still upgrade my servers, of course, but I
2006 Sep 12
2
Nginx conf with all the right rules for mongrel_cluster
Folks-
James Cox, Alexy Kovyrin and I all huddled up and got nginx working
perfectly with mongrel cluster and rails page caching. So all static
and cached files are served fast by nginx and anything not static
gets sent to mongrel.
http://brainspl.at/articles/2006/09/12/new-nginx-conf-with-rails-caching
Cheers-
-Ezra