Re: ICP parent

From: Matt Buford <matt@dont-contact.us>
Date: Tue, 13 Oct 1998 07:37:14 -0500

I just upgraded to patch2, took the default squid.conf, and added only one
line:

cache_peer netcache.insync.net parent 80 3130

Then I go to any site:

908280672.194 3673 209.16.31.13 TCP_MISS/200 953 GET
http://www.digex.net/ - DIRECT/www.digex.net text/html
908280673.646 1449 209.16.31.13 TCP_MISS/200 9312 GET
http://data.digex.net/index.cfm - FIRST_PARENT_MISS/netcache.insync.net
text/html
908280674.206 1032 209.16.31.13 TCP_MISS/200 2190 GET
http://data.digex.net/images/sphere.gif - PARENT_HIT/netcache.insync.net
image/gif
908280674.554 1363 209.16.31.13 TCP_MISS/200 2780 GET
http://data.digex.net/images/digex.gif - PARENT_HIT/netcache.insync.net
image/gif
908280674.563 1372 209.16.31.13 TCP_MISS/200 655 GET
http://data.digex.net/images/h-about.gif -
FIRST_PARENT_MISS/netcache.insync.net image/gif

And as always, the first object retreived after any pause in activity is
fetched directly instead of through the parent. Any ideas? Shouldn't every
URL be fetched from the parent except those I have in the stoplist?
("cgi-bin" and "?" URLs)

It doesn't only happen to html files. If I go into a directory listing of
20 text files, and pick one, it comes direct. If I very quickly back up and
hit the next file it comes through the parent. If I then pause 5 or 10
seconds, and hit another link, it comes direct. It seems to just be that
any object fetched after an idle pause is fetched directly. Any ideas?

Also, after the upgrade and default configuration file, I'm still not seeing
any server side persistant connections. Is there something special I need
to do to enable them that is not on by default in the conf file?

Server-side persistent connection counts:

 req/
 conn count
 ---- ---------
    1 140

-----Original Message-----
From: Matt Buford <matt@insync.net>
To: squid-users@ircache.net <squid-users@ircache.net>
Date: Friday, October 09, 1998 11:41 PM
Subject: ICP parent

>Perhaps I'm just confused. I've configured an ICP parent with the
following
>line:
>
>cache_peer netcache.insync.net parent 80 3130
>
>Yet in my logs it seems that anytime there is a pause in activity of a few
>seconds, the first URL received is fetched directly, and the parent is only
>used for URLs that follow quickly before there is another pause.
>
>907993725.294 1540 209.16.31.13 TCP_MISS/200 10084 GET
>http://www.winfiles.com/ - FIRST_PARENT_MISS/netcache.insync.net text/html
>907993725.514 617 209.16.31.13 TCP_REFRESH_HIT/200 16688 GET
>http://www.winfiles.com/gifs/imaps/none_index.gif -
>PARENT_HIT/netcache.insync.net image/gif
>907993725.718 1047 209.16.31.13 TCP_REFRESH_MISS/200 2074 GET
>http://www.winfiles.com/gifs/backgrounds/cloudtile.jpg -
>DIRECT/www.winfiles.com image/jpeg
>907993726.073 766 209.16.31.13 TCP_REFRESH_MISS/200 2074 GET
>http://www.winfiles.com/gifs/logos/winlogo.gif - DIRECT/www.winfiles.com
>image/gif
>907993727.215 2525 209.16.31.13 TCP_MISS/200 8689 GET
>http://www.winfiles.com/gifs/ads/in_common_ad.gif -
>PARENT_HIT/netcache.insync.net image/gif
>907993727.599 1877 209.16.31.13 TCP_REFRESH_HIT/200 2224 GET
>http://www.winfiles.com/gifs/ads/buttonads/icbg.gif -
>PARENT_HIT/netcache.insync.net image/gif
>
>
>(pause)
>
>907993897.026 1632 209.16.31.13 TCP_MISS/200 10800 GET
>http://www.vservers.com/ - DIRECT/www.vservers.com text/html
>907993897.913 1724 209.16.31.13 TCP_MISS/200 2500 GET
>http://www.vservers.com/gifs/navs/wnewa.jpg -
>FIRST_PARENT_MISS/netcache.insync.net image/jpeg
>907993898.290 2101 209.16.31.13 TCP_MISS/200 4940 GET
>http://www.vservers.com/gifs/tbarleft.jpg -
>FIRST_PARENT_MISS/netcache.insync.net image/jpeg
>907993898.990 1072 209.16.31.13 TCP_MISS/200 2144 GET
>http://www.vservers.com/gifs/navs/domgo1.jpg -
>FIRST_PARENT_MISS/netcache.insync.net image/jpeg
>
>[etc]
>
>So would this probably be a bug, a misconfiguration on my part, or a
>"feature" so that the initial page can be loaded without waiting for ICP?
>In my experiments, this is not specificic to .html URLs. If I go to a
>directory index page with 100 small .txt files, if I go to each file very
>quickly with only a second or two between them, they are all fetched
through
>the parent. If I pause halway through, for maybe 10 seconds, the next one
>will be fetched direct.
>
>
>On a completely unrelated note, I am seeing client side persistant
>connections just fine, however 100% of my server side persistant
connections
>are only doing 1 request per connection (according to cachemgr.cgi stats).
>Am I missing some config option here too?
>
>
Received on Tue Oct 13 1998 - 06:50:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:28 MST