LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 07-12-2007, 12:11 PM   #1
dablew
Member
 
Registered: Oct 2006
Distribution: CentOS | Fedora | Mint | Ubuntu
Posts: 43

Rep: Reputation: 15
squid cache


Hi all,
Av gone through many of the posts here relating to squid and I don't seem to get the solution I want well.

The server (Fedora Core 6)am running squid on is also my DNS server so I don't expect high delays when any of the clients are querying for dns.
Client computers on this setup are either going through the proxy server directly, transparently, while others are directed through the web browsers.

The squid version am running is:squid-2.6.STABLE6

Here is an extract of the Config.s:
####

http_port 3128 transparent

acl LAN_A src 192.168.20.0/24
http_access allow LAN_A
acl LAN_B src 192.168.30.0/24
http_access allow LAN_B

visible_hostname "MYHOSTNAME"
cache_dir ufs /var/spool/squid 2000 16 256

Having squid as my cache server with a 2gig cache, I expect to get pages av already visited through my LAN instantly the next time I visit without much delay.(Something close to that exhibited by web-browsers when they are caching pages) but the delays last for longer period than I expect.
How best should I configure squid to have robust response speed during requests or then;
Is there any other caching server/software that can meet my desired situation perfectly?


Please advice.
 
Old 07-12-2007, 01:11 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
You are using transparent proxy. Do you also have the correct iptables settings for this. You need to narrow down where your problem is coming from.
 
Old 07-13-2007, 11:45 AM   #3
dablew
Member
 
Registered: Oct 2006
Distribution: CentOS | Fedora | Mint | Ubuntu
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
You are using transparent proxy. Do you also have the correct iptables settings for this. You need to narrow down where your problem is coming from
Ram
All the redirection to squid in iptables for all the LAN using squid transparently is ok.And the clients go thro' squid successfully - the squid access log confirms this perfectly.
The issue I have is - Is there any way to configure squid to have a high response time?
 
  


Reply

Tags
cache, squid


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 cache JJX Linux - Server 2 07-01-2007 10:12 AM
squid cache pankajkarde Linux - Server 1 04-20-2007 04:47 PM
squid cache problem jyotix175 Linux - Software 1 02-24-2007 05:59 AM
how-to disable cache squid paul_mat Linux - Networking 2 12-21-2005 11:32 PM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 06:50 AM


All times are GMT -5. The time now is 09:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration