Hi,

mod_status of Apache 2.0.47 running on Linux (RHL 8.0) returns bad hit counters.

I wrote a script to log each minute the value for TotalAccesses on http://localhost/server-status?auto (ExtendedStatus On).

The server gets 1,500-3,000 hits per minute. The total hit counter should be ever increasing. Watch the fallback at 11:38:00 where the server lost 4,000 hits. At 11:39:00 the counter jumps from 400,000 to 1,79*10^9.

Nov 26 11:26:00 371278
Nov 26 11:27:00 373978
Nov 26 11:28:00 376362
Nov 26 11:29:01 378569
Nov 26 11:30:00 380578
Nov 26 11:31:00 382963
Nov 26 11:32:00 385483
Nov 26 11:33:00 388381
Nov 26 11:34:01 390571
Nov 26 11:35:00 392925
Nov 26 11:36:00 394992
Nov 26 11:37:00 397945
Nov 26 11:38:00 393862
Nov 26 11:39:00 1789700531
Nov 26 11:40:00 2662873413
Nov 26 11:41:01 22433930
Nov 26 11:42:00 851981725
Nov 26 11:43:00 854586896
Nov 26 11:44:00 3129659204
Nov 26 11:45:00 3129661744
Nov 26 11:46:00 502142310
Nov 26 11:47:01 502145165
Nov 26 11:48:00 502147850
Nov 26 11:49:00 502150039
Nov 26 11:50:00 502152235
Nov 26 11:51:00 502154078
Nov 26 11:52:01 502156299
Nov 26 11:53:00 502159171
Nov 26 11:54:00 502161440
Nov 26 11:55:00 502163894
Nov 26 11:56:00 502165846
Nov 26 11:57:00 502167471

Looking into mod_status.c, the access counter of each worker in the scoreboard is summarized (ws_record = ap_get_scoreboard_worker(i, j); [...] lres = ws_record->access_count; [...] count += lres;).

Regards,
Bernie



Reply via email to