[squid-users] squid - kid registration timed out

carlos carlosd2002 at hotmail.com
Mon Dec 4 19:04:12 UTC 2017


>From your post and like i have 3.5.20 i should fine with this version.

Like i have worker > 1 its an SMP setup , correct?

Probably i should be missing the -n, that config is the config file of the
first instance, the other instance is more or less the same, but:
 pid_filename (/var/run/squid.pid vs /var/run/squid81.pid)
 http_port (80 vs 81)
 visible_hostname (squid_80_${process_number} vs squid_81_${process_number})
 access_log (/var/log/squid-80/access80_${process_number} vs
/var/log/squid-81/access81_${process_number} )
 cache_log (/var/log/squid-80/cachelog80_${process_number} vs
/var/log/squid-81/cachelog81_${process_number})

In RHEL i start squid with systemctl start squid.service and  systemctl
start squid81.service.
This is multi-instance, correct?
i think i followed https://wiki.squid-cache.org/MultipleInstances.

Can you confirm that in squid config is OK? You pointed to me "-n" i don't
have it anywere...

In /usr/lib/systemd/system/squid.service (i have another squid81.service) i
have:
...
 EnvironmentFile=/etc/sysconfig/squid
 ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF
...

the EnvironmentFile:
# default squid options
SQUID_OPTS=""
...
# default squid conf file
SQUID_CONF="/etc/squid/squid.conf"


If understood what you said i must put in SQUID_OPTS "-n squid" and "-n
squid81" in the other instance startup script.

Did i understand correctly?

Thanks,
Carlos






--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list