EFW Support

Support => General Support => Topic started by: fqureshi on Monday 27 August 2012, 12:19:22 pm



Title: Slow browsing issues with Endian Firewall - A (temp) Solution
Post by: fqureshi on Monday 27 August 2012, 12:19:22 pm
Hi,

I am only posting to guide others if you are struggling with slow browsing speed. What I have noticed it happens when Squid is running. Becuase with squid HAVP and antivirus also inspect the traffic. Mainly slow browsing is caused by HAVP. There are some tweaks however to cater with this situation. You can do the following:

Edit:

nano /usr/lib/efw/dansguardian/default/settings

change the values as below:

MAXCHILDREN=500
MINCHILDREN=128
MINSPARECHILDREN=32
PREFORKCHILDREN=16
MAXSPARECHILDREN=256
MAXAGECHILDREN=10000


Remember to restart services of havp

Secondly, also modify the following:

Edit

nano /var/efw/havp/settings

and change 2 values as below

MAXSERVERS=150
SERVERNUMBER=50


Remember to restart services.

I have also noticed that though we make the above changes it works very well but some how you have to refresh your squid cache after some time say about 2 to three months when you feel slow browsing issues. This is what I am following.

To delete the cache of squid under Endian Firewall, do the following:

Make sure you stop the squid service before continuing. Either you can access GUI and under proxy, turn it of. Or you can do it from console by running the following command:

Quote
/etc/init.d/squid stop

Run the following command in console:

Quote
rm -fr /var/spool/squid/*
This command might take a while depending on the cache size.

The above command will delete the directory structure of Squid and also delete the SWAP.STATE for Squid.

Then run the following command to recreate the squid directory structure:

Quote
/usr/sbin/squid -z

The above command will recreate the directory structure for squid and now run the following command to start squid again.

Quote
/etc/init.d/squid start

Hope this helps.



Title: Re: Slow browsing issues with Endian Firewall - A (temp) Solution
Post by: g.vecchi on Wednesday 23 January 2013, 02:00:37 am
/var/efw/havp/settings does not exist, you need to edit:

Code:
/usr/lib/efw/havp/default/settings


Title: Re: Slow browsing issues with Endian Firewall - A (temp) Solution
Post by: eaksystem on Wednesday 22 January 2014, 12:03:40 am
var/efw/havp/settings does not exist


Title: Re: Slow browsing issues with Endian Firewall - A (temp) Solution
Post by: endyrx on Wednesday 29 January 2014, 06:56:41 pm
This is working solution. I done it on my firewall and work fine for 2 weeks. Behind firewall i have 120 pc's and around 150 users.