Re: [squid-users] is it bad to constantly reload squid.conf

From: John Doe <jdmls_at_yahoo.com>
Date: Wed, 25 Nov 2009 05:50:13 -0800 (PST)

From: squid <squid_at_manning.nottingham.sch.uk>
> My question is, would it be 'bad' to reload squid.conf, up to 100 times within a
> very short space of time? If so, is there a 'better' way of getting Squid to
> acknowledge changes made to an ACL?
> I work in a school and have created an ACL which reads in pupils network ids
> from an external text file this then allows them to access the web. The contents
> of this file are dynamic and pupils ids are added via a php script after they
> agree to abide by the schools internet policy.
> Currently, every time a new user is added to the list the squid configuration
> file is reloaded. It is possible that this may happen many times (up to 100)
> within a few seconds.
> I'm a bit of a newbie to all of this so apologies if i'm going over old ground..

What about using an external_acl helper program that would query a local memcache server?
So, instead of adding/removing the users to a file, you add/remove them to memcache.
No constant reloading necessary...

JD

      
Received on Wed Nov 25 2009 - 13:50:21 MST

This archive was generated by hypermail 2.2.0 : Wed Nov 25 2009 - 12:00:06 MST