Forum Moderators: phranque

Message Too Old, No Replies

Help interpretting server-status

server status

         

andy baptiste

4:02 pm on Jun 2, 2012 (gmt 0)

10+ Year Member



Hi All,

I'm trying to diagnose a problem with an Apache server that occasionally reaches its maxclients. The server host as given me access to the Apache server-status but I'm not sure what to read into what I'm seeing. The example below is not typical but has occured once or twice where everything is marked 'sending response'. One thing I don't quite get is why other examples of other peoples server-status always seem to have alot more than the ten processes/requests that mine shows. Could that be an issue in itself? The other state that's not uncommom is alot in a 'C' state, should that tell me I need to use KeepAlives?

Any help, or pointers to where I can do some more research would be appreciated.

:O)

Andy




Apache Server Status for #*$!#*$!#*$!XX
Server Version: Apache
Server Built: Feb 23 2012 21:16:56

--------------------------------------------------------------------------------

Current Time: Sunday, 27-May-2012 21:33:22 BST
Restart Time: Sunday, 27-May-2012 00:40:58 BST
Parent Server Generation: 1
Server uptime: 20 hours 52 minutes 23 seconds
Total accesses: 281100 - Total Traffic: 3.0 GB
CPU Usage: u9.68 s1.41 cu.01 cs0 - .0148% CPU load
3.74 requests/sec - 42.1 kB/second - 11.3 kB/request
10 requests currently being processed, 0 idle workers
WWWWWWWWWW
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process

Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
0-1 48878 0/155/37920 W 1.03 130 0 0.0 3.54 429.60 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET / HTTP/1.1
1-1 48896 0/130/36202 W 0.24 177 0 0.0 1.09 397.37 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /party-supplies/action/browseCatalogue/catagory/509/?causeR
2-1 48691 0/866/37559 W 2.79 0 0 0.0 9.58 415.32 #*$!#*$!#*$!XX #*$!#*$!#*$!XX POST /controller.php?action=orderExtraCatagory HTTP/1.1
3-1 48445 0/355/33311 W 1.05 215 0 0.0 2.59 364.83 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /party-supplies/Product-Category/Party-Accessories/browseCa
4-1 48881 0/34/32570 W 0.00 206 0 0.0 0.24 362.66 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /party-supplies/action/browseCatalogue/catagory/509/?causeR
5-1 48693 0/373/29838 W 0.99 121 0 0.0 2.80 333.87 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET / HTTP/1.1
6-1 48515 0/501/25272 W 1.43 134 0 0.0 6.23 285.11 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET / HTTP/1.1
7-1 48698 0/649/21816 W 2.49 0 0 0.0 7.83 225.30 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /server-status HTTP/1.1
8-1 48464 0/355/15604 W 1.00 173 0 0.0 3.84 159.99 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /party-supplies/action/browseCatalogue/catagory/509/?causeR
9-1 48708 0/77/11008 W 0.11 229 0 0.0 0.43 114.45 #*$!#*$!#*$!XX #*$!#*$!#*$!XX GET /party-supplies/Product-Category/Party-Accessories/browseCa



--------------------------------------------------------------------------------
Srv Child Server number - generation
PID OS process ID
Acc Number of accesses this connection / this child / this slot
M Mode of operation
CPU CPU usage, number of seconds
SS Seconds since beginning of most recent request
Req Milliseconds required to process most recent request
Conn Kilobytes transferred this connection
Child Megabytes transferred this child
Slot Total megabytes transferred this slot

--------------------------------------------------------------------------------

mod_fcgid status:
Total FastCGI processes: 0
--------------------------------------------------------------------------------
SSL/TLS Session Cache Status:
cache type: SHMCB, shared memory: 512000 bytes, current sessions: 0
sub-caches: 32, indexes per sub-cache: 133
index usage: 0%, cache usage: 0%
total sessions stored since starting: 3
total sessions expired since starting: 3
total (pre-expiry) sessions scrolled out of the cache: 0
total retrieves since starting: 0 hit, 0 miss
total removes since starting: 0 hit, 0 miss

andy baptiste

10:44 am on Jun 7, 2012 (gmt 0)

10+ Year Member



Any ideas?

I'm wondering why my line of W's and C's and _'s etc is so small, all other examples I've seen are 4 or 5 times bigger