aio on nfs
Juergen Gotteswinter
jg at internetx.de
Wed Jul 20 08:50:55 UTC 2011
Am 19.07.11 20:43, schrieb Igor Sysoev:
> 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.
>
>
i can confirm that it works fine.
More information about the nginx
mailing list