Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Amos Jeffries
On 10/02/21 9:59 am, Alex Rousskov wrote: On 2/9/21 11:35 AM, Chris wrote: This is what I'm seeing in peer_select in cache_log with 44,3 debug options: Add (at least) "15,3" to your debug_options and then look for getWeightedRoundRobinParent lines. Looking at mgr:server_list Cache Manager

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Alex Rousskov
On 2/9/21 11:35 AM, Chris wrote: > This is what I'm seeing in peer_select in cache_log with 44,3 debug > options: Add (at least) "15,3" to your debug_options and then look for getWeightedRoundRobinParent lines. Looking at mgr:server_list Cache Manager page may also be useful. > Does the

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Eliezer Croitoru
-users] Originserver load balancing and health checks in Squid reverse proxy mode This is what I'm seeing in peer_select in cache_log with 44,3 debug options: 2021/02/09 16:25:11.588 kid1| 44,2| peer_select.cc(258) peerSelectDnsPaths: Find IP destination for: '[the_request]' via

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Chris
This is what I'm seeing in peer_select in cache_log with 44,3 debug options: 2021/02/09 16:25:11.588 kid1| 44,2| peer_select.cc(258) peerSelectDnsPaths: Find IP destination for: '[the_request]' via [ip_cache_peer_srv1] 2021/02/09 16:25:11.588 kid1| 44,2| peer_select.cc(280)

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Chris
Hi Elizer, this helped, it seems as if I got the pinger working. It's now owned by root in the same group as the squid user and the setuid set. So I used chown root:squidusergroup and chmod u+s on the pinger (and in ubuntu it is actually found under /usr/lib/squid/pinger ). Now with debug

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread NgTech LTD
Maybe its apparmor. pinger needs to have a setuid permission as root. its a pinger and needs root privleges as far as i remember. Eliezer On Tue, Feb 9, 2021, 17:03 Chris wrote: > Hi, > > thank you Amos, this is bringing me into the right direction. > > Now I know what I'll have to debug: the

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Chris
Oh, that lib won't help, sorry, forget about my pinger_program path So do I have to recompile squid myself and than install the pinger as described here: https://wiki.squid-cache.org/SquidFaq/OperatingSquid#Using_ICMP_to_Measure_the_Network ? On 09.02.21 16:03, Chris wrote: Hi, thank you

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-09 Thread Chris
Hi, thank you Amos, this is bringing me into the right direction. Now I know what I'll have to debug: the pinger. Cache.log shows: 2021/02/09 14:49:27| pinger: Initialising ICMP pinger ... 2021/02/09 14:49:27| pinger: ICMP socket opened. 2021/02/09 14:49:27| pinger: ICMPv6 socket opened

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-08 Thread Amos Jeffries
On 9/02/21 3:40 am, Chris wrote: Hi all, I'm trying to figure out the best way to use squid (version 3.5.27) in reverse proxy mode in regard to originserver health checks and load balancing. So far I had been using the round-robin originserver cache peer selection algorithm while using

Re: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-08 Thread Eliezer Croitoru
4261 Email: ngtech1...@gmail.com Zoom: Coming soon -Original Message- From: squid-users On Behalf Of Chris Sent: Monday, February 8, 2021 4:41 PM To: squid-users@lists.squid-cache.org Subject: [squid-users] Originserver load balancing and health checks in Squid reverse proxy mode Hi all,

[squid-users] Originserver load balancing and health checks in Squid reverse proxy mode

2021-02-08 Thread Chris
Hi all, I'm trying to figure out the best way to use squid (version 3.5.27) in reverse proxy mode in regard to originserver health checks and load balancing. So far I had been using the round-robin originserver cache peer selection algorithm while using weight to favor originservers with