LinuxQuestions.org
Help answer threads with 0 replies.
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 01-15-2004, 06:28 PM   #1
gigi
Member
 
Registered: Nov 2003
Posts: 30

Rep: Reputation: 15
slow internet access using squid


hello,

im using squid (redhat v7.3) as my proxy server and accessing the internet using squid is very slow and it even goes to timeout connection accesing the internet. im using port 8080.

Hardware Specs:
Intel Dual Processor PIII
512MB Memory
2 x 17GB SCSI Harddisk
2 lancard (for public and internal ip)

Harddisk partition:
1st Disk
/swap - 1024mb
/boot - 1500mb
/ - 15000mb
2nd Disk
/home - 8700mb
/var - 8800mb



Is there any wrong with my configuration? Please help me.
Thanks.
 
Old 01-16-2004, 12:05 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
well i cannot tell u what is wrong, but in general if squid is running slow this generally means something is timing out. Squid has lots of neat things u can do, but if something is not configured correctly is may fail and it may do this on every lookup adding upto 10sec to each request. This may be the dns setting finger etc.

use a default squid.conf file and see if u still experience this problem.
You may also be able to trace down the problem is the log files, and u can change the log level of squid to be more verbose which may help.
 
Old 01-16-2004, 12:28 AM   #3
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
not that this will help. But what is the go with your partitions.
They are setup really bad.
first is this server only a squid server, as squid generally only uses one processor.

1 /boot is usually always less then 10mb on any system. so i would give it no more then 30mb(incase u compile a few kernels).
2 swap space it not very necessary on a squid server(but heaps of ram is) so mabe 200-500mb
3 make 2 separate cache dir on a journaled filesystem one on each hdd(~10gig each)
4 make a partition for /var/log, umm size depends on usage 200mb-2gb. do a
du -h --max-depth=1 to see how big /var/log is.


give the rest to root/ and usr.

if there are no users on the system don't make a home partition or a var one.

Also faster cpu is better then 2 or more cpu's.
and ram ram ram fill it with as much as u can. u need atleast 256mb but i would try and get 512. more ram= less disk usage.
 
Old 01-18-2004, 08:21 PM   #4
gigi
Member
 
Registered: Nov 2003
Posts: 30

Original Poster
Rep: Reputation: 15
could you please teach me how to partition my harddisk properly. how can i create a /cache partition?

thanks
 
Old 01-20-2004, 12:59 AM   #5
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
ummmm put it simply reinstall
 
  


Reply


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
Internet Connection through SQUID very slow mrpc_cambodia Linux - Networking 7 02-25-2005 12:36 AM
config squid so some IP can access internet, and others just the server? 4mix Linux - Networking 5 07-20-2004 05:08 PM
slow internet access. too slow!!! iamstinke Linux - Networking 2 01-01-2004 09:46 PM
Secure Proxy Configuration(squid) for a LAN to access Internet pune_abhishek Linux - Networking 5 11-30-2003 01:33 PM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 01:40 PM


All times are GMT -5. The time now is 09:46 PM.

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