Welcome! Log In Create A New Profile

Advanced

How to know if my nginx is in good health?

howard chen
November 22, 2012 12:52AM
Hi,

I am running a nginx on EC2 (m1.small) for SSL termination.

I am using 2 workers on Ubuntu, with latest nginx (stable), the network
throughput is around *2Mbps* and system load average is around *2 to 3.*

I am wondering if this system is in good health for now,

e.g.

1. what is the queue length (I know nginx can handle a lot of concurrent
request, but I mean before the request is being served, how many of them
need to wait before being served)
2. what is the average queue time for a given request to be served.

I want to know because if my nginx is *cpu bounded* (e.g. due to SSL), I
will need to upgrade to a faster instance.

My current nginx status

Active connections: 4076
server accepts handled requests
90664283 90664283 104117012
Reading: 525 Writing: 81 Waiting: 3470



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

How to know if my nginx is in good health?

howard chen November 22, 2012 12:52AM

Re: How to know if my nginx is in good health?

Edho Arief November 22, 2012 12:54AM

Re: How to know if my nginx is in good health?

howard chen November 22, 2012 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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