Using perfdump Statistics

This section describes the various pieces of information available via perfdump, defining what each field represents, and shows how to tune each field, if possible.

First, here is a sample of the perfdump output from our site:

ListenSocket #0:
------------------
Address           https://INADDR_ANY:80
ActiveThreads     487
WaitingThreads    47
BusyThreads       440
IdleThreads       14

Thread limits     48/512


KeepAliveInfo:
------------------
KeepAliveCount        196/200
KeepAliveHits         2030795
KeepAliveFlushes      840657


CacheInfo:
------------------
enabled             yes
CacheEntries        4096/4096
CacheSize(bytes)    10394342/10485760

Hit Ratio           6806487/8457088 ( 80.48)

pollInterval        5
maxFileSize         537600


Server DNS cache disabled

If you are running a 3.0 server, you might notice that there are a few fields which are not described here. These fields are obsolete and will go away in the next release. They do not provide any useful information for tuning the web server. The names of the obsolete fields are listed at the end of each section.

ListenSocket Information

The first subtopic in the perfdump screen is the ListenSocket information. For each hardware virtual server you have enabled in your web server, you will find one ListenSocket structure. For most sites, this means only one listen socket will be listed.

Address

This field contains the base address which this listen socket is listening to. For most sites which are not using hardware virtual servers, the URL will be http://INADDR_ANY:80. “INADDR_ANY” is a constant ...

Get Web Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.