Share your knowledge at the LQ Wiki.
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 02-21-2003, 08:49 AM   #1
Registered: Nov 2002
Distribution: Debian testing.
Posts: 143

Rep: Reputation: 15
Optimising squid


If anyone has squid set up for optimal performance, could they please post me their squid.conf file? I am trying to make it so that squid doesn't slow down when someone downloads, on my 600k cable connection.

There are a lot of options in squid.conf, just wanted to compare with someone else who has squid running nicely

Old 02-21-2003, 11:16 AM   #2
Senior Member
Registered: Feb 2003
Location: The Real Washington
Distribution: Debian, Android
Posts: 1,819

Rep: Reputation: 46
I am away from my squid servers at the moment. You should post your squid.conf and we'll have a look. There are a few techniques that can speed up squid a bit. Are you experiencing a severe slow down?
Old 02-22-2003, 12:06 AM   #3
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
Sounds like you need delay pools... Here are some of the more pertinent lines from my squid.conf:

acl all src
acl Employees src
acl Multimedia urlpath_regex "/etc/squid/multimedia"
acl local dst

always_direct allow local
delay_pools 3
delay_class 1 1
delay_access 1 allow Multimedia
delay_parameters 1 7500/4000
delay_class 2 1
delay_access 2 allow Employees
delay_parameters 2 150000/50000
delay_class 3 1
delay_access 3 allow all
delay_parameters 3 20000/10000

the /etc/squid/multimedia file contains:

.... and many more ...

So I'm breaking the delay pools down such that downloading an .mp3 file goes very slow and all others go a bit faster. For instance... Be creative... Good luck!


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 for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 09:33 AM
Optimising FC4 x86 johannlo Fedora 2 07-06-2005 05:29 PM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 04:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 08:36 PM

All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration