Welcome! Log In Create A New Profile

Advanced

Re: aio info

Maxim Dounin
May 09, 2011 07:24AM
Hello!

On Mon, May 09, 2011 at 09:33:18AM +0000, Richard Kearsley wrote:

> Running nginx on freebsd 8.2 with 16 workers and aio on, when the server encounters heavy writes, all processes are in D state
> Aio queue is way below system/process limit
> A request for small file (said file will be in fs buffer/cache) every second varies wildly from 1ms to over 1s
>
> >From man ps:
> D Marks a process in disk (or other short term, uninter-ruptible) wait.
>
> What's causing the lock?

You may want to look at WCHAN instead, it should contain more
information.

Please note that AIO interface only allows to do async reads, but
open()/stat()/... are still blocking. This may be a problem if
you've run out of vnodes (sysctl kern.maxvnodes) or there are
other reasons NAMEI lookups can't be effectively cached by OS.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

aio info

Richard Kearsley May 05, 2011 01:06AM

Re: aio info

Igor Sysoev May 05, 2011 03:14AM

RE: aio info

Richard Kearsley May 06, 2011 05:38AM

Re: aio info

Igor Sysoev May 06, 2011 06:52AM

RE: aio info

Richard Kearsley May 06, 2011 08:54AM

Re: aio info

Igor Sysoev May 06, 2011 09:02AM

RE: aio info

Richard Kearsley May 06, 2011 09:52AM

RE: aio info

Richard Kearsley May 09, 2011 05:34AM

Re: aio info

Maxim Dounin May 09, 2011 07:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready