Displaying 20 results from an estimated 6000 matches similar to: "Mongrel spinning on read_multipart"
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 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able
to trace if it''s something in Rails that needs adjusted or if cgi.rb
picked up a bug.
The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
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 May 24
0
Mongrel errors on file upload
I did a spike in my sandbox to make sure I understood how to do file uploads using CGI and there seems to be a problem with Mongrel. WEBrick doesn''t display the problem, but I can reproduce it everytime with Mongrel. I''d really appreciate it if someone would try out the code below and see if they see the same thing.
The browser behavior is:
- under IE6, a Page Not Found error
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2006 Jan 10
1
File upload via SSL not possible
We use an apache server (version 2.0.54) with mod_ssl and the latest
rails version on a Gentoo Linux OS.
We tried to run our application in both, a virtual host using HTTP and
another using HTTPS with identical server configurations. With HTTP, we
did not have any problem, but HTTPS did not allow us to upload files in
rails into a database.
The log file displays a fcgi timeout and the HTTP
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all,
I''ve a rails project which successfully uploads images on the
development server but fails to do it on production. The only difference
is that the production server is on https/ssl.
On the browser the error message is the followin:
''Application error
Rails application failed to start properly''
Whereas in the log/fastcgi.crash.log i found the followin error
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then
I get an ActiveRecord error, I cannot reproduce exactly what triggers
it, hope you can help me, or give me tips on debugging this kind of
stuff. This time I got the error reporting page, but normally I would
just see the 500.html page, with no info about what went wrong.
This is the error (it''s the complete
2007 Jan 15
5
ActionController::UnknownAction (No action responded to xxx)
I have a new method defined in a existing controller.
All the methods I called in these are workable.
But somehow the new method is not recognizable.
------------------new method I
added--------------------------------------------
def push
# if fair
begin
@product = Product.find(params[:id])
rescue
logger.error("Attempt to access invalid product #{params[:id]}")
2006 Sep 05
0
Undefined class/module error: solved?
The Problem
-----------
We have been getting a "undefined class/module" error on 2 of our 6 app
servers in one testbed.
Same sourcecode, same installs (systemimager and an isconf style
configuration management harness), same binaries.
Identical everything. Pound + mongrel + memcached + postgres (pgcluster).
The odd bit here is that our "dev" and "prod" pairs had
2006 Aug 12
15
Help mongrel keeps crashing...
Alright, it seems that I am having a bit of a problem with mongrel. My
mongrel processes have been crashing pretty often and twice last night. I''m
really not sure why, but I really need to fix it. I am running 0.3.13.3. Here
is the mongrel.log file. Any ideas, things to look at, etc... is appreciated.
Thanks,
Carl
PS, do all the broken pipe lines mean Mongrel is serving the static
2003 Aug 14
1
Asterisk SIP calls failing - not a proxy? What of RTP codec transcoding?
I have an Asterisk 0.4.0 install working with two grandstream budgetone
100 phones, gnophone, and kphone. This is a private network segment
(172.17.x.x), with the PBX configured on my outbound firewall which has
a public address (66.x.x.x).
- I can make calls between phones - all extensions are working.
- I can make IAX calls to IAXTEL. No problems (apparently gsm only)
- I can call SIP phone
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These
files should be served by Apache instead of Mongrel, so do I need to
upload these files to Apache''s htdoc''s or will Apache cache them the
first time they are requested from Mongrel... Im not sure how this works?
Many thanks.
2011 May 19
2
Unicorn preload_app and upstart
?Hi,
I was wondering if anyone has managed to get the preload_app and SIGUSR2
combination working well with upstart?
My issue currently is that when I perform a SIGUSR2 against the master,
check everything''s working and close off the old master, upstart then
attempts to restart it because the original PID/binary are no longer
running.
What is the correct way of handling this? In my
2006 Apr 04
1
Apache, SSL, Mongrel and File upload question...
Not sure, but this might have something to do with Net::HTTP being broken
in Ruby 1.8.4. See:
http://shnoo.gr/articles/2006/04/03/ruby-1-8-4-breaks-net-http
Josh
http://shnoo.gr
--- rails@lists.rubyonrails.org wrote:
But
now, alas, I try to upload a file. Attempting to upload a file gives me
a ''bad content body'' error at line 981 of cgi.rb, in the read_multipart method.
2003 Aug 20
1
IAX <> IAX trunking... DP cache?
I'm attempting to get two Asterisk 0.4.0 PBXes to communicate with one
another using IAX/IAX2 trunks.
I've managed to get a semi-functional NAT Firewall working as a PBX
(with Asterisk running directly on the firewall itself), but there are
issues with bind()ing to various interfaces which is causing outbound
SIP issues.
To get around these issues, the idea is to do something like
2007 Jan 29
6
RJS problem
Hi,
I''m implementing a "digg-like" page, that once you digg. The score for
each item will dynamically reflect your current action +1 .
I am not sure what''s
In the controller I have an action responsible for increase of the
score.It has a corresponding rjs in view.
--------------------------------------------------------------------------------
def arouse
2003 Aug 21
1
Working example of "switch"?
Does anyone have a working example of how to use the "switch" directive
to peer two Asterisk PBXes?
--
- Ian C. Blenke <icblenke@nks.net>
(This message bound by the following:
http://www.nks.net/email_disclaimer.html)
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
2008 Apr 05
1
Problems getting file upload to work on rails 2.0.2
Hey Guys,
I''m trying to upload a file to rails. I thought it would be pretty
straightforward but I''ve run into a peculiar bug... the form I''m using
is shown below and then the error message.... any suggestions or
diagnostic hints would be appreciated. I''m running rails 2.0.2 and ruby
1.8.6
<form method="post"