LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-08-2005, 04:34 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
squid slow response


I have installed squid on my server the thing i've came across is the slow response of squid once if I open a site it takes time to resolve and established the connection and after that it works fine but why it take so much time when a site is opened.

however i've installed name server on the system for dns caching.
 
Old 11-08-2005, 05:10 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
What does your /usr/local/squid/var/log/access show whilst the site is being requested? Is the object correctly cached? And what kind of delay are we talking about here? The faster your disks are, preferably SCSI drives in a RAID array, the more Squid likes it.
 
Old 11-08-2005, 05:31 AM   #3
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
no i am talking about the initial delay while establishing the connection once the connection of my browser is established then the response is quite fast
 
Old 11-08-2005, 06:53 AM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Right, okay, but still - what kind of delay are we talking about here? 1 second, 10 seconds, 2 minutes?
 
Old 11-08-2005, 10:58 AM   #5
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
its approximately 4 to 8 seconds and sometimes even more
 
Old 11-08-2005, 10:13 PM   #6
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
for how long have u been using squid?
 
Old 11-09-2005, 11:31 AM   #7
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
its been more than a month.
 
Old 11-10-2005, 10:41 PM   #8
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
how many users accessing te squid server?
what version of squid are u using?
Is there any antivirus used with squid?
 
Old 11-12-2005, 07:40 AM   #9
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
7 users
2.5.stable9
No Antivirus
 
Old 11-18-2005, 11:10 PM   #10
zamri
Member
 
Registered: May 2004
Location: Malaysia
Distribution: Mandrake,Slackware,RedHat
Posts: 157

Rep: Reputation: 30
i have no problem for my setup. been using it for about a year. u need to check ur squid and iptables rules. but then i am no squid or iptables guru. don;t know how to point u to the exact point of problem.
 
Old 10-16-2006, 11:56 PM   #11
strasm
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
the fix

I have recently had this problem as well. I am sure that you have figured out what was wrong by now, but it seems like there are a lot of people looking for the answer but not finding it. There is a delay sometimes 10 seconds, once a page loads, other pages from that site load quicky. This is a DNS problem. In your squid.conf modify this line:

dns_nameservers xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy

Once this line points to your DNS servers your problem should be resolved.
 
  


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
Slow SSH response fr0zen Linux - General 7 11-19-2011 12:50 PM
[SOLVED] Q3: Slow network response mattz40 Debian 9 04-05-2005 09:07 AM
Slow konsole response taarnak Linux - General 2 12-16-2003 05:43 PM
Slow response as ..... umok Linux - Newbie 4 07-11-2003 12:54 PM
Slow response on Mandrake 8.0 Droopy Linux - Networking 0 09-07-2001 09:16 PM


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