Re: Shorts questions about squid-2.2.STABLE2

From: <squid@dont-contact.us>
Date: Wed, 5 May 1999 19:40:57 -0400 (CLT)

On Wed, 5 May 1999, Henrik Nordstrom wrote:

> squid@roble.labsd.inf.utfsm.cl wrote:
> >
> > Hi, I recently "upgrade" my old version of squid-2.1 to
> > squid-2.2.STABLE2, but now I have 2 doubts:
> >
> > 1.- When I start running the new version, it forks many squid
> > process, instead the old version that started with two
> > squid process only.
> >
> > Running ps aux |grep squid, I get ...
> >
> > squid 1454 0.0 0.0 2892 0 ? SW 13:05 0:00 (squid)
> > squid 1455 0.0 5.1 6932 3300 ? S 13:05 0:02 (squid) -sDY
> > squid 1456 0.0 5.1 6932 3300 ? S 13:05 0:00 (squid) -sDY
> > squid 1457 0.0 5.1 6932 3300 ? S 13:05 0:00 (squid) -sDY
> ...
>
> This looks like a Linux system with async-io enabled.

        That's right

> no_cache squid.conf directive will stop the objects from being cached.
> It will however not stop Squid from using previously cached objects if
> there is any in the cache.

        It's not working, for example I put on squid.conf:
"
acl universidad urlpath_regex utfsm.cl
no_cache deny universidad
"
        Then with netscape connect to ftp://ftp.dcsc.utfsm.cl/ and
download the file
ftp://ftp.dcsc.utfsm.cl/pub/Linux/redhat-6.0/RedHat/RPMS/kernel-source-2.2.5-15.i386.rpm
then I look on access.log and store.log and U found this:

access.log
 925946961.533 97812 200.1.19.65 TCP_MISS/200 11883853 GET
ftp://ftp.dcsc.utfsm.cl/pub/Linux/redhat-6.0/RedHat/RPMS/kernel-source-2.2.5-15.i386.rpm
- DIRECT/ftp.dcsc.utfsm.cl application/x-rpm

store.log
925946961.533 SWAPOUT 000002C7 200 925946864 924547800 -2
application/x-rpm 11883571/11883571 GET
ftp://ftp.dcsc.utfsm.cl/pub/Linux/redhat-6.0/RedHat/RPMS/kernel-source-2.2.5-15.i386.rpm

So squid it's downloading the file AND save it on it's cache ?

        
>
> --
> Henrik Nordstrom
> Spare time Squid hacker
>
Received on Wed May 05 1999 - 17:23:03 MDT

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