Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 16 November 2024, 11:27:58 pm

Login with username, password and session length

Download the latest community FREE version  HERE
14258 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  internet gets extremely slow after 5 days - proxy caching?
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: internet gets extremely slow after 5 days - proxy caching?  (Read 16931 times)
scp
Full Member
***
Offline Offline

Posts: 16


« 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?
Logged
kozmik
Jr. Member
*
Offline Offline

Posts: 1


« Reply #1 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!  Huh I had to restart the server every morning because of this issue  Cry

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

Logged
kashifmax
Sr. Member
****
Offline Offline

Gender: Female
Posts: 108


« Reply #2 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
Logged
scp
Full Member
***
Offline Offline

Posts: 16


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

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