Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-26-2013, 12:38 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 3

Rep: Reputation: Disabled
how to optimize performance of squid by cache size and refresh pattern

plz post brief about
1) how can we check squid size,
2) how can we update/modify cache size(basic logic behind the cache size of squid while considering PC hardware)
3) other ways to optimize the performance of squidproxy
4) refresh pattern is helpful to speed up the squidproxy ??

Thnks in advanced ..!
Old 03-01-2013, 10:50 PM   #2
Registered: Sep 2011
Posts: 163

Rep: Reputation: Disabled
Originally Posted by ashpos View Post
1) how can we check squid size,
The size of the cache stored on disk? I suppose "du -sh" could do it but that would be a bit expensive. If the cache is on a separate mount point a simple df command will do the trick.

2) how can we update/modify cache size(basic logic behind the cache size of squid while considering PC hardware)
The maximum size of the disk cache is set in squid.conf by the cache_dir directive. You can change it with an editor and issue "squid -k reconfigure" while squid is running.


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
how to optimize samba performance? silent2k Linux - Server 2 01-09-2011 01:08 AM
how to optimize my computer performance? alekhidell Linux - Newbie 3 12-02-2009 09:21 AM
Squid cache size not increasing navinchotia Linux - Networking 1 06-03-2009 09:49 AM
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
optimize performance , Suse 3.9 Tarekaz SUSE / openSUSE 28 12-15-2005 02:19 PM

All times are GMT -5. The time now is 12:05 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration