Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-08-2004, 10:07 AM   #1
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
using squid to speed up internet surfing on my box


I would like web pages to load faster when I surf the internet on my local machine using squid 2.5 Stable 1.

but First of all, is it possible that squid can accelerate web surfing on my local box (i.e my local machine will be both a client and server?)

Secondly, I installed squid from the Red Hat 9 CDs with me. Now when I give the command

service squid start

I get the following error

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 163: 2338 Aborted $SQUID -z -F -D 2>/dev/null
Starting squid: /etc/init.d/squid: line 163: 2339 Aborted $SQUID $SQUID_OPTS 2>/dev/null

Whats wrong with squid here? Any suggestion on how to make squid work for me ???


Old 09-08-2004, 10:14 AM   #2
LQ Newbie
Registered: Dec 2002
Location: Wolves, Uk
Distribution: SuSE 9.1 Professional, Morphix
Posts: 12

Rep: Reputation: 0
it will speed up some things, as it caches (downloads) the sites you visit, so for sites you go on frequently your viewing locally sometimes, and as for the error.. i have no idea.. i'd ask to see your squid.conf, but it's huge.. i'll look into it for you.

have you tried googling the error message?
Old 09-08-2004, 11:00 AM   #3
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 122

Rep: Reputation: 15
squid doesn;t recommend you let the local box use the squid service. This is to avoid loops I suppose. However, if you want to allow localhost to access the squid proxy service then you can. But make sure your config allows it, because it is not enabled by default.
Old 09-08-2004, 11:51 AM   #4
LQ Newbie
Registered: Dec 2003
Location: Germany
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
I think you have to start squid the first time with the parameter -z to create the cache.


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
Troubleshooting Slow Transfer Speed Between Linux Box and Windows Box timswim78 Linux - General 1 10-23-2005 12:45 PM
Surfing The Internet carlgulliver100 Linux - Networking 0 02-11-2004 04:14 PM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 02:40 PM
Effect of HD, etc. on surfing speed + video note slakmagik Linux - Hardware 3 05-05-2003 12:38 AM
One linux box and nic card, two high-speed internet connections ajnunes Linux - Networking 3 10-24-2002 05:34 PM > Forums > Linux Forums > Linux - Networking

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

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