Displaying 20 results from an estimated 1043 matches for "sendfiled".
Did you mean:
sendfile
2006 Feb 01
4
Red Hat and "use sendfile"
Recently I've seen several suggestions on this list for the enabling of "use
sendfile" as a means to improve throughput. I thought this was peculiar
since the doc says it is enabled by default. I guess it isn't.
On both RHEL4 (Samba v3.0.10) and Fedora Core 4 (Samba v3.0.14) the entry
for "use sendfile" in the smb.conf says:
Default: use sendfile = yes
Hmm.
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
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.
2006 Aug 03
14
[WARNING] don''t use ruby-sendfile
Hi Folks,
I''ve been getting reports of people with serious stability problems in
Mongrel. These problems go away instantly when they remove
ruby-sendfile.
If your mongrel starts up saying that you have "sendfile installed" and
that it is using it then **you are wrong**. Remove the gem and don''t
use it.
I''ll be investigating why it doesn''t really
2008 Jan 08
4
XSendFile in development environment
Hi
I''m currently trying to use X-Sendfile to take some load off my rails
app, unfortunately in my development environment mongrel is happily
passing through the x-sendfile header, presumably for the (non-
existant) proxy to handle the header.
Is there some way to make mongrel process the x-sendfile header itself?
Thanks
jebw
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
2006 Jul 17
6
Rails+Mongrel+Lighthttpd: Ruby-Sendfile Problem
Hello,
I have a working mongrel cluster and want to use Lighty as the frontend
webserver. I want ligthttpd to deliver the static content.
So I did
gem install sendfile --remote
Everything installed.
But if I run the tests like
gem check sendfile --test --debug
i get the following error message:
Exception `Errno::ENOSYS'' at ./test/test_sendfile.rb:75 - Function not
implemented -
2006 May 30
2
x-sendfile
I wrote an x-sendfile thing for the railshandler to get mongrel to catch
the response header and stream out files from an application I''m writing
but I''m pretty sure that zed said he''d built in x-sendfile somewhere
already. I couldn''t find it, could someone lead me to it?
Does mongrel work with SSL? If not is anyone interested in having
someone write in SSL
2016 Jun 05
6
LLD: Using sendfile(2) to copy file contents
This is a short summary of an experiment that I did for the linker.
One of the major tasks of the linker is to copy file contents from input
object files to an output file. I was wondering what's the fastest way to
copy data from one file to another, so I conducted an experiment.
Currently, LLD copies file contents using memcpy (input files and an output
file are mapped to memory.)
2004 Dec 20
1
HP-UX/AIX sendfile patches.
I have a fix for the sendfile.c code for HP-UX - length not properly
specified prior to call.
I've also added code to support the AIX send_file() function and
configure.in code to check for AIX specific send_file API and sets
AIX_SENDFILE_API if successful.
Could you consider this patch for 3.0.11?
I also sent a web/cgi.c patch for "struct var" last week with respect to
compile
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
2006 May 16
5
how to redirect after sendfile?
Greetings!
Is there a way to get RoR to redirect_to another action after doing a sendfile?
My little app lets the user enter a bunch of data and then creates an XML file from it. I''m using sendfile to let the user download the XML file. Once they download the file I want to take them to a new view that presents a logout button that will trigger a cleanup. But it looks like RoR
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is
using ruby to send the file contents. Linux supports a sendfile() OS
call. The implementation of Linux sendfile() is extremely fast and
very CPU efficient, far faster than what can be done in user space.
Does Windows support a sendfile() equivalent call? I haven''t been
working with ruby long enough to know how it handles
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
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
2015 Jul 16
3
[Patch] Fix hang in safe_sendfile on SmartOS
# HG changeset patch
# User Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
# Date 1437050484 -7200
# Thu Jul 16 14:41:24 2015 +0200
# Node ID 7ef3a533b097e8e6590e754dc56ad308ab29233b
# Parent e3640ccaa76d77a9658126d1f8f306480dad8af7
Fix hang in safe_sendfile on SmartOS
The call to sendfile on SmartOS can fail with EOPNOTSUPP. This is a valid error
code and documented in
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already...
I have an app that is using sendfile to return large files to customers.
We can''t use regular Apache to handle this static content since the
files are what the customers are paying for - so it wouldn''t be cool for
anyone else to get access to them.
The issue is that the mongrel mem footprint gets bloated when the files
are
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
2016 Jun 06
2
LLD: Using sendfile(2) to copy file contents
As to leave an opportunity for the kernel, I think mmap+write would be
enough. Because the kernel knows what address is mmap'ed, it can detect
that write's source is actually a mmap'ed file and if that's the case it
can optimize as it does for sendfile. It seems that Linux doesn't do that
now, though.
I haven't thought about using non-temporal stores. It may work as we
2014 Dec 01
2
Fix for RHEL BZ#771868 in CentOS?
Hey,
We are blocked on a bug fixed by RHEL in
https://rhn.redhat.com/errata/RHBA-2012-0362.html. Specifically, the splice
code in sendfile() incorrectly updating the offset position on the write
side, Red Hat BZ#771868.
I have not been able to figure out if this bugfix is included in any CentOS
releases. If you are better at reading release notes than me, could you
please help me out and let me