Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 17 December 2024, 12:57:49 am

Login with username, password and session length

Visit the Official Endian Bug tracker  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Slow browsing issues with Endian Firewall - A (temp) Solution
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Slow browsing issues with Endian Firewall - A (temp) Solution  (Read 14556 times)
fqureshi
Sr. Member
****
Offline Offline

Posts: 126


« 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.

Logged
g.vecchi
Full Member
***
Offline Offline

Posts: 21


« Reply #1 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
Logged
eaksystem
Jr. Member
*
Offline Offline

Posts: 1


« Reply #2 on: Wednesday 22 January 2014, 12:03:40 am »

var/efw/havp/settings does not exist
Logged
endyrx
Jr. Member
*
Offline Offline

Posts: 4


« Reply #3 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.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 21 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com