stub_status always give me 0 Reading when upgraded to 1.4.1

Ruslan Ermilov ru at
Wed Jul 17 11:21:33 UTC 2013

On Wed, Jul 17, 2013 at 06:48:53PM +0800, Tsz Ming WONG wrote:
>    Hi,
>    On Wed, Jul 17, 2013 at 6:29 PM, Maxim Dounin <[1]mdounin at>
>    wrote:
>      stub_status
>    Thanks for the explanation.
>    But given that this is a busy server, sound abnormal if it always return a
>    0? (according to the doc: reading - nginx reads request header)

It means that your clients and nginx are fast enough, enjoy.  If you
absolutely need it to become non-zero, you can emulate a slow client
like this:

( echo 'GET / HTTP/1.0' ; sleep 42 ; echo ) | nc 80

substituting the address and port of your server.  During these 42
seconds, the status will show at least one connection in the
"reading" state.

More information about the nginx mailing list