Displaying 20 results from an estimated 500 matches similar to: "Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem"
2006 Apr 06
4
Lighthttpd not working as default (configuration?)
Hi,
On the api doc it is written that if lighttpd is installed, rails will use it as its web server instead of WebBrick.
I have installed lighthttpd and verified it works (for example on the default port 80) but when lauching script/server, it still uses WebBrick.
I wondering if I need to edit /etc/lighttpd/lighthttpd.conf myself or configure something else.
Any idea?
Thanks
Oscar
		
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, 
and have exhausted my web research options:
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in 
`require'': no such file to load -- 
/usr/home/matthew.feadler/rails/avclfc/public/../config/environment 
(LoadError)
        from 
/usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2008 Jul 14
2
long data frame selection error
Hello,
I am trying to select the following headers from a data frame but when I try
and run the command it executes halfway through and give me an error at V188
and V359.
Temp <- data.frame(V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15,
V16, V17, V18, V19, V20, V21, V22, V23, V24, V25, V26, V27, V28, V29, V30,
V31, V32, V33, V34, V35, V36, V37, V38, V39, V40, V41, V42, V43, V44, V45,
2005 Jun 18
9
lighthttpd mod_scgi
I see that lighttpd 1.3.14 supports SCGI.
lighttpd 1.3.14 - 2005-06-15 18:10
Changes
-------
   * added SCGI support via mod_scgi
   * added hash-based and round-robin load balancing to mod_proxy
   * fixed range requests larger than 2Gb
   * fixed compilation on Solaris
   * fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy
   * fixed handling of URIs for ''+'' and
2006 Jun 02
1
form_for scope issue
Hi,
I am just ran into the problem that I cannot access helper methods from 
within a form_for scope.
I do have something like the following:
<% form_for :potential_buyer, @potential_buyer, :url => { :action => 
"register" } do |f| %>
  <%= render(:partial => ''register_form'', :locals => { :f => f } ) %>
<% end %>
-----
I cannot
2002 Nov 21
0
dbPowerAMP, CDex / Re: Freeware windows ogg audio CD bur ner?
There's another nice Windows program in the pipeline: Feurio 2.0
(www.feurio.de) will have OggVorbis and MonkeyAudio support.
Feurio is a all-in-one solution for CD ripping/burning specialized on
audio CD.
Feurio supports high speed, high-quality on-the-fly ripping and
encoding, and on-the-fly decoding/burning, too.
Feurio supports allmost all available CD writers, and there is a
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running 
linux,which can support the most amount of concurrent users as well as 
the shortest latency?
1 apache+mongrel
2 apache+mongrel_cluster
3 lighthttpd+mongrel
4 lighthttpd+mongrel_cluster
5 lighthttpd+fastcgi
Thanks
charlie
-- 
Posted via http://www.ruby-forum.com/.
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all,
I've read a bit about fastcgi, and wondered if it might be an 
interesting solution for e.g. running php in a user-switched environment 
or running ruby-on-rails etc.
But I wonder why nobody (searched on Google) seems to use CentOS with 
mod_fastcgi for Apache 2.x.
And I also wonder why people actually using Apache 2.x and ruby-on-rails 
with CentOS did run a lighthttpd-fastcgi
2007 Oct 19
0
X-Sendfile, static files, windows
Jeremy,
I found your old message with this title. I struck the same thing,
where the current drive wasn''t the same as the drive I wanted to
serve (some) files from. So here''s the patch to add to
lib/mongrel/handlers.rb contains class DirHandler. I added two
things, first to initialize:
     def initialize(path, listing_allowed=true, index_html="index.html")
      
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
1996 Dec 06
1
Sendfile. beta test
I have found a package called sendfile that let you send files
over network.
It installs a prog called sendfile to send and a daemon called sendfiled,
called on demand by inetd.
I''d like to know if this package is security safe
C.Leroy
Source can be found at URL:
ftp://ftp2.ibp.fr/pub/linux/sunsite/Incoming/sendfile-1.5.tar.gz
2004 Jun 01
3
1.0-test14: no sendfile() in Solaris 8
Aloha.
The current CVS snapshot and 1.0-test14 will not build on Solaris 8
because it does not provide a sendfile() funtion.  It just has sendfilev().
Solaris 9 has sendfile(), though.
Using the old sendfile-util.c from 1.0-test1 and setting HAVE_SOLARIS_SENDFILEV
instead of HAVE_LINUX_SENDFILE in config.h works.
Greetings,
      Andy.
2004 Sep 06
0
[Fwd: Bug#267766: samba: incredible slow reads - may be a sendfile problem?]
Forwarding this to the main samba list, as this is coming up there.
-----Forwarded Message-----
From: Steve Langasek <vorlon@debian.org>
To: Joern Heusipp <debian-reportbug@cre.inka.de>, 267766@bugs.debian.org
Subject: Bug#267766: samba: incredible slow reads - may be a sendfile problem?
Date: Fri, 03 Sep 2004 16:28:41 -0700
severity 267766 important
thanks
I am downgrading this bug
2004 Sep 24
1
sendfile failed
Mates,
    I'm trying to learn a little more. I have 3.0.7 running on Mandrake 7.2.
I could see all the shares, but couldn't access the files "sendfile failed".
I set use sendfile = No and all is well. I have a separate system Suse 9.0
pro with use sendfile = yes and I have no problems. What is the
difference???
--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree
2004 Oct 31
1
which kernel should be used to solve sendfile problem on linux?
I have seen some folks on the list with what seems to be a similar issue
as I have.  I work in a large FX shop and this has been a problem for us
since the 3.0.7 upgrade.  If anyone has a known to work config,  could you
share your set up info please?
Jerry what kernel, and other system bits versions do you test on?
The system has a 2.4.21 kernel with xfs filesystems. It is a redhat 9
machine on
2005 Jan 02
1
sendfile questions...
Why in smbd/reply.c does send_file_readX only use sendfile if write cache
size is 0?
<snip>
if (chain_size ==0 && (CVAL(inbuf,smb_vwv0) == 0xFF) && lp_use_sendfile(
SNUM(conn)) &&
                        (lp_write_cache_size(SNUM(conn)) == 0) ) {
</snip>
While its true send_file_readX works regardless of the state of oplocks
(which is cool!) the smb.conf.5
2009 Dec 23
1
sendfile
Hello Experts:
I understand from the samba code (3.0.25) that we use sendfile during
client's Read operation. Is there a reason for not using the same for
write operation? Is it to do with header processing etc.
Thanks for your feedback!
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 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
2007 Jun 21
1
x-sendfile horrendously slow?
I''m using Camping (though I suspect this applies to RoR just as well,
and if you have an RoR specific answer I''d be happy to hear it, I may
switch) to do a number of things for an internal application, one of
which is transferring large files (~2GB each) between machines over the
network.  I thought the easy route would just be to make an app that
when given the filename, serves