Help cifs mount under document root does not work for nginx

Hi all
I am a newer for nginx.

When is want to set the nginx webroot to a cifs mount disk , a error
report :
sendfile() failed (75: Value too large for defined data type) while
sending response to client

My env:

nginx version: nginx/0.7.62
built by gcc 4.1.2 20070626 (Red Hat 4.1.2-14)
configure arguments: --prefix=/usr/local/nginx0.7.62/ --without-pcre

Anyone help me ?
Thank you.

Posted at Nginx Forum:

On Sun, Oct 11, 2009 at 05:13:56AM -0400, pninoh wrote:

configure arguments: --prefix=/usr/local/nginx0.7.62/ --without-pcre --without-http_rewrite_module
Linux may return such error for sendfile() on CIFS.
You have to disable sendfile inside this server or location:

server {

sendfile off;

Yes,good ide.
It works now.

thanks a lot.

Posted at Nginx Forum: