Displaying 20 results from an estimated 10000 matches similar to: "Random(?) action hanging"
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 13
7
Mongrel spewing backtraces and nanosleeping
Hi list,
I''m seeing a couple of issues with Mongrel. I''m running FreeBSD 6.1 and
have previously been told that there are known conflicts between this
and Mongrel, yet I hope these issues will be resolved with time.
I''m overloading Mongrel with httperf on my local workstation. Mongrel is
started directly with the mongrel_rails command and there is only one
mongrel
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 01
11
Mongrel woes fixed
Hello all,
For the past couple of weeks I have been spending some time debugging a
couple of issues I was having with Mongrel when I put load on it. I have
seen two distinct issues:
1. Mongrel stopped responding as if in an endless loop.
2. Mongrel crashed when severely loaded.
I believe to have resolved these two issues and have attached patches
which shows the resolution (simple as it is).
2006 Sep 04
10
mongrel proxies waiting endlessly
Sometime my mongrel server threads..would simply stop responding to the
requests...and in the logs i get following error:
Tue Sep 05 03:56:40 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep 05 03:59:21 IST 2006: ERROR: Transport endpoint is not connected -
getpeername(2)
Tue Sep
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
Recently while i turned on USR1 debugging...mongrel running behind
Apache2.2threw following debugging messages:
Thu Sep 07 15:58:30 IST 2006: 0 threads sync_waiting for /charts/%5EBSESN, 1
still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
/images/tab_but_normal1.png, 3 still active in mongrel.
Thu Sep 07 15:58:40 IST 2006: 0 threads sync_waiting for
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 Aug 29
15
Setup with Apache 2.2 proxy balancer : timeout during uploads
Hi all,
I encounter timeout errors during file uploads in my Rails application.
I think the problem may be in the Mongrel configuration. Here is my setup:
* Load balancer (Cisco CSM, my provider''s Catalyst 6509)
* Apache 2.2.3 with mod_proxy_balancer
* Mongrel 0.3.13.3
* Rails 1.1.6
* Ruby 1.8.4
* MySQL 5.0.22
* file_column
I host an application in which users may upload medium files
2006 Sep 04
2
The real reason why Sync and Mutex behave differently
As I''ve mentioned before, Sync and Mutex are very similar, and Mutex
is very simple.
Their locking algorithm (for exclusive locking) is essentially identical.
And in some detailed examinations of Mutex''s behavior, there''s nothing
superficially wrong with it. It''s pure ruby, so there are no funny
memory allocations at the C level, and it essentially operates
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 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
2007 Aug 06
4
[Patch] HttpServer.port reports the bound port
This is for when you pass mongrel 0 for the port and the OS assigns
an open one.
Corey
--- mongrel-1.0.1/lib/mongrel.rb 2007-08-05 15:29:59.000000000
-0700
+++ mongrel-1.0.1/lib/mongrel.rb.zero_port_fix 2007-08-05
15:29:23.000000000 -0700
@@ -560,7 +560,7 @@
@socket = TCPServer.new(host, port)
@classifier = URIClassifier.new
@host = host
- @port = port
2006 Nov 04
19
Mongrel 0.3.13.4 Pre-Release -- Ruby''s LEAK Fixed (Death To Mutex!)
Howdy Folks,
This release is after painstaking analysis of a memory leak that was
reported by Bradley Taylor, reduced by myself, and then fixed after much
work. You should all thank Bradley for finding the bizarre fix.
It turns out the Ruby has a memory leak when you use pretty much any
thread locking primitive other than Sync (Mutex, Monitor, etc.):
http://pastie.caboo.se/10194
The fix (for
2006 Aug 18
8
BAD CLIENT, Invalid HTTP Format - Firefox, IE, etc..
I''m not sure what''s happening so I''ll try and explain what I know.
I am getting the error "Thu Aug 17 20:01:57 MDT 2006: BAD CLIENT
(xx.xx.xx.xx): Invalid HTTP format, parsing fails."
I''m running mongrel 0.3.13.4 from gem source, and running on a Macbook Pro.
I am running rails in development mode and if I switch to running
webrick, all requests
2006 Dec 21
4
my apache 2.2 conf
I just finished updating our internal site, which hosts multiple Rails
apps, to Apache 2.2.3. It also has a TWiki rewritten into the root,
ViewVC mounted on /cvs, and /server-status and /server-info.
<VirtualHost *:80>
ServerName int.example.com
ServerAlias int
CustomLog /var/www/logs/int.example.com/access.log combined
ErrorLog /var/www/logs/int.example.com/error.log
[...]
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 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
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 23
2
exception logging
Hi all-
I''m running mongrel with a tiny HttpHandler that hooks into a larger
library I''m working on. I''ve run into a snag with trying to debug
with it in that I''m not entirely sure how to get the exception logs
of errors that are raised.
All I get to stderr is this:
Fri Dec 22 17:16:14 -0800 2006: ERROR: Couldn''t find Models::Contact
without
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