Bug#494768: sendfile bails out with error
On Tuesday 14 October 2008, cfeller@rocketmail.com wrote:
> linux-image-2.6.24-etchnhalf.1-amd64 2.6.24-6~etchnhalf.5
> linux-image-2.6.25-1-amd64 2.6.25-1
> linux-image-2.6.25-2-amd64 2.6.25-6
> linux-image-2.6.25-2-amd64 2.6.25-7
>
> and none of them resolved the problem. This is a bit troubling to
> me.
>
> Are there any other (apache2) dependencies that could be to blame?
> Specifically I'm wondering if sendfile() was always broken, but if
> apache2 was not previously attempting to use sendfile()... Stephan
> - you said that not much changed in the apache2 or libapr code to
> break sendfile(). Does apache go directly to the kernel or does it
> go through libc for instance?
sendfile has a wrapper in libc, but I doubt that it does anything
other than call the sendfile syscall. Maybe you used smbfs before and
now use cifs? Smbfs was removed after 2.6.23 in Debian. Or your smb
server changed its behaviour.
Cheers,
Stefan
Reply to: