Help answer threads with 0 replies.
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 01-03-2003, 08:00 AM   #1
Registered: Dec 2002
Location: Pretoria South Africa
Distribution: Mandrake 8.1 & 9 Debian Woody
Posts: 41

Rep: Reputation: 15
make Squid swim faster ???

Please advise me on how i can make squid serve requests faster.

hardware -
celeron 733
192 Mb ram
40 gig hdd
2 x 100mbit ethernet cards

here is the squid.conf file as it stands ....

hutdown_lifetime 5 seconds


#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY

cache_effective_user squid
cache_effective_group squid

pid_filename /var/run/

cache_access_log /home/squid/logs/access.log
cache_log /home/squid/logs/cache.log
cache_store_log none
useragent_log /home/squid/logs/useragent.log

emulate_httpd_log on

log_mime_hdrs off
# forward requests to parent proxy on port 8080
cache_peer parent 8080 0 no-query default

acl all src
#can not by pass proxy for any request.
never_direct allow all

acl localhost src
acl localnet src
acl SSL_ports port 443 563

acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http

# banned sights
acl porn1 url_regex sex
acl porn2 url_regex xxx
acl porn3 url_regex porn
acl porn4 url_regex fuck
acl porn5 url_regex spank
acl porn6 url_regex sluts

# Limmit concurrent connection
acl 4CONN maxconn 3

deny_info ERR_PORN porn1
deny_info ERR_PORN porn2
deny_info ERR_PORN porn4
deny_info ERR_PORN porn5
deny_info ERR_PORN porn6


http_access deny porn1
http_access deny porn2
http_access deny porn3
http_access deny porn4
http_access deny porn5
http_access deny porn6

#http_access deny 4CONN localnet

http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access deny all

icp_access deny all

# cache directories
cache_dir ufs /home/squid/cache 4000 16 256
cache_dir ufs /home/squid/cache2 4000 16 256

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf

many thanks
Old 01-03-2003, 05:31 PM   #2
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
One thing would be to give it more ram, and a faster harddrive if that's the problem, how slow is it?
Old 01-06-2003, 02:44 AM   #3
Registered: Dec 2002
Location: Pretoria South Africa
Distribution: Mandrake 8.1 & 9 Debian Woody
Posts: 41

Original Poster
Rep: Reputation: 15
looks like it's related to our diginet line. there is a problem..


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 make booting faster? tuxuser19 Debian 7 10-15-2005 05:42 AM
SQUID proxy in multisession mode > Faster downloading Fr33B5D Linux - Software 0 08-28-2005 11:39 AM
Too slow any way to make it faster? Mr. New Linux - Newbie 12 12-29-2004 04:22 PM
how to make MPlayer faster ? PunkPT Linux - Software 1 07-30-2004 04:16 PM
See how the squid swim.. 80s Linux - Newbie 2 01-06-2003 07:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 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