LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-25-2010, 02:48 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
proxy behaving slowly


I have had squid installed a while and tonight it is behaving very sluggishly.
ANy ideas what I can do to check the problem?
It doesn;t seem it is memory.
Could be bandwidth related but I am getting could not connect errors from squid and then occasionally it connects but if it was bandwidth it would just be slowloading.
httpd works fine, so does openvpn, and ssh, so must be a squid issue.

There is no syn or ddos and I have about 120 connections.

I have each use limited to 1Mb so really doubt a bandwidth issue...
[root ]# netstat -nat | grep :80 | grep ESTABLISHED| wc -l
84
[root ]# netstat -nat | grep :8080 | grep ESTABLISHED| wc -l
57

CPU load averages 0.05 (1 min) 0.03 (5 mins) 0.00 (15 mins)
Real memory 928.13 MB total, 254.31 MB used

Virtual memory 509.84 MB total, 7.41 MB used

Local disk space 232.06 GB total, 14.23 GB used

Last edited by qwertyjjj; 12-25-2010 at 03:03 PM.
 
Old 12-27-2010, 10:40 AM   #2
ComputerErik
Member
 
Registered: Apr 2005
Location: NYC
Distribution: Debian, RHEL
Posts: 269

Rep: Reputation: 54
What are the rules in the squid conf file? I had a similar problem a while back and it was related to poorly written rules causing excessive CPU usage on the server.
 
Old 12-27-2010, 11:13 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ComputerErik View Post
What are the rules in the squid conf file? I had a similar problem a while back and it was related to poorly written rules causing excessive CPU usage on the server.
It's possible but it only started up after about 2 months uptime so it's unlikely that the rules might have caused a bottleneck somewhere.
It does seem like conincidence that a server reboot fixed it though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
windows move slowly (repaint/redraw) and firefox scrolls slowly with ATI driver netrek Debian 3 11-20-2009 01:18 PM
one website via proxy extremly slowly cccc Linux - Networking 1 11-04-2008 10:53 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Stuck behind Proxy from Hell... Going slowly mad. Exasperated Linux - Networking 0 02-24-2005 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration