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/vserverReceived on Sat Dec 3 18:37:36 2005