Re: [squid-users] Number of clients accessing cache

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Fri, 08 Nov 2013 09:09:49 -0700

On 11/08/2013 08:36 AM, Alfredo Rezinovsky wrote:
> With squidclient mgr:info I get a "Number of clients accessing cache:"
>
> This number is always bigger than the different IP addresses in my
> access log. I know I can have

If you are using multiple workers, please see
http://wiki.squid-cache.org/Features/CacheManager#SMP_considerations

If you are not using multiple workers, the corresponding table entry at
the above URL may still contain useful information for you.

> Squid is using the user agent, the X-Forwarded-For or something else to
> distinguish one client with another?

If I interpret the code correctly, Squid is using the source IP address
of the client connection rather than the XFF header value. Please note
that ICP clients may also be counted.

HTH,

Alex.
Received on Fri Nov 08 2013 - 16:10:08 MST

This archive was generated by hypermail 2.2.0 : Sat Nov 09 2013 - 12:00:05 MST