aio on nfs

Igor Sysoev igor at sysoev.ru
Tue Jul 19 18:43:21 UTC 2011


On Tue, Jul 19, 2011 at 02:10:20PM -0400, Jim Ohlstein wrote:
> Hello,
> 
> I'm using aio on FreeBSD 8.2 with the following in my nginx.conf:
> 
> 
> http {
> 
>    ...
> 
> 	sendfile       on;
> 	aio            sendfile;
> 	tcp_nopush     on;
> 	read_ahead     512k;
> 	output_buffers 1 128k;
> 
>    ...
> 
> }
> 
> I'm serving some content via NFS mounted drives in a private network,
> those boxes are also running FreeBSD 8.2.
> 
> I've read in a couple of locations that sendfile() doesn't work in such
> situations. Is their a better configuration to use for those specific
> locations?

It should work.


-- 
Igor Sysoev



More information about the nginx mailing list