Welcome! Log In Create A New Profile

Advanced

nginx workers in "D" status in top

Ryan Malayter
July 27, 2010 01:04PM
I'm seeing a number of workers periodically entering the "D" status in
top (uninteruptible sleep). Normally, this means it is blocking on
disk IO. However, I am using nginx 0.7.62 (default package) on Ubunutu
9.10, and I believe asynchronous IO should be enabled.

We are using proxy_cache, so there is some reading from disk in our
configuration (not just reverse proxy).

Is it normal to have nginx workers block on the disk even on an
asynchronous IO-capable system?

How can I check if nginx is actually using async IO?

My configuration is large, but I will post fragments if necessary. I
am using 4 worker processes on a single-CPU system (recently upped to
10 because of this issue).

Thanks,

--
RPM

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

nginx workers in "D" status in top

Ryan Malayter July 27, 2010 01:04PM

Re: nginx workers in "D" status in top

Joaquin Cuenca Abela July 27, 2010 01:28PM

Re: nginx workers in "D" status in top

Ryan Malayter July 27, 2010 02:32PM

Re: nginx workers in "D" status in top

Igor Sysoev July 27, 2010 02:54PM

Re: nginx workers in "D" status in top

Ryan Malayter July 27, 2010 11:28PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready