Re: [SQU] squid does not query parent

From: Peter Pilsl <[email protected]>
Date: Thu, 1 Mar 2001 00:02:29 +0100

On Wed, Feb 28, 2001 at 07:15:03PM +0200, Evren Yurtesen wrote:
> perhaps you can try to see your parent cache status from cachemgr.cgi
> program or if there is anything strange about your parent cache in the
> cache.log file after you start squid in your cache
>

There's nothing strange in cache.log:

<..>
2001/02/28 23:58:52| Accepting HTTP connections at 0.0.0.0, port 3128, FD 7.
2001/02/28 23:58:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 8.
2001/02/28 23:58:52| Accepting SNMP messages on port 3401, FD 9.
2001/02/28 23:58:52| WCCP Disabled.
2001/02/28 23:58:52| Ready to serve requests.
2001/02/28 23:58:52| Configuring Parent proxy.inode.at/8080/0
2001/02/28 23:58:53| Done reading /var/squid/cache swaplog (11478 entries
<...>

and cachemgr.cgi tells me about the parent:

Parent : proxy.inode.at/8080/0
Flags : no-query default
Address[0] : 195.58.161.4
Status : Up
AVG RTT : 0 msec
LAST QUERY : 983401355 seconds ago
LAST REPLY : 983401355 seconds ago
PINGS SENT : 0
PINGS ACKED: 0 0%
FETCHES : 0 0%
IGNORED : 0 0%
Histogram of PINGS ACKED:
keep-alive ratio: 0%

So, its status is UP, but, as you can see, it is not queried at all ....

:-(
peter

> On Wed, 28 Feb 2001, Peter Pilsl wrote:
>
> > On Wed, Feb 28, 2001 at 06:36:39PM +0200, Evren Yurtesen wrote:
> > > Is it be possible that your squid cache thinks that it is not able to
> > > reach to your parent so it disables it ? do you use icmp or compiled in
> > > icmp pinger ?
> > >
> >
> > I dont think so ... There is no pinger-directive in my squid.conf and
> > I didnt use the enable-icmp-directive when compiling squid.
> >
> > Could this solve my problem ?
> >
> > peter
> >
> >
> > > Evren
> > >
> > > On Wed, 28 Feb 2001, Peter Pilsl wrote:
> > >
> > > > Lately I discovered, that my squid does not query any parent-cache any
> > > > more. All non-cached pages are accessed direct.
> > > >
> > > > I reverted squid.conf to a very basic configuration and it still goes
> > > > direct everywhere. I dont understand ...
> > > > (the mentioned parent is fully accessible and fully working ....)
> > > >
> > > >
> > > > squid.conf:
> > > >
> > > > http_port 3128
> > > >
> > > > acl fastnet src 192.168.11.0/24
> > > > acl all src 0.0.0.0/0.0.0.0
> > > > acl localhost src 127.0.0.1/255.255.255.255
> > > >
> > > > http_access allow fastnet
> > > > http_access allow localhost
> > > > http_access deny all
> > > >
> > > > cache_peer a.b.c.d parent 8080 0 default no-query
> > > > prefer_direct off
> > > >
> > > >
> > > > but access.log always show:
> > > >
> > > > 983376775.645 188 192.168.11.2 TCP_CLIENT_REFRESH_MISS/304 227 GET
> > > > http://www.univie.ac.at/zulassung/UNIVIS-Logo.jpg -
> > > > DIRECT/www.univie.ac.at -
> > > > 983376775.717 258 192.168.11.2 TCP_CLIENT_REFRESH_MISS/304 228 GET
> > > > http://www.univie.ac.at/zulassung/Image11.gif -
> > > > DIRECT/www.univie.ac.at -
> > > > 983376775.784 318 192.168.11.2 TCP_CLIENT_REFRESH_MISS/304 227 GET
> > > > http://www.univie.ac.at/zulassung/Image13.gif -
> > > > DIRECT/www.univie.ac.at -
> > > > 983376775.856 292 192.168.11.2 TCP_CLIENT_REFRESH_MISS/304 227 GET
> > > > http://www.univie.ac.at/zulassung/Image12.gif -
> > > > DIRECT/www.univie.ac.at -
> > > >
> > > > I also tried the 'never_direct allow all' - no help.
> > > >
> > > > thanks,
> > > > peter
> > > >
> > > >
> > > > --
> > > > mag. peter pilsl
> > > >
> > > > phone: +43 676 3574035
> > > > fax : +43 676 3546512
> > > > email: pilsl@goldfisch.at
> > > > sms : pilsl@max.mail.at
> > > >
> > > > pgp-key available
> > > >
> > > > --
> > > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > > >
> > > >
> > >
> >
> > --
> > mag. peter pilsl
> >
> > phone: +43 676 3574035
> > fax : +43 676 3546512
> > email: pilsl@goldfisch.at
> > sms : pilsl@max.mail.at
> >
> > pgp-key available
> >
>

-- 
mag. peter pilsl
phone: +43 676 3574035
fax  : +43 676 3546512
email: pilsl@goldfisch.at
sms  : pilsl@max.mail.at
pgp-key available
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Feb 28 2001 - 16:06:02 MST

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