Re: [squid-users] Squid auth_param children not closing

From: Cassiano Martin <cassiano_at_polaco.pro.br>
Date: Mon, 23 Jun 2014 21:38:12 -0300

Your script is not shutting down when squid closes stdin/stdout. So
squid will start a new copy every time.

2014-06-23 19:56 GMT-03:00 Romeo Mihalcea <romeo.mihalcea_at_gmail.com>:
> I have this authentication script on my setup:
>
> auth_param basic program /usr/bin/python /etc/auth.py
> auth_param basic children 5 startup=5 idle=1
> auth_param basic realm Please login
> auth_param basic credentialsttl 1 hours
>
> Quite frequently I check with a cron for changes in my user's data
> (passwords etc) and I issue a squid3 -k reconfigure whenever I detect
> a change. The problem is that each time I issue this command squid
> spanws 5 new authentication listeners (/usr/bin/python /etc/auth.py)
> and it quickly adds up to thousands given the amount of activity we
> have on our servers.
>
> Any ideas on how I can do this better?
Received on Tue Jun 24 2014 - 00:38:23 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 24 2014 - 12:00:10 MDT