LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2006, 09:08 AM   #1
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Rep: Reputation: 30
Slow machine, squid?


Helo forum, i have a machine that i use only for squid. but before installing squid it was a lot faster, now it is very very slow, at the begining it was normal but after a few days it became like this. I think it can be the log or something like that, how can i clean it and keep it clean?
 
Old 05-09-2006, 09:45 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
I don't use Squid personally (not yet, anyways). But I seem to remember reading that it will use lots of memory for its cache.

Look at your memory using the vmstat command. Something like vmstat -a 5 5. Always ignore the first line of output (that's a fairly meaningless cumulative thing). Look at your free memory, your virtual memory in use (the swpd column) and your swap ins/outs (the si and so columns). You can also run vmstat -s and look at the cumulative totals for "pages swapped in" and "pages swapped out".

What you're describing sounds like a memory bottleneck to me.

If my guess on memory utilization is correct, you can attempt to fix this by either (1) buying more memory, or (2) configuring Squid to use less of it. I don't use Squid so I can't tell you how to configure this, but I'm sure it must be a configurable thing. I am just guessing on this memory thing - please don't shoot me if I've guessed wrong!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
squid slow response ilnli Linux - Software 10 10-16-2006 11:56 PM
Slow internet thru squid kayodea Linux - Networking 2 04-26-2006 04:56 AM
Squid+2 Networks+2 Gateways+same Machine?! pin_bk Linux - Networking 6 09-03-2005 02:22 PM
Slow Squid after upgrade TechnoBod Linux - Networking 0 02-09-2004 04:29 PM
squid blocks the machine, how to fix it? mfeoli Linux - Newbie 3 01-09-2004 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 AM.

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