similar to: x-sendfile horrendously slow?

Displaying 20 results from an estimated 10000 matches similar to: "x-sendfile horrendously slow?"

2012 Apr 06
1
lighttpd + fastcgi + camping
Hello all, I am running in some little stumbling blocks with passenger as a multi user environment (the most problematic feature is that, once you setup a sub-domain passenger wants you to declare on nginx every app running on that nginx server which is not ideal to add apps on the fly and / or if a user wants to run 2 apps from his space) so I was thinking about a more drag a drop / one line
2007 Apr 23
1
X-Sendfile, static files, windows
i wrote a little camping app which serves the css, js and images statically using the Static class example i found on the camping wiki. everything works perfectly on my mac. once on windows the static files don''t get served. a 404 is returned. i have tried running the app using camping, webrick and mongrel, all give the same 404 response. here is an example value of X-Sendfile. I have
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
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 Dec 21
6
Rails'' send_file, Mongrel, and *gasp* memory
I''ve had a right fun few days at work trying to figure out why our Rails app (which isn''t under very heavy load) kept eating memory and bringing our server to our knees. Eventually I traced it to send_file (which was in a way a relief as it wasn''t down to my coding ;) -- every time a user started downloading, the memory consumed by the app would jump, and
2008 May 23
8
An issue for consideration
We''ve just come across an issue for consideration. I am avoiding some words which would allow people to find this message in an internet search who have questionable intentions, but wish to communicate a strong sense of caution. Consider someone who adds extra methods to their controller which they use in their main get/post methods to do things or to get secret data. Consider
2024 Mar 06
2
Question on supporting sendfile()
Hi all, sendfile() could be enabled in NGINX(https://www.sobyte.net/post/2022-08/nginx-send/). It could improves the performance since it could optimize to transfer data to user space. Up to now, sendfile() isn?t supported in OpenSSH yet. Will it be supported in the future? Best Regards Haojian
2007 Jan 25
4
X-Sendfile doesn''t work
Hi everyone, I try to use the "X-Sendfile" header, but it doesn''t work as expected. In my controller: path = "/home/bruno/file.tar.gz" headers[''X-Sendfile''] = path headers[''Content-Type''] = "application/octet-stream" headers[''Content-Length''] = File.size(path) render :nothing => true When I request
2013 Jan 02
8
Apache Passenger and Reloader
Hi Guys, I just started playing with camping and so far it''s pretty awesomo. After much messing around I was finally able to get Apache Passenger, Camping and ActiveRecord to PostgreSQL working. One thing I was wondering about, can I use reloader with Apache Passenger? Always having to touch/rm a tmp/restart.txt to see changes or reloading apache altogether is kinda a pain and I was
2007 Nov 18
14
css image url''s and :img problem
Hi, i have this controller class to serve static files. It works well for the stylesheet file under a /static directory, locating it, but the images referenced in the stylesheet do not appear. They are in the same /static folder, next to the stylesheet.css file. link :rel => ''stylesheet'', :href => R(Static, ''stylesheet.css''), :type =>
2006 Nov 25
5
Newline problem
Hello all, Recently I have started writing some small package apps. The main app I''m working on at the moment is Camping/Photos[1]. Here I use a controller to serve static files (Theme[3]) that I have copied from [2]. There seems a problem however, when using this via lighttpd. All files that get served (via photos-dispatch.rb) get an extra ''\r\n'' in front. This
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache, both running FastCGI. I''m going to explain the configuration, but first: update. gem install camping --source code.whytheluckstiff.net == Mounting Root for Lighttpd+FastCGI == server.port = 3045 server.bind = "192.168.0.103" server.modules = (
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2005 Jun 07
0
Re: Horrendously slow transfer speeds in FC3 is drivi ng mecrazy!!! Please help... - SOLVED!
Does SMB need Push bits acknowledged? I had a similar problem with sloooow printing on OpenBSD, and had to set the AckOnPush parameter to enabled. That cured the printing issue for me. Just a thought... Jim > -----Original Message----- > From: Al [mailto:alsalooq@socal.rr.com] > Sent: Monday, June 06, 2005 4:44 PM > To: samba@lists.samba.org > Subject: [Samba] Re: Horrendously
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for mongrel should not have much problem integrating the two I think. Apache/CGI is different and still will not work. I fuck around for a full day at the end of the day, I found Iowa another web framework and I try using their code but using Iowa::Request.new.read_multipart was more confusing than anything, although it helped me
2005 May 29
0
Horrendously slow transfer speeds in FC3 is drivingmecrazy!!! Please help... - SOLVED!
Thanks for the tip but recompiling the latest version was the second thing I did after trying and failing to tweak the smb.conf on my original hardware conf. I found that compiling it for my specific architecture (i686) increased my performance by 100% (from a punny 0.8 MB/s to a better but still punny 1.6 MB/s). -----Original Message----- From: Diego Julian Remolina
2005 May 13
2
Horrendously slow transfer speeds in FC3 is driving me crazy!!! Please help...
I found that for a modern PC running zero loads, (my server is a P4 3.2 with 512 M dual channel RAM an Intel Etherpro Express 100 nic, serving cached disk files from RAM) samba could be 30% slower than it should be. It would serve data at about 7 MBytes/sec compared with the old NT4 sever (same Intel nic, 512 RAM, P2/266 Cpu, NT4 with SP6a) that would do it at 10 Mbytes/sec under all
2007 Nov 06
5
textarea fails on rows attribute
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the ''rows'' attribute for input tags: input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2007 Jul 31
4
Restarting Lighttpd for each change? Error logging?
Hi, It seems that for each change that I make in my camping application, I have to restart lighttpd to make it work. Also whenever something goes wrong, a syntax error in my camping application for example, things just stop working and I can''t see any error messages in the lighttpd logs or any other log. I just followed the instructions to use Camping with lighttpd on the wiki. Any
2008 May 24
19
Camping 2.0 - What''s left?
I''ve just sent a pull-request to _why with my changes[1] and here is some things that I think needs to be done before a (possible) release: * The cookie session is named Camping::Session and is placed in camping/session.rb. Maybe this should be called Camping::CookieSession or??? * The ActiveRecord session is named Camping::ARSession and is placed in camping/ar/session.rb. Maybe it