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@mdounin.ru>
> 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 127.0.0.1 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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx