Re: [Mongrel] Disabling static file lookups?

2008-12-12 Thread Ezra Zygmuntowicz
eventually when you get big but probably is not worth it until you actually know it is a problem. Cheers- Ezra Zygmuntowicz e...@engineyard.com ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Disabling static file lookups?

2008-12-12 Thread Ezra Zygmuntowicz
alter the railshandler to not do these lookups when a config option is set. Merb uses rack middleware to do the static pages and that can be easily turned off in production. I believe latest rails does this as well and maybe you can disable these checks with rack in rails as well? Che

Re: [Mongrel] File Upload without the Temp File Copy

2008-11-18 Thread Ezra Zygmuntowicz
have it write to wherever you want: http://mongrel.rubyforge.org/browser/trunk/lib/mongrel/http_request.rb#L47 Cheers- Ezra Zygmuntowicz [EMAIL PROTECTED] ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Unix Domain Sockets + Fork for improved scalability

2008-05-05 Thread Ezra Zygmuntowicz
ng request from Apache (mod_proxy). I'll try to review the code changes again after I get some sleep (I really should have been in bed hours ago) and submit a new patch with any fixes that I make; cosmetic or otherwise. -- Weave On Tue, May 6, 2008 at 12:30 AM, Ezra Zygmuntowicz <[

Re: [Mongrel] Unix Domain Sockets + Fork for improved scalability

2008-05-05 Thread Ezra Zygmuntowicz
Hey Brian- This is pretty kick ass, I'll definitely take a look. -Ezra On May 5, 2008, at 8:37 PM, Brian Weaver wrote: Hello All, Ticket #30 (http://mongrel.rubyforge.org/ticket/30) has a set of changes to mongrel that I've written on behalf of my employer, Raritan Computer, Inc.

Re: [Mongrel] Mongrel hangs in production. gdb stack included

2008-04-30 Thread Ezra Zygmuntowicz
org/mailman/listinfo/mongrel-users ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL PROTECTED] -- EngineYard.com

Re: [Mongrel] Mongrels stop responding

2008-04-01 Thread Ezra Zygmuntowicz
/mongrel_rails:16"] > > Seems to be the same thing that's hanging up the portal app? > > Thanks in advance...\ Michael- What version and patch level of ruby are you running? If you are using 1.8.6 you need *at least* patch level 110, any patch levels before that h

Re: [Mongrel] problems with Mongrel + Pound

2008-02-26 Thread Ezra Zygmuntowicz
upgrade to ruby 1.8.6 p 111. You need at least patch level 110 or else do not use 1.8.6 Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL PROTECTED] -- EngineYard.com ___ Mongrel-users mailing list Mongrel-users@rubyforge.org h

Re: [Mongrel] Strange Merb error

2008-02-04 Thread Ezra Zygmuntowicz
/usr/local/bin/merb:16:in `load' > from /usr/local/bin/merb:16 > > > Can anyone offer me any insight into what could be going amiss? > & sorry again if this is the wrong place. > Cheers, > Doug. > -- > Posted via http://www.ruby-forum.com/. >

Re: [Mongrel] Again: Workaround found for request queuing vs. num_processors, accept/close

2008-01-23 Thread Ezra Zygmuntowicz
On Jan 23, 2008, at 2:57 PM, Simon Santoro wrote: > On Wednesday 23 January 2008 23:45:43 Ezra Zygmuntowicz wrote: >> That's too bad then, you will have to suffer on with apache i guess. > > Probably. > >> Nginx is a lot more solid then apache is in stability

Re: [Mongrel] Again: Workaround found for request queuing vs. num_processors, accept/close

2008-01-23 Thread Ezra Zygmuntowicz
On Jan 23, 2008, at 2:36 PM, Simon Santoro wrote: > On Wednesday 23 January 2008 23:03:21 Ezra Zygmuntowicz wrote: >> Actually the nginx fair balancer has been released for a while. You >> can read up on it and get it here: >> >> http://wiki.codemongers.com/NginxHttp

Re: [Mongrel] Again: Workaround found for request queuing vs. num_processors, accept/close

2008-01-23 Thread Ezra Zygmuntowicz
gineYard built an Nginx plugin that > does the same (don't think they released it yet). Actually the nginx fair balancer has been released for a while. You can read up on it and get it here: http://wiki.codemongers.com/NginxHttpUpstreamFairModule Cheers- - Ezra Zygmuntowicz --

Re: [Mongrel] [ANN] Ebb Web Server

2008-01-14 Thread Ezra Zygmuntowicz
e tcp.c: In function ‘tcp_server_address’: tcp.c:331: error: dereferencing pointer to incomplete type tcp.c:332: error: dereferencing pointer to incomplete type tcp.c:335: warning: control reaches end of non-void function make: *** [tcp.o] Error 1 Thanks - Ezra Zygmuntowicz -- Founder & So

Re: [Mongrel] deployment survey

2008-01-03 Thread Ezra Zygmuntowicz
articularly troublesome regarding mongrel > deployment. Please let's add --clean to mongrel itself. Other then that the only thing might be to add some additional logic to the gracefull shutdown of a mongrel server. Say if it tries to

Re: [Mongrel] fastthread no longer needed?

2008-01-02 Thread Ezra Zygmuntowicz
1.8.6 p111 but we do still have a lot of ruby 1.8.5's out there. But I am in favor of making it an optional dependency. Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL PROTECTED] -- EngineYard.com ___ Mongrel-users mail

Re: [Mongrel] Regarding the 1.1.3 security release

2007-12-28 Thread Ezra Zygmuntowicz
om > As far as I can tell this is only exploitable on direct mongrel hits. I cannot make it happen on mongrels behind nginx or apache. Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL PROTECTED] -- EngineYard.com ___

Re: [Mongrel] Long-running pages cause mongrel time-outs

2007-12-19 Thread Ezra Zygmuntowicz
tus reports as well as having a very nice cron like scheduler for jobs. Bj is more of a work queue that is persistent. Hope that clears things up, Both of these tools are great for different circumstances. Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL

Re: [Mongrel] Mongrel + Lighttpd

2007-12-17 Thread Ezra Zygmuntowicz
roduction environment. For me, a > crucial capability is X-Sendfile (or something similiar). > > Thanks for the help, > Pete Nginx works much better then lighttpd for proxying to mongrels. Nginx has X-Accell-Redirect which is basically same thing as X-Send_fi

Re: [Mongrel] Long-running pages cause mongrel time-outs

2007-12-17 Thread Ezra Zygmuntowicz
proxy balancer for nginx that works well. http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel Cheers- - Ezra Zygmuntowicz -- Founder & Software Architect -- [EMAIL PROTECTED] -- EngineYard.com ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Gentoo warning

2007-11-22 Thread Ezra Zygmuntowicz
On Nov 22, 2007, at 4:33 PM, Alexey Verkhovsky wrote: > On Nov 22, 2007 5:00 PM, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> but you definitely want to turn [pthreads] off. > > Definitely, but... you may need it on, if you use an extension that > itself relies o

Re: [Mongrel] Gentoo warning

2007-11-22 Thread Ezra Zygmuntowicz
Hi~ On Nov 22, 2007, at 2:47 PM, Benjamin Krause wrote: > Hey > > You need to set the USE flag 'threads' to add pthread support to ruby. > > Ben > > On 2007-11-22, at 18:53, Zed A. Shaw wrote: > >> On Thu, 22 Nov 2007 11:20:37 +0100 >> "Csaba Okrona" <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>

Re: [Mongrel] Packet

2007-11-21 Thread Ezra Zygmuntowicz
Yeah I ported evented mongrel to run on packet> it does run and is faster than threaded mongrel, not quite as fast as event machine evented mongrel. The one problem is that the first request after server boot hangs but then all requests after that are fine. I will continue s

Re: [Mongrel] Mongrel wiki?

2007-11-07 Thread Ezra Zygmuntowicz
Yeah I have a private ey namespace of devjavu so it would be an unlimited account. -Ezra On Nov 7, 2007, at 7:32 PM, Evan Weaver wrote: > Ezra, would that be the premium devjavu account? We already have more > than 5 committers. > > Evan > > On Nov 7, 2007 10:31 PM, Evan Weaver <[EMA

Re: [Mongrel] Mongrel wiki?

2007-11-07 Thread Ezra Zygmuntowicz
Evan- I'd be happy to donate a devjavu account with trac and svn for the project if you want. Cheers- -Ezra On Nov 7, 2007, at 7:08 PM, Evan Weaver wrote: > Dear Mongrels, > > The same questions keep coming up over and over on the list, which is > ok, but not really optimal. If we a

Re: [Mongrel] MySQL timeout value (was: mongrel - monit issue)

2007-11-07 Thread Ezra Zygmuntowicz
The way that I have put this issue to bed for people is with this crunchy little hack in their environment.rb: Thread.new { loop { sleep 60*60 ActiveRecord::Base.verify_active_connections! } }.priority = -10 That little baby will keep your database connected. Cheers- -Ezra

Re: [Mongrel] multi threaded theoretically useful?

2007-09-07 Thread Ezra Zygmuntowicz
Hi~ On Sep 7, 2007, at 3:34 PM, Kirk Haines wrote: > On 9/7/07, Erik Hetzner <[EMAIL PROTECTED]> wrote: > >>> And when you are waiting on something like a database, you are doing >>> it within the DB driver extension, so there are no context switches >>> happening -- your green threads are blocke

Re: [Mongrel] multi threaded theoretically useful?

2007-09-07 Thread Ezra Zygmuntowicz
ll eventually have native threads and may make this situation better but for now such is life. Cheers- -- Ezra Zygmuntowicz -- Founder & Ruby Hacker -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users

Re: [Mongrel] Possible memory leak problem...

2007-09-01 Thread Ezra Zygmuntowicz
ystem is a database for files already and is much more efficient at storing files then using the database for it. Cheers- -- Ezra Zygmuntowicz -- Founder & Ruby Hacker -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___

Re: [Mongrel] what is the correct way to stop/start a mongrel instance using monit with mongrel cluster

2007-08-09 Thread Ezra Zygmuntowicz
On Aug 9, 2007, at 10:37 PM, Alexey Verkhovsky wrote: > On 8/9/07, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> So the better way to go about it is to use mongrel_cluster >> with the >> --clean and --only options. > > Better than runit or telini

Re: [Mongrel] what is the correct way to stop/start a mongrel instance using monit with mongrel cluster

2007-08-09 Thread Ezra Zygmuntowicz
the app server. This uses the :use_sudo variable to determine whether to use sudo or not. By default, :use_sudo is set to true. DESC task :stop_mongrel_cluster , :roles => :app do sudo "/usr/bin/monit stop all -g #{monit_group}"

Re: [Mongrel] [HELP] Mongrel Needs a Patch Maven

2007-07-31 Thread Ezra Zygmuntowicz
anyone else is interested. I'm pretty familiar with all the nooks and crannies in the mongrel source and with it's behavior in the wild ;) Cheers -- Ezra Zygmuntowicz -- Founder & Ruby Hacker -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273)

Re: [Mongrel] [mongrel_cluster] hosting multiple web sites via

2007-07-19 Thread Ezra Zygmuntowicz
ant to run two rails apps on the same domain like example.com/foo and example.com/bar then you can do it with one apache vhost but each app will still need it's own set of mongrels to proxy to. Cheers- -- Ezra Zygmuntowicz -- Founder & Ruby Hacker -- [EMAIL PROTECTED] -- Engine Y

Re: [Mongrel] [mongrel_cluster] hosting multiple web sites via

2007-07-19 Thread Ezra Zygmuntowicz
erve more then one rails app from the same mongrel cluster. Cheers- -- Ezra Zygmuntowicz -- Founder & Ruby Hacker -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@

Re: [Mongrel] Mongrel + Insert Web Server Here

2007-07-13 Thread Ezra Zygmuntowicz
On Jul 13, 2007, at 4:32 PM, Ronald Valente wrote: > Which web server does mongrel fair best with? > -Ron Nginx: http://wiki.codemongers.com/Nginx Cheers- -- Ezra Zygmuntowicz -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD

Re: [Mongrel] [ANN] You Will All Die In 1 Week (Mongrel To Require 1.8.6)

2007-06-28 Thread Ezra Zygmuntowicz
by 1.8.5 and will not run 1.8.6 until a real release which fixes the thread deadlock bugs is out. So I urge you to wait until 1.8.6 is actually a production worthy release before forcing an upgrade on everyone. Once 1.8.6 is worthy then I fully support this direction.

Re: [Mongrel] mongrel not daemonizing for me..

2007-06-26 Thread Ezra Zygmuntowicz
=> RUBYAMF::MongrelServlet.new, :num_processors => OPTIONS[:processors]) end if OPTIONS[:daemon] daemonize end end config.run.join You were doing run.join before you daemonized so the daemoinize code never gets called. Cheers- -- Ezra Zygmuntowicz -

Re: [Mongrel] swifty fly?

2007-05-21 Thread Ezra Zygmuntowicz
g something new. > > -- > Zed A. Shaw I agree that this all does not belong in Mongrel core. Mongrel core is already tight as hell. That's what makes it possible to add features you want by building on top of mongrel. Merb gets really good perf because it

Re: [Mongrel] Tell me why my Shoutcase handler sucks!

2007-05-09 Thread Ezra Zygmuntowicz
t;>> to experiment with interfacing with broadcasting clients and audio >>> players. Anyway, here it is: >>> >>> http://pastie.caboo.se/59073 >>> >>> Thanks, >>> -carl >>> -- >>> EPA Rating: 3000 Lines of Code / Gallon (

Re: [Mongrel] mongrel becoming unresponsive

2007-05-07 Thread Ezra Zygmuntowicz
anyone seen this before? > > Cheers, > Nathan C. > > > -- > Together we can solve any issue. > ___ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] NoMethodError exceptions

2007-04-29 Thread Ezra Zygmuntowicz
upgrade my ruby version...? > -- > James. > http://blog.floehopper.org James- Mongrel has *always* required ruby 1.8.4 or later. So you will have to upgrade ruby if you plan on using mongrel peridion. Thanks -- Ezra Zygmuntowicz -- Lead Rails Evangelist -

Re: [Mongrel] [ANN] Another mongrel_cluster prerelease 1.0.1.1

2007-04-12 Thread Ezra Zygmuntowicz
el on the same port before the other one finishes. This is what works best for me. Cheers -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) check process mongrel_<%= @username %>_5000 with pidfile /d

Re: [Mongrel] monit vs mongrel cluster

2007-04-08 Thread Ezra Zygmuntowicz
monit.conf that handles > the cluster? > > Many thanks, > Henry > > > On Apr 3, 2007, at 6:28 PM, Ezra Zygmuntowicz wrote: > >> >> Yes mongrel_cluster handles the pid files. Also it does a better job >> of stopping mongrels. The problem I had when

Re: [Mongrel] monit vs mongrel cluster

2007-04-03 Thread Ezra Zygmuntowicz
x27;ve had this stuff setup. On Apr 3, 2007, at 4:32 PM, Alexey Verkhovsky wrote: > On 4/3/07, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> mongrel_cluster handles the pid files. Also it does a better job >> of stopping mongrels. > > Is there some fundamental reaso

Re: [Mongrel] monit vs mongrel cluster

2007-04-03 Thread Ezra Zygmuntowicz
ore > reliable since you wouldn't have to deal with pid files and > backgrounding mongrel. > > Chris > > On 4/3/07, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> >> On Apr 3, 2007, at 1:39 PM, snacktime wrote: >> >>> Is there anything mon

Re: [Mongrel] monit vs mongrel cluster

2007-04-03 Thread Ezra Zygmuntowicz
restarts within 20 cycles then timeout # something is wrong, call the sys-admin group mongrel I wen't for a while using my own scripts to start and stop mongrel without using mongrel_cluster. But it works more reliably when I use mong

Re: [Mongrel] mongrel timing out

2007-03-18 Thread Ezra Zygmuntowicz
by/gems/1.8/gems/mongrel-1.0/lib/mongrel/ > configurator.rb:271:in `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/ > configurator.rb:270:in `each' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0/lib/mongrel/ > configurator.rb:270:in `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails: > 127:in `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel- 1.0/lib/mongrel/ > command.rb:211:in `run' > /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0/bin/mongrel_rails:243 > /usr/local/bin/mongrel_rails:16:in `load' > /usr/local/bin/mongrel_rails:16 > Mongrel timed out this thread: shutdown > > > -- > -mike > > ___ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Memory leaks in my site

2007-03-06 Thread Ezra Zygmuntowicz
On Mar 6, 2007, at 1:23 PM, Rob Sanheim wrote: > On 3/6/07, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> snip > > Ezra, > > What do you use for uptime monitoring? I haven't found anything out > of the box that can check often enough (ie at least every mi

Re: [Mongrel] Memory leaks in my site

2007-03-06 Thread Ezra Zygmuntowicz
80% for 3 cycles then restart# hung process? if loadavg(5min) greater than 10 for 8 cycles then restart # bad, bad, bad if 10 restarts within 10 cycles then timeout # something is wrong, call the sys-admin group mongrel Cheers- -- Ezra Zygmuntowicz -- Lead Rails Ev

Re: [Mongrel] Mongrel upload progress not showing progress on production server

2007-02-28 Thread Ezra Zygmuntowicz
nitor > for a half hour to an hour while the upload churns on with no progress > :P Using a flash uploader widget is the best way you can do this currently. You can have a nice multiple uploads at a time flash widget that does the progress bar on the client side like it shou

Re: [Mongrel] static file serving

2007-02-15 Thread Ezra Zygmuntowicz
es and use rails asset_host feature to send static content to a static server. Or you could ask for rewrite rules to be put in place on the load balancer to rewrite anything with /images/, /stylesheets/ and / javascripts/ in the url to be served by the static asset server. Cheers- -- E

