EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: scp on Tuesday 05 June 2012, 07:10:51 am



Title: internet gets extremely slow after 5 days - proxy caching?
Post by: scp on Tuesday 05 June 2012, 07:10:51 am
I'm experiencing an interesting problem using Endian 2.5.1 proxy [squid]. The complete internet connection gets extremly slow after about 5 days. I've tried different proxy cache settings to circumvent this problem [e.g. HDD: 1000MB, RAM: 500MB, Minimum Size: 0MB, Maximum Size: 1024KB or HDD: 10000MB, RAM: 1000MB, Minimum Size: 0MB, Maximum Size: 1024KB] but after some time, internet speed slows down. 

My system: DELL PowerEdge R210 2 server with an Intel Xeon E3-1270, 8GB DDR3 RAM and two 500GB HDD in RAID1

I've now tried to run a cron job every day:

#!/bin/sh
restartsquid.py -f -F -d
exit 0

This seems to restart and flush the proxy cache.
My GUI proxy settings are set to these options: HDD: 10000MB, RAM: 1000MB, Minimum Size: 0MB, Maximum Size: 1024KB

Has anyone of you got an idea how to easily fix this problem. Isn't there an automatic flush, when the there is a cache overload or something like that?


Title: Re: internet gets extremely slow after 5 days - proxy caching?
Post by: kozmik on Tuesday 03 July 2012, 04:52:19 pm
I have a same problem on Endian 2.4.1 proxy. My current caching settings  HDD : 2048MB, RAM : 64 MB, Min. Obj. Size : 0KB, Max. Obj. Size : 1024KB..  When the total memory usage(Used+buffered+cached) coming around %90 the internet speed extremely slow down!  ??? I had to restart the server every morning because of this issue  :'(

My system is an HP PC with 4GB RAM and 120GB HDD..



Title: Re: internet gets extremely slow after 5 days - proxy caching?
Post by: kashifmax on Tuesday 03 July 2012, 07:36:05 pm
If your configuration are optimized than is no issue. Try of the following.
1) Disable IPS if running
2) Add direct DNS IP's in /etc/resolv.conf


Title: Re: internet gets extremely slow after 5 days - proxy caching?
Post by: scp on Sunday 29 July 2012, 08:07:10 am
Thanks for your answer! My IPS system is disabled! In which format should I add the DNS IPs?