Displaying 20 results from an estimated 10000 matches similar to: "[WARNING] don''t use ruby-sendfile"
2006 Aug 10
7
Mongrel proxied through Apache won''t serve images
I followed the tutorial from Coda Hale[1] on setting up
Mongrel/Mongrel_cluster and Apache to move away from my current
Apache+FastCGI setup.
The mongrels are all working fine, and Apache is proxying all dynamic
requests through to the cluster using proxy balance.
Strange thing is now, that all my images in public/images aren''t loading
at all, if I access them directly I just get a
2006 Jul 03
2
Strange local requests with Apache 2.2, mod_proxy_balancer, and Mongrel 0.3.13.2
Hello all,
My Rails app is logging some rather strange requests:
Processing StoreController#index (for ::1 at 2006-07-03 13:18:48) [GET]
Session ID: ed5e2a0e5b4b9290835a969cdd749e6e
Parameters: {"action"=>"index", "controller"=>"store"}
Completed in 0.08174 (12 reqs/sec) | Rendering: 0.07951 (97%) | DB:
0.00000 (0%) | 200 OK [http://127.0.0.1/]
2006 Jul 20
17
The Debian Plan
Hello Folks,
After all the troubles people have had with Debian I realize that what
I''ve done still isn''t enough for smooth sailing. I''m now going to hold
back the 0.3.13.4 release in order to put an end to the Debian problem
once and for all.
I''m currently planning the following changes:
1) Specific documentation for Debian. Debian will become the only
2006 Aug 18
3
New automated Capistrano setup for Apache2.1+ and mongrel_cluster
Hi mongrel users!
I just posted a bad-ass capistrano file that automates *everything*
for setting up an apache2+mod_proxy_balancer and
mongrel+mongrel_cluster -- including apache2 setups. It''s based off
Coda Hale''s guide and all Bradley''s work at fluxura and RailsMachine
(thanks Coda and Bradley!).
It''s, well, bad-ass, if I must say so myself. My favorite
2006 Oct 25
14
[SEC] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack
This is important so please read this message very carefully.
There is a DoS for Ruby''s cgi.rb that is easily exploitable. The attack involves sending a malformed multipart MIME body in an HTTP request. The full explanation of the attack as well as how to fix it RIGHT NOW is given below.
Most of the work was done by Jeremy Kemper and Jamis Buck. They did all the work of building the
2006 Jul 20
5
Apache 2.2, Mongrel and #caches_page
Hi !
I''m no expect when it comes time to configure Apache. I just enabled
page caching in my Rails app, and am now looking at making Apache
serve the cached files instead of calling into Rails.
I know Mongrel is able to serve cached files if it finds them, but I''d
like Apache to do it.
Looking at .htaccess, there is this section:
RewriteEngine On
RewriteRule ^$ index.html
2006 Jul 17
6
Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem
Hello,
I have a working mongrel cluster and want to use Lighty as the frontend
webserver. I want ligthttpd to deliver the static content.
So I did
gem install sendfile --remote
Everything installed.
But if I run the tests like
gem check sendfile --test --debug
i get the following error message:
Exception `Errno::ENOSYS'' at ./test/test_sendfile.rb:75 - Function not
implemented -
2006 May 30
2
x-sendfile
I wrote an x-sendfile thing for the railshandler to get mongrel to catch
the response header and stream out files from an application I''m writing
but I''m pretty sure that zed said he''d built in x-sendfile somewhere
already. I couldn''t find it, could someone lead me to it?
Does mongrel work with SSL? If not is anyone interested in having
someone write in SSL
2007 May 24
15
Specs for code stored in rails_app/lib/
Where should the specs go for code in the "lib" directory of a Rails
app?
I made a folder, "spec/lib/", for storing such specs, and RSpec
automatically picks them up when run using "rake spec".
Before I go ahead and patch rspec_on_rails/lib/autotest/
rails_rspec.rb so that autotest can monitor these specs I''d like to
ask whether this is the
2006 Jun 29
2
Mongrel 0.3.13.3 Needs Debuggers
Hi Everyone,
I have a small pre-release for Mongrel that will eventually be the
0.3.13.3 release, but it needs some quick testing before I make it
official. There''s a bug for only some folks and I need to find out
what''s causing it.
The bug is that the object_id method gets the signature:
def object_id(param)
end
Which is incredibly evil. Normally this does nothing to
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 Jul 12
13
A rails app server, maybe?
Hi all.
Like many of us, I''m currently struggling with Rails deployment. Like
maybe only a few of us, I''m responsible not for one or two webapps but
dozens. Currently, we deploy them as war files using JBoss'' hot
deployment feature, which amounts to copying a war file to a directory
monitored by JBoss. Undeploying the app amounts to removing it from
the directory.
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It
complained routes.rb, no such file or directory and then sometimes i get
application.rb, no such file or directory.Doesn''t seem correct to me.
Though not so often, but even production servers throw these errors
sometimes, and i have no special routes setup or something.Its pretty much
default one, except few changes
2007 Jan 02
10
problems with apache 2.2 proxying to mongrel cluster
Hi all,
I''ve been having problems with the apache 2.2-mod_proxy_balancer-
mongrel setup.
My setup is:
CentOS 4.3
apache 2.2.3 (compiled from source) with mod_proxy_balancer
mysql 4.1
ruby 1.8.4
mongrel 0.3.14 (I know I need to update but I think this problem is
independent of the mongrel version)
mongrel_cluster 0.2.0
rails_machine 0.1.1
I have apache setup as per Coda''s
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 Mar 27
24
Mongrel Web Server 0.3.12 -- Pre-Release
Hello Everyone,
Mongrel is due for a 0.3.12 release which will feature some pretty insane
goodies for everyone. There''s talk of IOWA support, lots of speed
improvements (including sendfile support), a great Configurator which makes
configuring Mongrel a snap (especially for framework implementers), and a
ton of debugging stuff.
WARNING
This is a pre-release announcement for the
2006 Oct 04
5
Sites that use Mongrel
It would be an interesting topic. I bet there are quite a few.
I just released one that 1/2 runs on Mongrel. http://direxionfunds.com
It was released before it was _quite_ ready, but the last of the
content is getting inserted today. I am still waffling on how I will
leave it running longterm. Right now it uses a slightly modified
version of the Mongrel http parser with EventMachine to front
2007 Aug 19
16
Possible memory leak problem...
I''m trying to figure out a possible memory leak problem I have in my
application.
I''ve tested both with mongrel and webrick and the problem remains. So
I think it''s not a mongrel problem, but I''m posting here to see if
anybody can help me.
The RAILS application is quite simple, no special plugins ( no
RMagick that has the memory problem ),
2006 Dec 18
4
How to keep mocks consistent?
Hey all,
Here''s a question for everyone: how do you keep your mocks and stubs
consistent with your real objects?
I''m dipping my toes into the RSpec world, and it''s absolutely
delightful (running dozens of tests in less than a second is nice as
well), but I''m concerned about my ability to keep the mocks in my
specs consistent with the behavior of their
2006 Mar 30
25
Mongrel Web Server 0.3.12 -- Finally Out
Hello Folks,
This is the long awaited (like 2 weeks) 0.3.12 release of Mongrel. This
release has received heavier testing than previous releases and supports a
whole raft of improvements to existing functionality plus some new stuff.
For those not clued in, Mongrel is a web server written in (mostly) Ruby.
Check the funny dogs and read the docs about it at
http://mongrel.rubyforge.org/. The