Hi Henrik,

At 01.13 20/02/2006, Henrik Nordstrom wrote:

On Fri, 17 Feb 2006, Guido Serassio wrote:

Looking for bug #1506, I have found some oddity in the helper statistics in both Squid 2.5 and 3.0:
http://www.squid-cache.org/bugs/show_bug.cgi?id=1506

What should be the meaning of the time column ?

Good question..

the intentions of the column is primary to show how long a blocking request has been running, and second to show how long since the helper was last used. With this definition it should show

   now - time_when_last_request_was_sent

for unused helpers this equation does not work out that well.. so there we should show "unused", "none" or simething similar..

OK, now is clear. So in 2.5 the statistics for standard helpers are incorrect.


Now, another question is if this makes sense.. can produce somewhat confusing numbers as it's effectively overloading two semantically different values in the same column, and even more so on stateful helpers due to them being reserved waiting for the client..

And there is another problem: the range of the values can be very large, starting from milliseconds to minutes: very confusing.

I have a proposal:

- In the time column to place always the time (in seconds) from the last usage, if any - In the flags column, for the 'B' flag, use a 'B:time' syntax for the blocking time (in milliseconds)

This should be less confusing.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to