Aio on nfs

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?


Jim O.

On Tue, Jul 19, 2011 at 02:10:20PM -0400, Jim O. wrote:

aio sendfile;

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 S.

Am 19.07.11 20:43, schrieb Igor S.:

sendfile on;
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.

i can confirm that it works fine.

On 7/20/11 4:50 AM, Juergen G. wrote:

I’m serving some content via NFS mounted drives in a private network,
i can confirm that it works fine.
Thank you both.


Jim O.