sendfile + non local filesystem + lighttpd = EOPNOTSUPP

Niki Denev nike_d at cytexbg.com
Sat Oct 29 14:00:59 PDT 2005


Niki Denev wrote:
> 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

I get the same behaviour also with 6.0-RC1 (cvsupped an hour ago)


--niki


More information about the freebsd-stable mailing list