sendfile + non local filesystem + lighttpd = EOPNOTSUPP

Niki Denev nike_d at cytexbg.com
Fri Oct 28 23:30:17 PDT 2005


David G. Lawrence wrote:
>>Hello,
>>
>>I seem to have a problem serving files with
>>lighttpd from non local (smbfs) filesystem.
>>Lighttpd tries to use sendfile(2) but, it returns
>>with -1 and errno "Operation not supported",
>>but i can't find this error in the documented errors
>>on the manpage.
>>Forcing lighttpd to not use sendfile fixes the problem,
>>but i would really like to use it...
>>
>>Any suggestions?
> 
> 
>    What version of FreeBSD?
>  
> 
> -DG

ouch.. sorry i forgot to include the version ..

It's 5.4-STABLE about 3-4 months old. (i'll try to
update to 6.0 this weekend)
And the lighttpd version is the latest from the ports,
1.4.6 i think.

--niki


More information about the freebsd-stable mailing list