LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2005, 08:24 PM   #1
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Unhappy Squid/DNS Intermittent Issue


squid 2.5.STABLE10 (localhost) on slackware 10.1...

i am getting an intermittent/sporadic squid DNS error when surfing the web (through squid)... it will happen with known good URLs and when it happens the "outage" only lasts less than a minute... the URL works fine if accessed directly without the proxy... the error message is usually the classic squid "name error... the cache was unable to resolve, blah blah blah"...

the squid access log shows that there's TCP_MISS/503 errors when the problem occurs... AFAIK everything looks as if it was an invalid URL during the outage - but once again, the URLs are known good and perfectly accessible using non-squid means at the exact same moment in which squid is giving the dns error...

as for troubleshooting, i've played with the conf file a lot, and recompiled squid several times, stripping it down a little more each time, tinkering with the configure options - the problem is not affected... BTW, i've compiled squid both with and without the internal dns function... here's the current simplified build options i am using to compile my (still problematic) squid:
Code:
CFLAGS="-O2 -march=i486 -mcpu=i686" \
./configure --prefix=/usr \
            --datadir=/usr/share/squid \
            --sysconfdir=/etc/squid \
            --localstatedir=/var/lib/squid \
            --enable-storeio=ufs,null \
            --enable-removal-policies=lru,heap \
            --disable-wccp \
            --enable-default-err-language=English \
            --enable-poll \
            --disable-ident-lookups
during the outages i can hit the refresh button in my browser repeatedly and each time squid will serve me the dns error instead of the URL... after several seconds a new refresh will successfully bring up the URL... during the outage i am able to access other URLs with squid (opened in other firefox tabs) successfully...

URLs are seemingly being randomly affected at different times, something which has made this quite the troubleshooting nightmare for me, as i am unable to intentionally recreate the situation (make a URL fail) on demand...

here's my squid.conf:
Code:
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl Safe_ports port 80

http_access allow localhost
http_access deny !Safe_ports
http_access deny all
http_reply_access allow all

http_port 127.0.0.1:3128
icp_port 0

cache_effective_user squid
cache_effective_group squid

cache_dir ufs /var/lib/squid/cache 1024 32 256
cache_replacement_policy heap LFUDA
maximum_object_size 128 MB
cache_mem 8 MB
maximum_object_size_in_memory 8 KB
memory_replacement_policy heap LFUDA
cache_mgr win32sux@myisp.net
#cache_log none
cache_store_log none
#cache_access_log none
visible_hostname ellen.myisp.net
pid_filename /var/run/squid.pid
my resolv.conf (obtained via DHCP) looks like this:
Code:
nameserver 203.70.120.4
nameserver 203.70.120.5
search cpe.myisp.net
any help would be greatly appreciated...



EDIT / UPDATE:

BTW, you can see the problem happens with wget also (when used through squid):
Code:
bash-3.00$ wget --proxy=on http://www.medialifemagazine.com/New...ws8friday.html
--22:05:04--  http://www.medialifemagazine.com/New...ws8friday.html
           => `news8friday.html'
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
22:05:04 ERROR 503: Service Unavailable.

bash-3.00$ wget --proxy=on http://www.medialifemagazine.com/New...ws8friday.html
--22:05:05--  http://www.medialifemagazine.com/New...ws8friday.html
           => `news8friday.html'
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 503 Service Unavailable
22:05:05 ERROR 503: Service Unavailable.

bash-3.00$ wget --proxy=on http://www.medialifemagazine.com/New...ws8friday.html
--22:05:11--  http://www.medialifemagazine.com/New...ws8friday.html
           => `news8friday.html'
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 20,007 [text/html]

100%[====================================>] 20,007        53.44K/s             

22:05:12 (53.43 KB/s) - `news8friday.html' saved [20007/20007]

Last edited by win32sux; 08-03-2005 at 04:06 PM.
 
Old 07-26-2005, 11:39 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Arrow argh!

still no luck... i downgraded to 2.5.STABLE9 and the problem occurs there also - which is weird cuz i don't remember ever experiencing this with STABLE9 when i used to use it before (on slackware 9.1 i think)...

one thing i've noticed is that it seems to happen to certain domains more often than others... for example, stripes.com seems to fail with about 5 to 10 times as much probablility as other domains... this is what it looks like when i go into stripes.com and it fails and i hit the refresh button many times until finally the error goes away and i'm taken to the site:

ACCESS.LOG:
Quote:
1122436542.010 5999 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436542.278 208 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436549.703 102 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436549.902 199 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436554.337 778 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436554.534 196 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436556.535 355 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436556.732 196 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436558.036 487 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436558.356 319 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436562.783 123 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436563.108 325 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436569.309 460 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436569.502 192 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436570.306 306 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436570.508 168 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436571.197 298 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436571.358 28 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436572.565 205 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436572.885 318 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436573.730 159 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436574.046 317 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436576.998 548 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436577.318 320 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436584.437 698 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436584.747 76 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436588.204 164 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436588.525 320 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436592.778 38 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436592.981 202 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436600.103 33 127.0.0.1 TCP_MISS/503 1489 GET http://www.stripes.com/ - NONE/- text/html
1122436600.250 146 127.0.0.1 TCP_MISS/503 1511 GET http://www.stripes.com/favicon.ico - NONE/- text/html
1122436604.147 286 127.0.0.1 TCP_MISS/200 876 GET http://www.stripes.com/index_files/hrefonblue.css - DIRECT/128.121.30.62 text/css
1122436604.411 263 127.0.0.1 TCP_MISS/200 546 GET http://www.stripes.com/index_files/hrefonwhite.css - DIRECT/128.121.30.62 text/css
1122436604.681 266 127.0.0.1 TCP_MISS/200 456 GET http://www.stripes.com/index_files/bg.gif - DIRECT/128.121.30.62 image/gif
1122436604.744 1744 127.0.0.1 TCP_MISS/200 42849 GET http://www.stripes.com/ - DIRECT/128.121.30.62 text/html
1122436604.792 352 127.0.0.1 TCP_MISS/200 348 GET http://www.stripes.com/index_files/1px_line_left.gif - DIRECT/128.121.30.62 image/gif
1122436604.795 349 127.0.0.1 TCP_MISS/200 805 GET http://www.stripes.com/index_files/tab_sections.gif - DIRECT/128.121.30.62 image/gif
1122436604.816 134 127.0.0.1 TCP_MISS/200 340 GET http://www.stripes.com/index_files/menu_blankspace.gif - DIRECT/128.121.30.62 image/gif
1122436604.895 101 127.0.0.1 TCP_MISS/200 390 GET http://www.stripes.com/index_files/menu_bullet.gif - DIRECT/128.121.30.62 image/gif
1122436605.011 194 127.0.0.1 TCP_MISS/200 380 GET http://www.stripes.com/index_files/tab_bottom.gif - DIRECT/128.121.30.62 image/gif
1122436605.011 216 127.0.0.1 TCP_MISS/200 386 GET http://www.stripes.com/index_files/menu_shadow.gif - DIRECT/128.121.30.62 image/gif
1122436605.016 121 127.0.0.1 TCP_MISS/200 906 GET http://www.stripes.com/index_files/tab_getourpaper.gif - DIRECT/128.121.30.62 image/gif
1122436605.216 204 127.0.0.1 TCP_MISS/200 832 GET http://www.stripes.com/tab_information.gif - DIRECT/128.121.30.62 image/gif
1122436605.478 460 127.0.0.1 TCP_MISS/200 4941 GET http://www.stripes.com/banners/896.gif - DIRECT/128.121.30.62 image/gif
1122436605.550 1107 127.0.0.1 TCP_MISS/200 22549 GET http://www.stripes.com/349.jpg - DIRECT/128.121.30.62 image/jpeg
1122436605.948 470 127.0.0.1 TCP_MISS/200 8022 GET http://www.stripes.com/banners/722.gif - DIRECT/128.121.30.62 image/gif
1122436606.211 660 127.0.0.1 TCP_MISS/200 10998 GET http://www.stripes.com/banners/798.gif - DIRECT/128.121.30.62 image/gif
1122436606.216 1203 127.0.0.1 TCP_MISS/200 18079 GET http://www.stripes.com/banners/684.jpg - DIRECT/128.121.30.62 image/jpeg
1122436606.415 1197 127.0.0.1 TCP_MISS/200 8312 GET http://www.stripes.com/banners/791.gif - DIRECT/128.121.30.62 image/gif
STORE.LOG:
Quote:
1122436542.010 RELEASE -1 FFFFFFFF C577633719A389CC6A7B2F81665F0057 503 1122436542 0 1122436542 text/html 1179/1417 GET http://www.str
ipes.com/
1122436542.278 RELEASE -1 FFFFFFFF A6750B4F2A00D8C05DC576CFE3132FB2 503 1122436542 0 1122436542 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436549.703 RELEASE -1 FFFFFFFF 430153887740F882F73E7EFC7C36551A 503 1122436549 0 1122436549 text/html 1179/1417 GET http://www.str
ipes.com/
1122436549.902 RELEASE -1 FFFFFFFF D85B2A72CBB60089FDD59BDA09CEC2D5 503 1122436549 0 1122436549 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436554.337 RELEASE -1 FFFFFFFF A38ADFBC43A667A27E6D0669E02B8382 503 1122436553 0 1122436553 text/html 1179/1417 GET http://www.str
ipes.com/
1122436554.534 RELEASE -1 FFFFFFFF AF476B1E0F89F2E9E73D5458408F9E8F 503 1122436554 0 1122436554 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436556.535 RELEASE -1 FFFFFFFF 91C43501E3558208066BE02E673BD920 503 1122436556 0 1122436556 text/html 1179/1417 GET http://www.str
ipes.com/
1122436556.732 RELEASE -1 FFFFFFFF 22B6507049C2726E2FA1AFE461C54975 503 1122436556 0 1122436556 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436558.036 RELEASE -1 FFFFFFFF 0F90B099FDFBE0B364E148B95FF7EB06 503 1122436557 0 1122436557 text/html 1179/1417 GET http://www.str
ipes.com/
1122436558.356 RELEASE -1 FFFFFFFF 9AF721FD13A6C556950C39124DC825F8 503 1122436558 0 1122436558 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436562.783 RELEASE -1 FFFFFFFF 7C0E538D29F3317E6D7342B2FBDD4F34 503 1122436562 0 1122436562 text/html 1179/1417 GET http://www.str
ipes.com/
1122436563.108 RELEASE -1 FFFFFFFF 01F7931D657EB7DD41D956590B615CFB 503 1122436562 0 1122436562 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436569.309 RELEASE -1 FFFFFFFF A9BBE9E4BB536C69F192BE48681BBAE6 503 1122436568 0 1122436568 text/html 1179/1417 GET http://www.str
ipes.com/
1122436569.502 RELEASE -1 FFFFFFFF 669EB6FFC12C919F2EB7DA097B6E03EB 503 1122436569 0 1122436569 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436570.306 RELEASE -1 FFFFFFFF F713DC5B93DD00D5403C157ED22B4C64 503 1122436570 0 1122436570 text/html 1179/1417 GET http://www.str
ipes.com/
1122436570.508 RELEASE -1 FFFFFFFF FDD554FD3C9AAAAB3FE5C92F50AE7F85 503 1122436570 0 1122436570 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436571.197 RELEASE -1 FFFFFFFF A4CC831C0C63E34CE13B75D1FAE50C44 503 1122436570 0 1122436570 text/html 1179/1417 GET http://www.str
ipes.com/
1122436571.358 RELEASE -1 FFFFFFFF D8D663BFBDE7A144FC0B7235E2CB51ED 503 1122436571 0 1122436571 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436572.565 RELEASE -1 FFFFFFFF C30225DC5F3876FA1EDFB972E9711D6B 503 1122436572 0 1122436572 text/html 1179/1417 GET http://www.str
ipes.com/
1122436572.885 RELEASE -1 FFFFFFFF 75882286E2024816DB69AEFF0169E256 503 1122436572 0 1122436572 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436573.730 RELEASE -1 FFFFFFFF F9A1AE1C8F2255CB2727B84D1F705888 503 1122436573 0 1122436573 text/html 1179/1417 GET http://www.str
ipes.com/
1122436574.046 RELEASE -1 FFFFFFFF 16FBA7FE13CA2440D64EDEA600AAF8A6 503 1122436573 0 1122436573 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436576.998 RELEASE -1 FFFFFFFF 985AD6597CCE6FD464AC592DA509D33B 503 1122436576 0 1122436576 text/html 1179/1417 GET http://www.str
ipes.com/
1122436577.318 RELEASE -1 FFFFFFFF 45666C2F5E019FF887E3612B4E746038 503 1122436576 0 1122436576 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436584.437 RELEASE -1 FFFFFFFF 3C518D7DB16FF79C04FB98E83D233C13 503 1122436583 0 1122436583 text/html 1179/1417 GET http://www.str
ipes.com/
1122436584.747 RELEASE -1 FFFFFFFF C32D45281F2CD6BC4F026BAE9838D9D4 503 1122436584 0 1122436584 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436588.204 RELEASE -1 FFFFFFFF AB3ACA55BC50FCC08D7998F4B56DA659 503 1122436588 0 1122436588 text/html 1179/1417 GET http://www.str
ipes.com/
1122436588.525 RELEASE -1 FFFFFFFF 22FFE1DC8AC1FE5F97630B276ED41B3D 503 1122436588 0 1122436588 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436592.778 RELEASE -1 FFFFFFFF DC6E3C9570C1D6CD1FBA7FF615B95C46 503 1122436592 0 1122436592 text/html 1179/1417 GET http://www.str
ipes.com/
1122436592.981 RELEASE -1 FFFFFFFF CBEECA55290BE5890D66953FAE3C32DF 503 1122436592 0 1122436592 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436600.103 RELEASE -1 FFFFFFFF 97D7D9842CEC7945AF38E02EA2094665 503 1122436600 0 1122436600 text/html 1179/1417 GET http://www.str
ipes.com/
1122436600.250 RELEASE -1 FFFFFFFF B5EA906DFB9B39F504997C8773D4D42D 503 1122436600 0 1122436600 text/html 1201/1439 GET http://www.str
ipes.com/favicon.ico
1122436604.148 SWAPOUT 00 00000000 AF6F408209A5A6F94BA0282814B6E15D 200 1122436283 1006356701 -1 text/css 579/579 GET http://www.stripe
s.com/index_files/hrefonblue.css
1122436604.411 SWAPOUT 00 00000001 EBA980CB394E2A66E3215E521BA967A5 200 1122436283 1006356701 -1 text/css 250/250 GET http://www.stripe
s.com/index_files/hrefonwhite.css
1122436604.681 SWAPOUT 00 00000002 051801BBDAC94D1AAB5D57DB3325BAAA 200 1122436283 1006356698 -1 image/gif 158/158 GET http://www.strip
es.com/index_files/bg.gif
1122436604.744 RELEASE -1 FFFFFFFF FBDC294A9154E87474BD552731BA3B56 200 1122436283 -1 -1 text/html -1/42583 GET http://www.strip
es.com/
1122436604.793 SWAPOUT 00 00000003 B537F95ADD805A4483D4FA434370A185 200 1122436284 1006356692 -1 image/gif 51/51 GET http://www.stripes
.com/index_files/1px_line_left.gif
1122436604.796 SWAPOUT 00 00000004 5BC0381DC88967DE570073D0F0329EE1 200 1122436284 1006356710 -1 image/gif 507/507 GET http://www.strip
es.com/index_files/tab_sections.gif
1122436604.817 SWAPOUT 00 00000005 E9E0B1EB449A590185EAA604F96253B1 200 1122436284 1006356703 -1 image/gif 43/43 GET http://www.stripes
.com/index_files/menu_blankspace.gif
1122436604.895 SWAPOUT 00 00000006 A9A556EFF3BD92F54A137FDB3F5CF433 200 1122436284 1006356703 -1 image/gif 93/93 GET http://www.stripes
.com/index_files/menu_bullet.gif
1122436605.012 SWAPOUT 00 00000008 984FB6DCFAB6A21142A08C6EA97455CF 200 1122436284 1006356706 -1 image/gif 83/83 GET http://www.stripes
.com/index_files/tab_bottom.gif
1122436605.012 SWAPOUT 00 00000009 1983FF929F81BE78DD1E9A7502EAF68A 200 1122436284 1006356704 -1 image/gif 89/89 GET http://www.stripes
.com/index_files/menu_shadow.gif
1122436605.017 SWAPOUT 00 0000000A 203812AD8C2A99B0145C139713BC22D5 200 1122436284 1006356707 -1 image/gif 608/608 GET http://www.strip
es.com/index_files/tab_getourpaper.gif
1122436605.216 SWAPOUT 00 0000000B F717C1AC9EC1029555AE6B9BA7872783 200 1122436284 1017242747 -1 image/gif 534/534 GET http://www.strip
es.com/tab_information.gif
1122436605.419 SWAPOUT 00 0000000D 0AF40CECBA58EB0991D9651EE8A80B5E 200 1122436284 1118853297 -1 image/gif 4642/4642 GET http://www.str
ipes.com/banners/896.gif
1122436605.549 SWAPOUT 00 00000007 E77B14472ED938421C06AA449D54CAE2 200 1122436284 1089813762 -1 image/jpeg 22248/22248 GET http://www.
stripes.com/349.jpg
1122436605.946 SWAPOUT 00 0000000E E9243BCF5BC2797D961D86FAE249AF0B 200 1122436284 1107550145 -1 image/gif 7724/7724 GET http://www.str
ipes.com/banners/722.gif
1122436606.148 SWAPOUT 00 0000000F DD20703C0F9DD54030B0BECA8D176AD9 200 1122436285 1116530912 -1 image/gif 10698/10698 GET http://www.s
tripes.com/banners/798.gif
1122436606.212 SWAPOUT 00 0000000C 8F736F10845B554056A4DCE7342BD2CE 200 1122436284 1100865632 -1 image/jpeg 17779/17779 GET http://www.
stripes.com/banners/684.jpg
1122436606.414 SWAPOUT 00 00000010 0E1E0B53E174AAD7D9DD175615B6627A 200 1122436285 1116027939 -1 image/gif 8013/8013 GET http://www.str
ipes.com/banners/791.gif
1122436607.416 SWAPOUT 00 00000013 B30792B8AD267E11B0291B56FA21B2E5 200 1122436285 1100623523 -1 image/gif 10316/10316 GET http://www.s
tripes.com/banners/677.gif
1122436607.483 SWAPOUT 00 00000014 32C1F3E4BEB28235BEE8D478CB9AD23F 200 1122436285 1017242744 -1 image/gif 61/61 GET http://www.stripes
.com/top_space.gif
1122436607.681 SWAPOUT 00 00000011 F0A6F943E7C90C1579FAF982943101B0 200 1122436285 1085664501 -1 image/jpeg 25426/25426 GET http://www.
stripes.com/banners/595.jpg
1122436607.749 SWAPOUT 00 00000012 2D9E393B3DB69C0FA2C02DAE1F401E34 200 1122436285 1066766960 -1 image/jpeg 25285/25285 GET http://www.
stripes.com/banners/402.jpg
1122436607.881 SWAPOUT 00 00000015 0FC762AD3BAE4D7C9B7ECFEA198FCBDA 200 1122436286 1051904426 -1 image/gif 6542/6542 GET http://www.str
ipes.com/index_files/logo_main.gif
1122436607.886 SWAPOUT 00 00000016 E4A2C8F03D2FC0DBB9204BAFD4D6AA6B 200 1122436287 1006356699 -1 image/gif 103/103 GET http://www.strip
es.com/index_files/date_linebot.gif
1122436607.886 SWAPOUT 00 00000017 78FF3590FFCEA78D334F2BD6476874C2 200 1122436287 1006356691 -1 image/gif 43/43 GET http://www.stripes
.com/index_files/1px_line.gif
1122436607.886 SWAPOUT 00 00000018 58B1772EC2251290B43FA5266DF6A343 200 1122436286 1006356700 -1 image/gif 103/103 GET http://www.strip
es.com/index_files/date_linetop.gif
1122436609.085 SWAPOUT 00 0000001B 3C290598B2CC4E226CEA488D42EF3395 200 1122436287 1006356709 -1 image/gif 827/827 GET http://www.strip
es.com/index_files/tab_search.gif
1122436609.085 SWAPOUT 00 0000001C FB2DB09AA7F30AFB9B76E6583632F2BA 200 1122436287 1006356696 -1 image/gif 49/49 GET http://www.stripes
.com/index_files/arrow.gif
1122436609.217 SWAPOUT 00 00000019 C40A8B5B9A46440E36D45603637C6ACB 200 1122436287 1122416078 -1 image/jpeg 28677/28677 GET http://www.
stripes.com/mainphotos/2_2990439.jpg
1122436609.413 SWAPOUT 00 0000001A 3552FFF22AABFDD6A3E2EC3730112729 200 1122436287 1117809257 -1 image/gif 39895/39895 GET http://www.s
tripes.com/banners/847.gif
1122436610.345 SWAPOUT 00 0000001E 81496ED028BAC1D1DB9E6AC46C1988B1 200 1122436288 1006356698 -1 image/gif 155/155 GET http://www.strip
es.com/index_files/button_search.gif
1122436610.415 SWAPOUT 00 0000001F F4DF410E436D73FBF2C107F12BAB05C2 200 1122436288 1118673195 -1 image/gif 5262/5262 GET http://www.str
ipes.com/banners/880.gif
1122436610.549 SWAPOUT 00 00000020 4A00EB48A3F6809957D471D10CA58D61 200 1122436288 1118147497 -1 image/gif 6738/6738 GET http://www.str
ipes.com/banners/872.gif
1122436611.014 SWAPOUT 00 0000001D 26EE5F258A0B3833423B9BD013612477 200 1122436288 1117809463 -1 image/gif 60262/60262 GET http://www.s
tripes.com/banners/848.gif
1122436611.814 SWAPOUT 00 00000022 C0B585684B3A9663699C34F293384E4B 200 1122436289 1120148494 -1 image/jpeg 11519/11519 GET http://www.
stripes.com/banners/905.jpg
1122436612.549 SWAPOUT 00 00000023 0D0B66BA74E3D7A92A22879AD544B8A7 200 1122436289 1121355302 -1 image/gif 35886/35886 GET http://www.s
tripes.com/banners/928.gif
1122436612.816 SWAPOUT 00 00000024 EAACBF00AE2BADE5FAD4019E4FE31705 200 1122436290 1117810044 -1 image/jpeg 10912/10912 GET http://www.
stripes.com/banners/852.jpg
1122436613.948 SWAPOUT 00 00000025 11F7F587479D5856082E047432730FDA 200 1122436292 1117810126 -1 image/gif 10611/10611 GET http://www.s
tripes.com/banners/853.gif
1122436614.283 SWAPOUT 00 00000026 C736E796FB0302DB4908EF2502080B4A 200 1122436292 1118843994 -1 image/gif 17042/17042 GET http://www.s
tripes.com/banners/884.gif
1122436614.418 SWAPOUT 00 00000027 C50D03EB0D5974E019AA556D4E2569C8 200 1122436293 1117647702 -1 image/gif 4755/4755 GET http://www.str
ipes.com/banners/832.gif
1122436614.482 SWAPOUT 00 00000021 7C5B5A7FA5818D3EDF3FEFBE4E0969EF 200 1122436289 1117809782 -1 image/gif 69569/69569 GET http://www.s
tripes.com/banners/850.gif
1122436614.618 SWAPOUT 00 00000028 02DD2B120140D9C011F7B24B3EE03C93 200 1122436294 1120149193 -1 image/gif 8412/8412 GET http://www.str
ipes.com/banners/910.gif
1122436614.885 SWAPOUT 00 00000029 55F156147108EE13D0796E15565711F2 200 1122436294 1117811117 -1 image/gif 11486/11486 GET http://www.s
tripes.com/banners/855.gif
1122436615.082 SWAPOUT 00 0000002A B3D1B600D35C5A2FFDF2A688A519D0EF 200 1122436294 1050949589 -1 image/gif 6528/6528 GET http://www.str
ipes.com/banners/288.GIF
ANY IDEAS???


Last edited by win32sux; 07-27-2005 at 10:19 PM.
 
Old 07-29-2005, 03:37 PM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
hi guys... i still haven't figured it out... it's driving me insane... LOL...

i can confirm that if i use the negative_dns_ttl option in my squid.conf then when a URL fails the outage will only last as long as specified in that parameter... so i set it to:
Code:
negative_dns_ttl 1 second
and now when a URL fails i can hit refresh a second later and it will then load properly... of course this does nothing to solve my underlying problem...

why are URLs sporadically failing with my squid??

how can i stop this behavior??


even if you don't have an answer, i welcome any suggestions about tests i could perform to try and get a better understanding of the situation... if you want me to post outputs from some commands just ask and will post them...
 
Old 08-03-2005, 04:09 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
turns out it wasn't a problem with my squid at all... it was a problem with my ISP's DNS servers... they seem to have fixed it now, so i'm not getting random 503s anymore... issue resolved... i'm once again a happy squid user...
 
Old 10-29-2009, 04:59 PM   #5
schlabs
LQ Newbie
 
Registered: Aug 2007
Posts: 20

Rep: Reputation: 1
thanks, your post was sucessfull for me
 
  


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
DNS for Squid abhi_crusader Linux - Enterprise 1 09-29-2005 01:38 AM
Getting error for DNS in squid simplyrahul Linux - General 5 07-23-2005 06:52 PM
DNS issue or caching issue? AZDAVE Linux - Networking 7 10-02-2004 12:28 AM
squid configuration with 2 dns gullio Red Hat 0 02-11-2004 02:11 AM
initializing squid and dns?? debloxie Linux - Networking 1 01-17-2004 01:53 AM


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