Months ago I’ve installed squid and dansguardian without a problems and worked perfect,
but week ago when the users navigate with their browsers its slow.
I’ve changed some parameters in squid and dansguardian to solve the problem :
sudo vi /etc/squid/squid.conf
cache_dir ufs /var/spool/squid 2000 16 256
cache_mem 2000 MB
maximum_object_size 4096 KB
sudo vi /etc/ dansguardian/dansguardian.conf ( Default Settings )
maxchildren = 120
minchildren = 8
minsparechildren = 4
preforkchildren = 6
maxsparechildren = 32
maxagechildren = 500
Right now the browsing is fast as I have done some changes
in the config file :
maxchildren = 999
minchildren = 250
minsparechildren = 24
preforkchildren = 32
maxsparechildren = 64
maxagechildren = 10000
The following are the results I get after running
> # ps aux | grep dans
> 419 3049 0.0 11.3 127952 114912 ? Ss 16:44 0:00
> dansguardian-av -c /etc/dansguardian-av/dansguardian.conf
> 419 3050 0.0 11.3 127956 115024 ? S 16:44 0:00
> dansguardian-av -c /etc/dansguardian-av/dansguardian.conf
> 419 3051 0.0 11.3 132836 114964 ? S 16:44 0:00
Comments
(There are currently no comments for this post.)