Welcome! Log In Create A New Profile

Advanced

Re: Requests per Second

All files from this thread

File Name File Size   Posted by Date  
nginx.tar.gz 101.8 KB open | download Jim Ohlstein 09/25/2009 Read message
September 25, 2009 07:24PM
Hector Danniel Paz Trillo wrote:
> Hi,
>
> I'm using stub_status module as a source collect metrics from my nginx
> servers. I'm doing this:
>
> (1) wget the stats page
> (2) wait 1 second
> (3) wget the stats page again
> (4) Get the difference of the requests value from (3) and (1) to get
> requests per second.
>
> Am I doing right? I am also collecting Active Connections and want to
> understand which of these values will give me a better idea on what's
> happening in my servers during high load/traffic hours.
>

For seeing nice graphs I use Munin with the nginx modules installed. You
can see attached for sample of daily and weekly graphs. There is also a
module for nginx memory usage.

For up to the second information I use the python script referenced at
http://hostingfu.com/article/quick-nginx-status-script. This will give
data like this:

Conn Conn/s Request/s Read Write Wait
-------- ---------- ---------- ----- ----- -----
486 21.80 47.90 152 75 259
476 17.70 59.80 149 54 273
448 18.20 43.90 133 56 259
428 18.30 46.90 124 68 236
-------- ---------- ---------- ----- ----- -----
459 19.00 49.62 139 63 256


--
Jim Ohlstein
Attachments:
open | download - nginx.tar.gz (101.8 KB)
Subject Author Posted

Requests per Second

Hector Danniel Paz Trillo September 25, 2009 03:24PM

Re: Requests per Second Attachments

Jim Ohlstein September 25, 2009 07:24PM

Re: Requests per Second

Hector Danniel Paz Trillo September 25, 2009 09:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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