[squid-users] squid client or cache manager under Multi instance squid /SMP

Amos Jeffries squid3 at treenet.co.nz
Fri Mar 30 07:36:03 UTC 2018


On 29/03/18 01:53, --Ahmad-- wrote:
> Hello Guys ,
> 
> i have no idea who to use squid client or cache manager when i have multiple instances of squid running .
> 
> say i have 2 instances 
> 
> squid -n 1 -f 1.conf
> squid -n 2 -f 2.conf
> 
> 
> all what i need is to see the request rate hitting each instance above .
> how can i use the cache manager ?

Send the manager requests to a port on the instance you are trying to
get a report from.

If you are using cachemgr.cgi configure it as if each instance was a
different server with separate IP:port's.


> 
> is there an option for squid client app ?
> 

You means "squidclient" ? or any client?


> 
> more Q
> if i have both ( multi instance with SMP say 4 workers )
> 
> how can i see the request rate on the total instance and request rate on the kids of this instance   ?
> 

SMP Squid are supposed to support "kid=N" query parameters on their
manager URLs that get just that worker (kid) data. But I'm not sure that
works properly.

Amos


More information about the squid-users mailing list