LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-03-2004, 06:43 AM   #1
namdn
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Rep: Reputation: 0
Proxy with Squid


Hi all member,

When I config squid to make my linux server works as Proxy server.
All workstation can connect to internet through my proxy server. But it is
too slow, the customers have to wait about more than 10 minutes to be displaye a completed website. It is not accepted.

I would like to change the cache and to accelerate the internet with the squid.conf file (I use webmin tool to config), but I have no experience with squid.conf file.
Please guide me to solve this problem, send to me at: namdn@fpt.com.vn

Best Regards.
 
Old 08-03-2004, 07:08 AM   #2
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
More information

what kind of hardware does the machine have and what else is running on it how many customers?
 
Old 08-03-2004, 07:23 AM   #3
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
search the /etc/squid/squid.conf
for cache_mem
the number that appears next to it -is the amount of memory.

locate the line # cache_mem 8
remove the comment mark from it, then change 8 with let's say 64 and restart the squid service.

Read this for optimizing ur squid..
http://squid.visolve.com/squid/index.htm

I use DiskD for better performance
http://www.squid-cache.org/Doc/FAQ/FAQ-22.html
 
Old 08-03-2004, 07:58 AM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
DNS could be an issue

I was having the same issue and found that my DNS settings were not correct. Might want to give it a look.

Cheers,

MrKnisely
 
Old 08-03-2004, 10:07 AM   #5
BrianWGray
Member
 
Registered: Oct 2003
Posts: 54

Rep: Reputation: 15
"Extremely" long waits should not be experienced only because of low amounts of cache. there is probably another problem also such as charon79m's DNS suggestion. In fact that is probably the first thing you should look at. more cache won't hurt, but I doubt it is the fix.
 
Old 08-03-2004, 03:09 PM   #6
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
You are having DNS problems. Believe us, we've all been there
 
Old 08-06-2004, 09:45 AM   #7
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
To expand on what was said earlier, Squid has its own DNS settings. You can set it the connection manually or have it check what is in /etc/resolv.conf for DNS instructions. In my case, it was set manually to point to the IP of my default gateway (not a DNS server) for name resolution. Once I pointed it to a correct DNS server things flew.
 
  


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 proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM
Squid Proxy joseph Linux - Software 2 09-26-2003 11:00 PM
Please Help Squid Proxy ravirajan Linux - Networking 5 07-23-2003 05:39 AM

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

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