Welcome! Log In Create A New Profile

Advanced

Re: Help cifs mount under document root does not work for nginx

October 11, 2009 10:44AM
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
http://sysoev.ru/en/
Subject Author Posted

Help cifs mount under document root does not work for nginx

pninoh October 11, 2009 05:13AM

Re: Help cifs mount under document root does not work for nginx

Igor Sysoev October 11, 2009 10:44AM

Re: Help cifs mount under document root does not work for nginx

pninoh October 12, 2009 08:03AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready