Displaying 20 results from an estimated 30000 matches similar to: "[SEC] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack"
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
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 Oct 24
9
[WARN] Got 99% CPU?
Hey folks,
I ran into a few people at RubyConf who were having 99% CPU issues. Please contact me if you meet the following criteria:
1. You are running a production site.
2. You are experiencing 99% CPU errors.
3. This is frequent enough that you cannot manage it.
Thank you. Please contact me off-list about it.
--
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2006 Aug 16
8
Mongrel 0.3.13.4 Pre-Release -- QUERY_STRING Fixed
Hello Everyone,
I just posted another pre-release of Mongrel that fixes a bug which
caused Mongrel to claim it was getting parsing errors because the
QUERY_STRINGs were too long. In actuality it was shift in the parser
that made empty queries (/test?) become negative. This is fixed up now.
Here''s the full list of changes:
* It has a couple of fixes for win32, but I still have to
2006 Nov 02
8
MogileFS handler
Hello,
I''ve been using NFS for sharing files across a cluster of servers but
I''ve had a lot of problems with that. I''m planning to move to MogileFS
which seems to be more stable and more adapted to this usage (lots of
user uploaded files).
I wonder if someone has already worked on an integration of MogileFS
into Mongrel (and Rails app) for serving the files ? If not, I
2006 Oct 25
7
Change In Versioning Policy
I''m going to make a change to how Mongrel is versioned to help out folks packaging it and tracking it as a pre-release. Previously I just did whatever was simplest, but now I''m going to do a slightly different approach. This is open for comment and suggestions.
Here''s the new rules:
1) There are only official and pre-releases. This doesn''t change.
2) The
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 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 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 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
2006 Oct 15
14
Mongrel can''t handle some URLs that IE6 sends
IE6 happily sends unsafe* characters unencoded if you''ve typed them
into the URL bar of your IE6 window. This could happen if you copy &
paste a URL from an email or web page.
Mongrel doesn''t seem to handle these properly. In 0.3.13.3 it would
print out something like:
Sun Oct 15 23:05:38 CST 2006: BAD CLIENT (192.168.1.2): Invalid
HTTP format, parsing fails.
0.3.13.5
2006 Oct 25
33
[ADV] "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" BOOK
Time for some all time pimpage folks.
Me and Matt Pelletier wrote a small PDF book on Mongrel entitled: "Mongrel: Serving, Deploying, and Extending Your Ruby Applications" since we really wanted you to know what it was about. It''s published by Addison Wesley Professional, has just over 100 pages of goodness, and is available for $14.99 at:
http://safari.oreilly.com/0321483502
2006 Sep 03
8
first request always fails
Hi,
Whenever I restart mongrel on my production server, the first request in
my browser always fails, I get this error:
Processing Base#index (for 83.xx.xx.xx at 2006-09-03 16:08:47) [GET]
Session ID: f1918346d193e19a70c3230286e5ce1a
Parameters: {}
TypeError (superclass mismatch for class Stats):
/app/models/stats.rb:1
stats.rb:1 just contains a normal A/R line:
class Stats <
2006 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in
2006 Sep 07
5
Mongrel Ultimate Deployment Certified Rails Aptitude Program
I''m proud to announce the official Mongrel certification program:
http://mongrel.rubyforge.org/certified.html
Move quick, seats are filling fast for the RubyConf courses.
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
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 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
2006 Oct 12
3
How to get a decent stack trace?
Hi,
I just gave Mongrel a try on my Rails app. After running
''mongrel_rails start'' everything seems fine. Yet, when I start a
request I get the following error message on the console:
ERROR: You have a nil object when you didn''t expect it!
The error occured while evaluating nil.readpartial
That''s it. The application works fine with Webrick and
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.