Displaying 20 results from an estimated 9000 matches similar to: "Excessive CLOSE_WAIT sockets, pound"
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 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 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 Aug 25
10
SVN security hole explained
Hi all,
If you are using Pound / Pen or another load balancer, I believe you
should read this:
http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel
My article refers to Dan Benjamin''s
http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure
My point is that even though we are preventing Apache from serving
anything except a select few file
2006 Aug 23
2
Optimal Configuration
Hey all
First off, ive just switched to using mongrel_cluster and pound - its
working a treat! Its far far faster than fast-cgi: operations that took a
few seconds on fcgi now are almost instant with mongrel. Excellent!
However, I''ve been trying to decide how best to utilise my equipment most
effectively. I have a dual pro 3Ghz Xenon with 2GB RAM, and the server will
be running a few
2006 Sep 01
2
Making Mongrel play well with Monit
Hi!
I run a mongrel cluster with 6 mongrels in it. I want to monitor them
individually for process hangs (and then restart them) and this is the
solution I came up with:
Here''s my configuration file for monit (/usr/local/etc/monitrc): [snipped
relevant bits]
------
#check lighttpd process
check process lighttpd with pidfile /var/run/lighttpd.pid
start program =
2006 Aug 22
6
Mongrel crashes - bad doggie
Hello List,
I have a production machine with very low ram (Xen Virtual Server) that
runs mysql and lighty->pound->mongrel (2 instances). About once a day,
one of the mongrels just locks up, leaving that in its log files:
*** glibc detected *** /usr/bin/ruby: free(): invalid next size (fast):
0x0a744780 ***
That process (mongrel) will stay locked, not answer any connections
anymore and
2006 Sep 18
2
Random(?) action hanging
Is this the behavior that supposedly indicates a problem with a
particular action? Mongrel in development mode randomly hangs on
random actions. Further requests cause USR1 logs like:
Mon Sep 18 13:04:03 PDT 2006: 0 threads sync_waiting for /, 2 still active in mongrel.
Mon Sep 18 13:07:52 PDT 2006: 1 threads sync_waiting for /public/stylesheets/table.css, 3 still active in mongrel.
Mon Sep 18
2006 Jul 18
6
Replace Pound/Pens/Balance with Ruby alternative
Right now you can use either Pens/Balance/Pound to put in front of some
Mongrels and it works really good (easy to setup too!). I got to
thinking, would it be possible to mimic what Pens/Balance/Pound does in
pure Ruby (yeah, I know the answer is yes)? I guess I''m looking for a
starting point. Does one simply write an HTTP listener that then
redirects the calls to Mongrel? Is
2007 Aug 16
3
Sessions on Rails with Pound and Mongrel
Hi All,
I''m experiencing a problem when using pound with Rails. My set up is I
have a machine acting as a load balancer running Pound. This listens
on port 80 and directs requests with a particular URL to two backend
servers both of which are serving my rails app using mongrel cluster
on ports 9000,9001 and 9002. There is a problem with sessions even
though I am storing the session data
2006 Jul 08
8
Mongrel, lighty, pound, and request.remote_ip
Is anyone using the setup described at the Rails blog?
http://weblog.rubyonrails.org/2006/7/3/pound-makes-lighty-and-mongrel-
play-nice
I''m using it in production, and the only problem I have is the same
as people have described in the comments over there, namely that
Rails thinks all requests come from localhost.
See http://isabont.com/requestinfo for the headers.
Any
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
2007 Aug 23
6
mongrel + pound + ziya problems
Hi,
i''m using to ziya to display some graph.
If i use it running mongrel as single instance all work good (very slow
but work).
If i try to use it with pound as htto proxy ziya charts wait forever for
data...that never arrive.
If i check the mongrel log it seemes to make queries on the database and
retrieve data,but nothin appera.
Anyone have an idea on how i can solve this problem?
2006 Sep 04
3
Mongrel Upload Progress 0.2 -- With Instructions and Examples
Hi Folks,
I''m sure tons of people are gonna ruin a whole drawer of their best
panties over this one.
Rick Olson worked on the mongrel_upload_progress gem, documentation and
examples and has almost everything you need to do progress tracked file
uploads using just Mongrel to handle the upload. This means that Rails
(or any other framework) isn''t blocked while the upload
2007 Jan 10
7
ultramonkey vs pound?
I know most people use pound, but has anyone tried using ultramonkey as
a load balancing solution between a cluster of mongrels and lighttpd?
Thanks,
Ray
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
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
2007 Oct 25
2
Accumulating smbd processes and sockets in CLOSE_WAIT state
Hello list
Our central fileserver is a Samba 3.0.25b on Solaris 9 and has
10'000 users (several hundreds at the same time).
This week it died on us and when I inspected the machine, it
was out of 8GB Memory and 16GB Swap because thousands of
smbd processes were running.
netstat -na showed that many hundreds of connections to
port 445 were in CLOSE_WAIT state.
We first thought it could be
2007 Feb 27
15
Deployement options
After reading the digital shortcut and the
documentation on the web site I''m confused.
Which one should I use? pen, balance or nginx ?
I don''t want to use a behemoth like appache and ssl is
not needed so it reduces my choice to those three
only....
What are the pros and cons of each? I don''t have much
money, so the less ressources I use the better it is
for me....
As
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
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/