LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-09-2004, 04:29 PM   #1
TechnoBod
LQ Newbie
 
Registered: Jan 2003
Distribution: Fedora 14, Centos 6
Posts: 26

Rep: Reputation: 15
Unhappy Slow Squid after upgrade


Hello All,

Sorry to post another message about squid but I can't find a solution to my problem so far. Here goes:



I built a Squid caching-proxy server for the school that I work at. The hardware was PIII-800, 256MB ram, 20 GB hard drive . The OS was Redhat 8 webdownload version. The box ran lightening fast for over a year until it recently crashed big time and I had to rebuld it.

When I decided to rebuild, I couldn't find my RH8 disks, so decided to use my Redhat9 webdownload version.

The box is rebuilt any the internet is being served, but it is like syrup. Nothing is loading very quick at all and people are starting to complain ...

Below is my Squid.conf from the original machine:

http_port 8080
cache_peer 10.230.1.253 parent 8080 0 no-query default
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 40 MB
cache_dir ufs /var/spool/squid 6000 16 256
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
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
acl CONNECT method CONNECT
authenticate_program /usr/local/bin/smb_auth -W RMNETNT
acl domainusers proxy_auth REQUIRED
http_access allow domainusers
http_access allow all
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
icp_access allow all




Below is my new squid.conf:

http_port 8080
cache_peer 10.230.1.253 parent 8080 0 no-query default
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 40 MB
cache_dir ufs /var/spool/squid 6000 16 256
auth_param basic children 5
auth_param basic realm Thomas Lord Audley Caching-Proxy Server
auth_param basic credentialsttl 2 hours
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
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
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny to_localhost
acl our_networks src 192.168.1.0/24 127.0.0.1
http_access allow our_networks
http_access allow localhost
http_access deny all
http_access allow all !all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid




Can anyone tell me if I've made a big mistake somewhere or offer advice as to why there should be such poor performance in the newer setup ??

any help would be greatfully recieved..
 
  


Reply



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-16-2006 11:56 PM
Internet Connection through SQUID very slow mrpc_cambodia Linux - Networking 7 02-25-2005 12:36 AM
Slow Squid or ISP? Roach Linux - Networking 6 09-22-2004 02:11 PM
squid stable 5 on redhat 9..very slow t8024328 Linux - Software 1 02-21-2004 08:23 AM
slow internet access using squid gigi Linux - Networking 4 01-20-2004 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:34 PM.

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