Search squid archive

Re: is it bad to constantly reload squid.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: squid <squid@xxxxxxxxxxxxxxxxxxxxxxxxx>
> 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


      

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux