Help cifs mount under document root does not work for nginx

Igor Sysoev is at
Sun Oct 11 18:41:40 MSD 2009

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

> 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 --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;

Igor Sysoev

More information about the nginx mailing list