Welcome! Log In Create A New Profile

Advanced

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Ruslan Ermilov
July 17, 2013 07:22AM
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
Subject Author Posted

stub_status always give me 0 Reading when upgraded to 1.4.1

Tsz Ming WONG July 16, 2013 10:36PM

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Maxim Dounin July 17, 2013 06:30AM

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Tsz Ming WONG July 17, 2013 06:50AM

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Ruslan Ermilov July 17, 2013 07:22AM

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Tsz Ming WONG July 17, 2013 10:32AM

Re: stub_status always give me 0 Reading when upgraded to 1.4.1

Maxim Dounin July 17, 2013 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 222
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