Sendfile EAGAIN and FastCGI
Dave Hayes
dave at jetcafe.org
Fri Jun 17 22:41:12 MSD 2011
Igor Sysoev <igor at sysoev.ru> writes:
> As Maxim already said there is a bug in sendfile/unix socket/FreeBSD
> combination. You can just disable sendfile in FCGI location:
> location ... {
> sendfile off;
> fastcgi_pass unix:/...
> ...
> }
Thank you very much, this fixed the issue.
Out of curiosity, would nginx perform better using "aio" here, if I
can't use sendfile yet?
--
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org
>>> The opinions expressed above are entirely my own <<<
By definition, when you are investigating the unknown,
you do not know what you will find or even when you have
found it.
More information about the nginx
mailing list