similar to: Performance tweak when local files are not served by mongrel

Displaying 20 results from an estimated 1000 matches similar to: "Performance tweak when local files are not served by mongrel"

2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in public/cache rather than public [in order to set svn:ignore on all the files properly]. I can get page_cache_directory set correctly and the pages are cached in the right place but Mongrel isn''t serving them because it''s only looking for them in public. During development I know I can set -r public/cache
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
2007 Dec 10
4
Mongrel and http 1.1 OPTIONS keyword
Hello. I just seen some errors in my mongrel application log: It seems related to the httpd OPTIONS keyword Example: Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23) [OPTIONS] and our ruby application does not know what to do with it. and finally send an error Does mongrel (which is the http server) is supposed to deal with these kind of request ? I think these
2006 May 23
8
Can Win32 service more than one rails request at a time?
Hi, I am trying to run Mongrel on win32 to serve an internal rails application. We are accessing legacy data, and some transactions can take 5 to 10 seconds. This is holding up every other request. The -n does not seem to be supported on Win32. Am I missing something, or should I look elsewhere to serve my Rails app on win32? Thanks, Walt -- No virus found in this outgoing message.
2007 Jun 29
3
mongrel tuning with httperf - suspicious results
Hello all, I''m attempting to test/tune a mongrel cluster according to the tuning instructions on the mongrel site (using httperf). Anecdotally, the site itself ''feels'' snappy, but testing it with httperf reveals what appears to be terrible throughput. I''m kind of at a loss to describe the results, and was hoping someone could verify that I''m testing
2006 May 10
6
how many mongrels to start
is there a way to determine how best to determine the number of mongrel processes to start? Right now i am running 2 in production but I see some people run about 8 or so. What is the cutoff and determening factor for this ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 03
3
Mongrel HTTP Library 0.2.2 (Serving Directories)
Hey Folks, Another announcement of Mongrel -- the fastest little web server library for Ruby yet. This release is nice in that it should build on win32 better and it now sports a small DirHandler that can serve directories and files. This means Mongrel is closer to replacing WEBrick as a Rails debug runner. You can get the releases and information from: *
2007 Aug 10
1
serving static files
It seems that Merb is sending static files with Mongrel::DirHandler. (mongrel_handler.rb:52) if get_or_head and @files.can_serve(path_info) # File exists as-is so serve it up MERB_LOGGER.info("Serving static file: #{path_info}") @files.process(request,response) I haven''t done benchmarks and I''ve hardly glanced at DirHandler''s code but the
2008 Jan 03
23
deployment survey
Hello Mongrels, Building on the last messages about Fastthread, can we get a detailed survey of the different ways people are deploying their applications? It will help with near-future Mongrel development. Please include the following things: * Framework, if any (Camping, Merb, Rails, Nitro, Ramaze, IOWA, Rack...) * Mongrel version * Mongrel handlers used (rails, dirhandler, camping,
2006 Aug 28
6
Why the render speed is still so slow under apache?
<% for demand in @demands %> <% cache(:action => ''list'',:part => article.id) do -%> <%= render :partial => ''article''} %> <% end %> <% end %> Under webrick,the time that list rendering costs will be very soon,but under apache2.2+mongrel_cluster, the rendering still takes a long time- which occupies about 95% of the
2006 Jun 11
1
StatusHandler
Zed, Very cool, finally got around to playing with StatusHandler and StatisticsHandler. One thing that was missing that I wanted was insight into _what_ the RailsHandler was working on, and what was queued up while it sat in single-threaded mode -- ie., the current list of requests. W/ the attached mongrel.conf, I hacked the RailsHandler to keep a hash of active requests, and spit that out
2006 Jun 05
3
Mongrel Pre-Release 0.3.13 -- Katana Suicide Concurrency
We are *days* away from the official 0.3.13 release, which will be followed quickly by 0.4 code named Enterprisey Edition 1.2. This latest pre-release update closes off the last of the annoying bugs, and adds one very nasty feature people should check out before we release. Read about Katanas below. ** This release doesn''t have win32 yet. That''ll be uploaded Monday. ** WHAT
2007 Jun 05
4
uninitialized constant RailsHandler::Dispatcher
Hello, I am running in to an error trying to run mongrel. The server starts but then trying to access any url in my application throws this error: calling Dispatcher.dispatch uninitialized constant RailsHandler::Dispatcher ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in `const_missing''
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring.. uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2007 Mar 12
3
threading and concurrency
hello all. ive come to the point where im thinking about deploying my ''rails on rails'' app-development solution built in camping. mainly, im wondering what the barriers to thread-safety are. for db, i use redland, and afaik it spawns a single db connection for each find, and keeps a pool around to reuse. iow, no ActiveRecord. are class-vars a problem? theres one that
2007 Oct 25
2
Patch for X-SendFile on Windows
A new TRAC entry with patch has been added (initially for Camping) to allow X-SendFile on Windows to use DirHandler to send files on drives other than the current drive, if the DirHandler base path is "/" (which is the way Camping uses DirHandler). As it was, "/" gets expanded to "C:/", and then you can''t serve files on any other drive, which I needed to do
2006 Sep 07
1
httperf
Hi, has anyone run httperf in Xen.if so cna you share the peformance. Also can someone please send me the source for this. the HP site that hosts it does not respond and i do see any other sites that have the source for httperf. Thanks PKrishna _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2007 Jul 05
9
Limit i/o capacitiy?
Hi all Is there any way to limit the network i/o capacity of virtual machine somehow? Say, I want a domU with id 1 to consume at much 0.5 MB/s of host''s bandwidth. Is it possible? Artem Pervin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
This is a super quick announcement for a new Mongrel plugin called mongrel_console. It was inspired by a request from Tobias L?tke who wanted to tail out logs while Mongrel was running. What mongrel_console does is combine the Rails script/console with Mongrel so that you can control a mongrel server while using script/console. Sounds weird but it''s quite awesome for development
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
im using Mongrels to serve up /usr/portage/packages for other gentoo boxen. since i guess im the guinea pig with the DirHandler, ran into a couple issues: first, the client showed no files in the remote binhost, turns out the DirHandler was adding a trailing "/" to every filename, presumably making the client think they were directories, not files. attached is a patch which fixes this