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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-09-2006, 09:08 AM
|
#1
|
Member
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185
Rep:
|
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?
|
|
|
05-09-2006, 09:45 AM
|
#2
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
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!
|
|
|
All times are GMT -5. The time now is 04:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|