[Vserver] [Bug] sendfile64 stopped working in host server after upgrading from vanilla

From: Bodo Eggert <7eggert_at_gmx.de>
Date: Sat 03 Dec 2005 - 18:39:21 GMT
Message-ID: <Pine.LNX.4.58.0512031913160.2895@be1.lrz>

After I upgraded from vanilla 2.6.11.10 to 2.6.14.2-vs2.1.0-rc7, the
sendfile function in the host server stopped delivering the whole file.
After reverting to the old kernel, it works correctly again.

----------
$ echo -e 'GET http://be10/images/_______.jpg HTTP/1.0\r\n\r' |
  netcat be10 80 | wc
     62 247 13032

(The file contains 78835 bytes).
----------
open("/home/_______/public_html/images/_______.jpg",
O_RDONLY|O_LARGEFILE) = 10
setsockopt(9, SOL_TCP, TCP_NODELAY, [0], 4) = 0
setsockopt(9, SOL_TCP, TCP_CORK, [1], 4) = 0
writev(9, [{"HTTP/1.1 200 OK\r\nDate: Sat, 03 D"..., 284}], 1) = 284
sendfile64(9, 10, [0], 78835) = -1 EOVERFLOW (Value too large
for defined data type)
----------

-- 
"You, you, and you . . . Panic. The rest of you, come with me."
-U.S. Marine Corps Gunnery Sgt.
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Dec 3 18:37:36 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 03 Dec 2005 - 18:37:46 GMT by hypermail 2.1.8