search for: senfile

Displaying 3 results from an estimated 3 matches for "senfile".

Did you mean: sendfile
2008 Nov 24
1
RELENG_7 panic under load: vm_page_unwire: invalid wire count: 0
Box with fresh RELENG_7 panic under heavy network load (more than 50k connections). This panics seems to be senfile(2) related, because when sendfile disabled in nginx, I can't reproduce the problem. Backtrace in all cases like this: # kgdb kernel /spool/crash/vmcore.1 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and...
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
2002 Feb 19
1
rsync bug in clean_flist() while removing duplicted names
...st list wins. if this behaviour of rsync would change in future, i'd run into deep problems.. the next problem i run into while testing my fixes on my debian woody -where i compiled rsync 2.3.2 from the package pool with debuild- was, that the strlcat() function in lib/compat.c was used. from senfile.c strlcat() was called: strlcat(fname,f_name(file),MAXPATHLEN); but f_name(file) returned (char *) 0. now strlcat() did a strlen on a nullpointer, and was not very happy. now, everything works fine. but it may be worth to check if it's ok that this null-file that sendfile() has in his list e...