Displaying 20 results from an estimated 20000 matches similar to: "initializer"
2006 Aug 23
2
Excessive CLOSE_WAIT sockets, pound
Hello,
I''m experiencing a strange, but very bad behavior with Mongrel
0.3.13.4 and Pound 1.8. Every 6 hours or so one of our nine (not
consistent on which one) application servers ( each one running
several mongrel processes ) will start leaving lots of socket
connections with pound open. This leads to "Too many open files"
errors. I''ve set pound to close connections
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 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 =
2007 Mar 09
5
https load balancer for windows?
Hello,
I noticed that mongrel would work very nicely with something called Pound to
get https access to a rails app. However, I think Pound isn''t available for
the windows platform? Is there any other nice lightweight load balancer like
Pound that I could take a look at to get https with mongrel and rails?
Cheers,
/Erik
-------------- next part --------------
An HTML
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 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 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
2006 Jul 15
6
Mongrel 0.3.13.4 Pre-Release -- All Fixed Up Now
Hello Everyone,
This is a short announce to get people to try the 0.3.13.4 pre-release
with their applications. This release features a few things that folks
have asked for, and a backport of an enhancement from the 0.4 release
coming later.
The features are:
1) A new --prefix command line option for people who want to mount their
rails app at a different base URI. Thanks to Scott for the
2006 Aug 10
7
Mongrel and SSL?
I have a small intranet app with only 20 or so users.
I''m currently using lighttpd w/ssl for production and mongrel for dev.
I don''t think Mongrel supports ssl, but what is the easiest front-end
to put in front of it? Pound?
Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
2007 Nov 21
6
mod_proxy_balancer under heavy load.
So I''m still working on a ''perfect'' setup so I can document it on the wiki,
and will submit some puppet patches against 0.23.2 next week, but here''s
what I''ve done that has made a big difference to stability here.
in puppetmasterd at line 261, I''ve modified the Mongrel instantiation from:
server = Mongrel::HttpServer.new(addr,
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
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
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 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
2007 Feb 22
1
Http and SSL within the same app?
All -
I''m working on an eCommerce app built on rails. It will be relatively
small at first and I''m not expected too much traffic. I''m considering
either Pound+Mongrel or Apache+Mongrel. My question is this: I want
several pages in the app to be standard http (home page, about us page,
etc) but I want the credit card transaction piece to be secure using
https and SSL.
2007 Nov 23
4
help! problem with mongrel, request.remote_ip and lighttpd
I have an existing rails application on lighttpd and I am trrying to upgrade
to mongrel for the enhanced scalability it offers.
I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5
Everything is working great except request.remote_ip returns 127.0.0.1 or
192.168.0.102 (the internal network address of the server running lighty).
I''ve seen some older posts about
2008 Mar 08
2
restarting cluster without killing in progress file uploads
Hello,
I have a cluster of three Mongrels running behind Pound. All is running
well except when I restart the cluster (mongrel_rails cluster::restart)
any in progress file uploads (handled through mongrel_upload_progress)
stop uploading. That is, if I''m uploading a file (via a web app being
served by the mongrel cluster) during a restart, my browser will
indefinitely pause as if it is
2007 Jun 01
1
LoadError on ''initializer'' when starting Mongrel
Hi all...
When I start Mongrel I get a LoadError. I use the command
> sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml
and it says
> Starting 2 Mongrel servers...
but in the log I see this error:
** Starting Rails with production environment...
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load --
2006 May 02
4
recommended setup of Mongrel_cluster + SSL for multiple apps?
I''d like to use Mongrel_cluster with SSL on a green-field application (it
can be configured however is best - initially, "ease of setup" is important,
but then soon after will be scaling and response time). I''ve read a lot of
emails on this topic, and checked out the Mongrel pages, etc, but I''m left
with this question of what is recommended:
For a
2006 Jul 07
8
Going to production soon, need server advice
I''ve got a RoR app that will be going to production soon (in the next
month or so) and would like to get some feedback on what kind of web
server setup people have had good luck with. I''m looking for something
that is:
1. Stable
2. Easy to setup
3. Secure (sorry but Windows is ruled out here)
My deployment will either be on Fedora Core 5 or possible Mac OS X
Server.