Re: [squid-users] "squid -k rotate" doesn't startup the configured amount of helpers

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 25 Jul 2013 17:42:46 +1200

On 25/07/2013 5:29 p.m., Tom Tom wrote:
> Hi
>
> Squid 3.3.8, 64Bit Linux:
>
> I have the following helper configured:
> ...
> external_acl_type SQUID_KERB_LDAP ttl=7200 children-max=50
> children-startup=20 children-idle=5 negative_ttl=7200 %LOGIN
> /usr/local/squid/libexec/ext_kerberos_ldap_group_acl -g "XXX"
> ...
>
> When I startup squid from scratch, then I got 20 (children-startup)
> helper processes (as expected). When I rotate squid logs (squid -k
> rotate) afterwards, then it startups just 5 helpers (independent of
> any value in the external_acl_type-directive).
>
>
> Look here:
> $ /etc/init.d/squid start
> squid 8992 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8993 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8994 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8995 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8996 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8997 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8998 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 8999 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9000 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9001 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9002 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9003 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9004 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9005 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9006 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9007 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9008 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9009 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9010 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9011 8981 0 07:17 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
>
>
>
> $ squid -k rotate
> squid 9767 8981 0 07:19 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9768 8981 0 07:19 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9769 8981 0 07:19 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9770 8981 0 07:19 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
> squid 9771 8981 0 07:19 ? 00:00:00
> (ext_kerberos_ldap_group_acl) -g XXX
>
>
> Probably a bug?

Yes. Thank you for bringing it up. Can you send these details to
bugzilla please so it does not get lost.

Amos
Received on Thu Jul 25 2013 - 05:42:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 25 2013 - 12:00:10 MDT