aio on nfs

Jim Ohlstein jim at
Tue Jul 19 18:10:20 UTC 2011


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

Jim Ohlstein

More information about the nginx mailing list