Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-09-2006, 10:08 AM   #1
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, 10:45 AM   #2
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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!


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

All times are GMT -5. The time now is 10:04 PM.

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