Re: [Mongrel] Most reliable setup for mongrel

2007-01-25 Thread Ezra Zygmuntowicz
n with the least moving parts once he adds this feature. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] [ANN] Mongrel 1.0.1 Officially Released

2007-01-22 Thread Ezra Zygmuntowicz
On Jan 22, 2007, at 9:48 PM, Zed A. Shaw wrote: > Alright folks, after nearly a month of pounding and beating up the > Mongrel 1.0 > RC1 release we're putting out the official 1.0.1 release. > Rock \m/ Thanks for mongrel Zed! Cheers- -- Ezra Zygmuntowicz -- Lead

Re: [Mongrel] Want feedback on Mongrel patch for handling partial PUT requests

2007-01-22 Thread Ezra Zygmuntowicz
t may exist. >request.cleanup if request.interrupted? > ># And finally, if nobody closed the response off, we > finalize it. > unless response.done or client.closed? > response.finished >end >

Re: [Mongrel] Mongrel 1.0 final?

2007-01-21 Thread Ezra Zygmuntowicz
list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > It's final. I think Zed is waiting to do a mongrel 1.0.1 release in the next few days to fit with rails strict release versioning practices ;) Cheers- -- Ezra Zygmuntowicz -- Lead Ra

Re: [Mongrel] mongrel memory usage ballooning and process stomping

2007-01-18 Thread Ezra Zygmuntowicz
once it has it. Especially if you are swamping it so the GC can't keep up. But 4k and cached I think should be fine. Are you experiencing leaks? -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Ra

Re: [Mongrel] mongrel memory usage ballooning and process stomping

2007-01-18 Thread Ezra Zygmuntowicz
Hi~ On Jan 17, 2007, at 11:06 PM, Surendra Singhi wrote: > Hi, > > First of all thanks everyone for their responses. > > On 1/18/07, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: > > Some linux distros have weird reporting of processes. I > have seen it &

Re: [Mongrel] mongrel memory usage ballooning and process stomping

2007-01-17 Thread Ezra Zygmuntowicz
ppening. Are really 9 mongrel processes >> started >> instead of three? >> >> Please help. Thanks. > > -- > Michael Biven > [EMAIL PROTECTED] > http://biven.org > ___ > Mongrel-users mailing list > Mongrel-users@r

Re: [Mongrel] versioning of win32 versus ruby gems

2007-01-09 Thread Ezra Zygmuntowicz
ge} " + >> "#{options[:source] ? '--source='+options[:source] : nil } >> " + >> "#{options[:extra_params] ? options[:extra_params] : nil}" > 70c69 > < when /\s(\d+).*\(#{platform}\)/ > --- >> when /\s(\

Re: [Mongrel] problems with apache 2.2 proxying to mongrel cluster

2007-01-02 Thread Ezra Zygmuntowicz
hink >>> it has to be a mysql connection timeout but again, the fact that 1 >>> of the 4 >>> always works doesn't lend credence to the timeout theory. >>> >>> Has anyone experienced this phenomenon themselves? >>> >>> Thanks for any tips/pointers and thanks Zed for all your hard work >>> with >>> mongrel. >>> >>> >>> >>> -Michaelhttp://javathehutt.blogspot.com >>> >>> >>> ___ >>> Mongrel-users mailing list >>> Mongrel-users@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/mongrel-users >>> >>> >> ___ >> Mongrel-users mailing list >> Mongrel-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/mongrel-users > > ___ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Rubygems 0.9.0.8 and Fastthread problem

2006-12-30 Thread Ezra Zygmuntowicz
e this. In your test cases I also added require 'thread; before the require 'fastthread' to make them work. How can we verify that this is a valid fix? Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (

Re: [Mongrel] Error : No protocol handler was valid for the URL...

2006-12-29 Thread Ezra Zygmuntowicz
ailing list >> Mongrel-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/mongrel-users >> > ___ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] production-izing a popular site

2006-12-28 Thread Ezra Zygmuntowicz
et_host for static content. I don't think you will need this for the app you are talking about. I suspect you will end up with 4-6 mongrels per app server and this will leave you some overhead for what you need to serve. Another point of reference is the http://yakimaherald.

Re: [Mongrel] Rubygems 0.9.0.8 and Fastthread problem

2006-12-27 Thread Ezra Zygmuntowicz
to run the unit tests and rspec specs. So I guess this isn't too big of a problem as it will just not use fastthread during testing. But I would feel better about my tests if they ran the exact same code as they run in production. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist

[Mongrel] Rubygems 0.9.0.8 and Fastthread problem

2006-12-26 Thread Ezra Zygmuntowicz
0-s00089 ~ # ruby require 'rubygems' require 'fastthread' __END__ ey00-s00089 ~ # ruby -v ruby 1.8.5 (2006-08-25) [x86_64-linux] ey00-s00089 ~ # gem -v 0.9.0 It works fine here. But I suspect this will start affecting more and more folks as they upgrade to rubygems lat

Re: [Mongrel] [ANN] fastthread 0.5.3

2006-12-22 Thread Ezra Zygmuntowicz
er code file you need to do this: require 'rubygems' require 'fastthread' then require drb and anything else you need. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Rails' send_file, Mongrel, and *gasp* memory

2006-12-21 Thread Ezra Zygmuntowicz
ve the static file fast. Here is a good blog post about something similar: http://blog.craz8.com/articles/2006/11/13/lighttpd-proxy-with-x- sendfile-and-action_cache CHeers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD

Re: [Mongrel] dealing with multipart forms in a Mongrel::HttpHandler

2006-12-21 Thread Ezra Zygmuntowicz
e gem does the mime parsing. The initialize method here parses the incoming mime stuff including file uploads or multi part forms: http://svn.devjavu.com/merb/lib/merb/merb_controller.rb Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Host

Re: [Mongrel] versioning of win32 versus ruby gems

2006-12-21 Thread Ezra Zygmuntowicz
quot;, "#{stream} :: #{channel[:host]}" end when /\s\d+\./ # Discard other selections from data stream when /^>/ channel.send_data selections[channel[:host]] logger.debug line, "#{stream} :: #{channel[:host]}" else log

Re: [Mongrel] compress and max upload size?

2006-12-09 Thread Ezra Zygmuntowicz
s a complete nginx config for use with mongrel. It does all the rewites toi assure static content is served by nginx. try this one out for a more fair comparison http://brainspl.at/nginx.conf.txt Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, S

Re: [Mongrel] Cluster restart leaving orphaned processes?

2006-12-07 Thread Ezra Zygmuntowicz
ing mongrel_cluster" start-stop-daemon --stop --retry 15 --oknodo --name mongrel_rails eend $? "Failed to stop mongrel_cluster" } It's the --retry 15 --oknodo part that does the right thing. Before I set this we had random mongrel restart failures

Re: [Mongrel] [SURVEY] MIME types questions for Mongrel 1.0 RC1

2006-12-06 Thread Ezra Zygmuntowicz
think this default could be improved on depending on the > situation? Think development vs. production deployments. I am not really sure. I think application/octet-stream is good default as long as it can be over-ridden then it should meet everyones needs. Thanks Zed- -- Ezra

Re: [Mongrel] Sharing Mongrel Log Files on SAN Storage

2006-11-30 Thread Ezra Zygmuntowicz
identifier so that each node writes to its own log files. Doing this gave us a whopping 25% better performance when compared with all nodes sharing the same log file. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (8

Re: [Mongrel] Uploading Large (100mb+) files

2006-11-29 Thread Ezra Zygmuntowicz
ize where I trac issues. -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users

Re: [Mongrel] Uploading Large (100mb+) files

2006-11-28 Thread Ezra Zygmuntowicz
g with him to integrate this so uploads can be parsed once with the fast C mimer and then just handed off to the next handler with no need to reparse. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866)

Re: [Mongrel] Writing a mod_put HttpHandler

2006-11-26 Thread Ezra Zygmuntowicz
undaries again which is inefficient. Zed is working on a fast C mime carver and I am going to implement a way to grab the tmpfile mongrel makes without reparsing it but we haven't made progress yet. So let me know if you end up workign on this or if you want to work with

Re: [Mongrel] OSX requires sudo for using ports < 1024

2006-11-16 Thread Ezra Zygmuntowicz
att Pelletier > http://www.eastmedia.com -- EastMedia > http://www.informit.com/title/0321483502 -- The Mongrel Book > http://identity.eastmedia.com -- OpenID, Identity 2.0 > ___ > Mongrel-users mailing list > Mongrel-users@rubyforg

Re: [Mongrel] Distroy to experiment with Xen?

2006-11-09 Thread Ezra Zygmuntowicz
e running a ton of Xen VM's on gentoo and it has been absolutely awesome to work with. Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273) ___ Mongrel-users mailing l

Re: [Mongrel] OptimizedMutex for Mongrel

2006-11-08 Thread Ezra Zygmuntowicz
On Nov 8, 2006, at 7:07 PM, Luis Lavena wrote: > On 11/8/06, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> > > That's good, checked your code but build on win32 failed miserably. Yeah at this point I hadn't even considered windows yet. I am not much

[Mongrel] OptimizedMutex for Mongrel

2006-11-08 Thread Ezra Zygmuntowicz
talling the gem will build the optimized_locking c extension after it builds http11. Grab it here: http://brainspl.at/mongrel-c-mutex-0.3.14.gem.zip If anyone has any leaky apps and they want to try this out then please measure before and after and let me know the results.

[Mongrel] Testing custom mongrel handlers?

2006-11-05 Thread Ezra Zygmuntowicz
t needs to go in the request StringIO object that gets passed into my mongrel handler's #process method. Is there a good way to do this? Or should I just fire up a server and use net/http to test it? Thanks- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engin

Re: [Mongrel] Problems with mongrel dying

2006-11-03 Thread Ezra Zygmuntowicz
a Mutex, but have patched around the > problemlematic Array usage by creating my own copy of the Mutex class > that uses Array in a way that doesn't suffer from the bug. > > > Kirk Haines Hey Kirk- Would you mind sharing your patched mutex.rb file? I woudl appreciate it. Thanks

Re: [Mongrel] [ANN] Merb, Mongrel+Erb

2006-10-17 Thread Ezra Zygmuntowicz
o when I had a need for the file uploads I started out to just write myself a simple mongrel handler for doing uploads. But then it became fun and I continued on. Now its really starting to shape up. I love camping but I wanted things my own way so I built it. Cheers- -- Ezra Zygmuntowi

[Mongrel] [ANN] Merb, Mongrel+Erb

2006-10-17 Thread Ezra Zygmuntowicz
you are most welcome. On the other hand, if Merb kills your children I am not responsible ;) Thanks for playing! Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- [EMAIL PROTECTED] -- Engine Yard, Serious Rails Hosting -- (866) 5

Re: [Mongrel] [Slightly OT] Do you use virtualization in production ?

2006-10-04 Thread Ezra Zygmuntowicz
On Oct 4, 2006, at 8:14 AM, JDL wrote: > On 10/3/06, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> Hey Joe- >> >> On Oct 3, 2006, at 6:29 PM, Joe Ruby wrote: >> >>> Hey Ezra, >>> >>> What other gains do you get with virtuali

Re: [Mongrel] [Slightly OT] Do you use virtualization in production ?

2006-10-03 Thread Ezra Zygmuntowicz
Hey Joe- On Oct 3, 2006, at 6:29 PM, Joe Ruby wrote: > Hey Ezra, > > What other gains do you get with virtualizing? > > Also, would Xen/virtualizing make these easier? > - restoring root compromised servers Yup, you can take snapshots of a VM and restore back to that point in time without a fu

Re: [Mongrel] [Slightly OT] Do you use virtualization in production ?

2006-10-02 Thread Ezra Zygmuntowicz
On Oct 2, 2006, at 4:40 AM, Thibaut Barrère wrote: > Hi! > > I've been using parallels, vmware player, or virtual pc (did not > try xen yet) for development, testing and experimenting with new > platforms (and I must say I love them - copy paste a few files, and > I have a clean deployment

[Mongrel] Nginx conf with all the right rules for mongrel_cluster

2006-09-12 Thread Ezra Zygmuntowicz
Folks- James Cox, Alexy Kovyrin and I all huddled up and got nginx working perfectly with mongrel cluster and rails page caching. So all static and cached files are served fast by nginx and anything not static gets sent to mongrel. http://brainspl.at/articles/2006/09/12/new-nginx-co

Re: [Mongrel] Application performance

2006-09-01 Thread Ezra Zygmuntowicz
On Sep 1, 2006, at 8:58 AM, Ezra Zygmuntowicz wrote: > HI~ > > On Sep 1, 2006, at 7:07 AM, Kirk Haines wrote: > >> On 9/1/06, Tim Perrett <[EMAIL PROTECTED]> wrote: >> >>> If im needing to boost performance how might one go about doing it? >> >

Re: [Mongrel] Application performance

2006-09-01 Thread Ezra Zygmuntowicz
HI~ On Sep 1, 2006, at 7:07 AM, Kirk Haines wrote: > On 9/1/06, Tim Perrett <[EMAIL PROTECTED]> wrote: > >> If im needing to boost performance how might one go about doing it? > > 35-38/second can move a lot of traffic, as has been mentioned, so long > as it's 35-38/second for your dynamic traffi

Re: [Mongrel] Rails Deployment Book

2006-08-31 Thread Ezra Zygmuntowicz
On Aug 31, 2006, at 11:10 AM, philippe lachaise wrote: > If an in-depth book is due in the forseeable future, what about a > cookbook then ? > > I would kill for a "Rails Deployment and Scaling Receipes" That > would enable me to start from scratch from a bare hosted Linux Box > and be up a

Re: [Mongrel] Rails Deployment Book

2006-08-31 Thread Ezra Zygmuntowicz
On Aug 31, 2006, at 11:12 AM, James Ludlow wrote: > On 8/31/06, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote: >> >> Yeah guys my book will be out in beta around the end of >> this month. >> It covers mongrel in depth and also covers pretty much any v

Re: [Mongrel] Rails Deployment Book

2006-08-31 Thread Ezra Zygmuntowicz
On Aug 31, 2006, at 7:57 AM, James Ludlow wrote: > On 8/31/06, Dave Murphy <[EMAIL PROTECTED]> wrote: >> I've been mulling over an idea for a book covering Ruby on Rails >> application deployment. Obvious topics include using Mongrel by >> itself >> and with Apache/Lighttpd, load balancers, mem

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 12:40 PM, linux user wrote: On 8/25/06, Luis Lavena <[EMAIL PROTECTED]> wrote: On 8/25/06, linux user <[EMAIL PROTECTED]> wrote:[snip] >> No by logging I mean capturing all output on console whether generated by> puts,p,print or by mongrel in a log file.Ohhh, you're trying to de

Re: [Mongrel] Multi apps in one Mongrel instance

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 9:22 AM, Kirk Haines wrote: > On 8/25/06, Jarkko Laine <[EMAIL PROTECTED]> wrote: > >> No offense, Jean-Eric, but you already asked this two weeks ago [1] >> and got 7 responses, including one from Zed himself [2]. >> >> The answer: You can't do that as long as Rails is not th

Re: [Mongrel] mongrel logging on win32 platform and win32 service

2006-08-25 Thread Ezra Zygmuntowicz
> > > The problem that I am facing is that the output from 'puts, p, > print' on the console are not captured in the mongrel log file (in > my case production.log) on Win2K SP4. > ___ > Mongrel-users mailing list > Mongrel-users@rubyforge.org > http:

Re: [Mongrel] SVN security hole explained

2006-08-25 Thread Ezra Zygmuntowicz
On Aug 25, 2006, at 8:26 AM, Francois Beausoleil wrote:Hi all,If you are using Pound / Pen or another load balancer, I believe youshould read this:http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrelMy article refers to Dan Benjamin'shttp://hivelogic.com/articles/2006

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 3:52 PM, David Vrensk wrote:On 8/24/06, Ezra Zygmuntowicz <[EMAIL PROTECTED]> wrote:     Memcached is indeed another option. Although it sounded like forjust one Singleton object cache that memcached would be overkill andrequire yet another dependency for the app.

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 12:38 PM, Marcus Rueckert wrote: > On 2006-08-24 08:53:46 -0700, Ezra Zygmuntowicz wrote: >> Well you can use pound to setup sticky sessions or session affinity >> but I don't reccomend that as its fragile. I would say your best >> option is

Re: [Mongrel] MongrelCluster - How can I make a request to a specific mongrel instance?

2006-08-24 Thread Ezra Zygmuntowicz
On Aug 24, 2006, at 8:13 AM, Scott R Brittain wrote: In our app we've a number of singleton ruby classes that cache static data in hashes, things like string values, system config params, etc).  In a webbrick environment this works ok, but we find in production we have a problem because we have 4 c

Re: [Mongrel] http parser

2006-08-20 Thread Ezra Zygmuntowicz
On Aug 20, 2006, at 2:50 AM, snacktime wrote: > Just thought I'd let you know that your http parser worked great for > creating an http protocol handler for Eventmachine. It wouldn't take > that much effort to use Eventmachine for Mongrel, might be worth a > shot just to see how it does. A few

  1   2   >