Re: [squid-users] limitting squid cache!!!

From: Masood Ahmad Shah <masood@dont-contact.us>
Date: Sat, 24 May 2003 15:58:37 +0500

it's very simple check your access.log and see http_hit or mem_hit etcc.
these are all the objects in cahce .............:)

Best Regs,
Masood Ahmad Shah
System Administrator

^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| * * * * * * * * * * * * * * * * * * * * * * * *
| Fibre Net (Pvt) Ltd. Lahore, Pakistan
| Tel: +92-42-6677024
| Mobile: +92-300-4277367
| http://www.fibre.net.pk
| * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Free Microsoft support: Retry, Reboot, Reinstall.

----- Original Message -----
From: "Sukhjit Singh" <sukhjits@emmtel.com>
To: "Masood Ahmad Shah" <masood@ipsec.fibre.net.pk>
Sent: Saturday, May 24, 2003 3:57 PM
Subject: Re: [squid-users] limitting squid cache!!!

| Dear Ahmad,
| I am sorry am disturbing you again and again ,
| now how to check which objects are in the cache.
|
|
|
| Regards
|
| Sukhjit Singh
| Network Administrator
| Emmsons Infotech Ltd.
| SCO 13-14-15, Sec 34A,
| Chandigarh-160 022
| (Ph): +91 172 606664
| Mobile 9815228132
| sukhjits@emmtel.com
| http://www.emmtel.com
|
| ----- Original Message -----
| From: "Masood Ahmad Shah" <masood@ipsec.fibre.net.pk>
| To: "Sukhjit Singh" <sukhjits@emmtel.com>; "squid list"
| <squid-users@squid-cache.org>
| Sent: Saturday, May 24, 2003 1:27 PM
| Subject: Re: [squid-users] limitting squid cache!!!
|
|
| > Yes LIFO is 100% clear :) for squid.
| >
| > If you talk about object URL it will be object path not URL.. like
| >
| > squidclient -m PURGE http://www.yahoo.com/books/image.gif
| > It will purge image.gif for yahoo.com/books from cache.
| >
| > Best Regs,
| > Masood Ahmad Shah
| > System Administrator
| >
| > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > | * * * * * * * * * * * * * * * * * * * * * * * *
| > | Fibre Net (Pvt) Ltd. Lahore, Pakistan
| > | Tel: +92-42-6677024
| > | Mobile: +92-300-4277367
| > | http://www.fibre.net.pk
| > | * * * * * * * * * * * * * * * * * * * * * * * *
| > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > Free Microsoft support: Retry, Reboot, Reinstall.
| >
| > ----- Original Message -----
| > From: "Sukhjit Singh" <sukhjits@emmtel.com>
| > To: <masood@ipsec.fibre.net.pk>
| > Sent: Saturday, May 24, 2003 12:48 PM
| > Subject: Re: [squid-users] limitting squid cache!!!
| >
| >
| > | Dear Ahmad,
| > | in the following command what is the object URL , can this be
yahoo.com,
| > | google.com or what?
| > |
| > | ./squidclient -p PURGE hereobjectURL
| > |
| > | And as you say the LIFO will be followed , this means i dont have to
| worry
| > | even if the filesystem is full cause squid will automatically
implement
| > LIFO
| > | is it right.??
| > | do clearify.....
| > |
| > |
| > |
| > |
| > |
| > | Regards
| > |
| > | Sukhjit Singh
| > | Network Administrator
| > | Emmsons Infotech Ltd.
| > | SCO 13-14-15, Sec 34A,
| > | Chandigarh-160 022
| > | (Ph): +91 172 606664
| > | Mobile 9815228132
| > | sukhjits@emmtel.com
| > | http://www.emmtel.com
| > |
| > | ----- Original Message -----
| > | From: "Masood Ahmad Shah" <masood@ipsec.fibre.net.pk>
| > | To: "Sukhjit Singh" <sukhjits@emmtel.com>
| > | Cc: <squid-users@squid-cache.org>
| > | Sent: Saturday, May 24, 2003 11:55 AM
| > | Subject: Re: [squid-users] limitting squid cache!!!
| > |
| > |
| > | >
| > | > Squid will auto purge old object using your File system which you
are
| > | > using in cache dir form exmp, UFS, DISKD, AUFS .....
| > | > You can think and go back when you was studing Computer Logic Design
| > | > concept LIFO (Last in First Out). So squid will purge very last
object
| > | > when it will store new one. If you want to delete object manually
then
| > you
| > | > can use ./squidclient utility like that
| > | > ./squidclient -p PURGE hereobjectURL
| > | >
| > | > I think it will help :)
| > | >
| > | > Best Regs,
| > | > Masood Ahmad Shah
| > | > System Administrator
| > | >
| > | > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > | > | * * * * * * * * * * * * * * * * * * * * * * * *
| > | > | Fibre Net (Pvt) Ltd. Lahore, Pakistan
| > | > | Tel: +92-42-6677024
| > | > | Mobile: +92-300-4277367
| > | > | http://www.fibre.net.pk
| > | > | * * * * * * * * * * * * * * * * * * * * * * * *
| > | > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > | > Free Microsoft support: Retry, Reboot, Reinstall.
| > | >
| > | >
| > | >
| > | >
| > | > > Dear Ahmad
| > | > >
| > | > > I have done this, what i was trying to find out was , what will
| happen
| > | if
| > | > > this 33GB gets filled.Will caching stop or will the squid+cache
stop
| > | > > storing
| > | > > the new objects in the cache and will serve from the existing
cache
| > and
| > | if
| > | > > the object is not found in the cache it will be sent on the
| internet.
| > | > >
| > | > > and are there any ways so that i can outomize the deletion of the
| > least
| > | > > accessed objects.
| > | > >
| > | > > Do tell me pls..
| > | > >
| > | > >
| > | > >
| > | > >
| > | > >
| > | > > Regards
| > | > >
| > | > > Sukhjit Singh
| > | > > Network Administrator
| > | > > Emmsons Infotech Ltd.
| > | > > SCO 13-14-15, Sec 34A,
| > | > > Chandigarh-160 022
| > | > > (Ph): +91 172 606664
| > | > > Mobile 9815228132
| > | > > sukhjits@emmtel.com
| > | > > http://www.emmtel.com
| > | > >
| > | > > ----- Original Message -----
| > | > > From: "Masood Ahmad Shah" <masood@ipsec.fibre.net.pk>
| > | > > To: "Sukhjit Singh" <sukhjits@emmtel.com>
| > | > > Cc: <squid-users@squid-cache.org>
| > | > > Sent: Saturday, May 24, 2003 11:43 AM
| > | > > Subject: Re: [squid-users] limitting squid cache!!!
| > | > >
| > | > >
| > | > >> Dear Sukhjit,
| > | > >>
| > | > >> cache_dir yourfilesystem /cache diskspaeinMB first-level-of-dir
| > | > > second-level
| > | > >>
| > | > >> for example...
| > | > >>
| > | > >> cache_dir diskd /cache 5100 16 256
| > | > >>
| > | > >> here 5100 mean 5100 MB
| > | > >>
| > | > >> you will have to set for 33 GB
| > | > >>
| > | > >> cache_dir yourfilesystem /cache 33792 first-level-of-dir
| second-level
| > | > >>
| > | > >>
| > | > >>
| > | > >> Best Regs,
| > | > >> Masood Ahmad Shah
| > | > >> System Administrator
| > | > >>
| > | > >> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > | > >> | * * * * * * * * * * * * * * * * * * * * * * * *
| > | > >> | Fibre Net (Pvt) Ltd. Lahore, Pakistan
| > | > >> | Tel: +92-42-6677024
| > | > >> | Mobile: +92-300-4277367
| > | > >> | http://www.fibre.net.pk
| > | > >> | * * * * * * * * * * * * * * * * * * * * * * * *
| > | > >> ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
| > | > >> Free Microsoft support: Retry, Reboot, Reinstall.
| > | > >>
| > | > >> > Dear all,
| > | > >> >
| > | > >> > Am using squid+wccp and my cache is growing day by day.
| > | > >> > I have used 33GB SCSI for the cache, and it is about 79 % full,
| > | > >> > is there any way that i can limit the cache to 33GB and then
the
| > | > >> request
| > | > >> > can
| > | > >> > be seved from the cache and which are not avaliable can be
| fetched
| > | > >> from
| > | > >> > the
| > | > >> > Internet.
| > | > >> >
| > | > >> > Do tell me if any other solution exists as i can't keep on
adding
| > | > >> disks.
| > | > >> >
| > | > >> >
| > | > >> > Regards
| > | > >> > Sukhjit Singh
| > | > >> >
| > | > >> >
| > | > >> >
| > | > >> >
| > | > >> >
| > | > >> >
| > | > >>
| > | > >>
| > | > >>
| > | > >> -----------------------------------------
| > | > >> This email was sent using Fibre Net (Internet Services Provider)
| > | > >> "Webmail !"
| > | > >> http://www.fibre.net.pk/
| > | > >>
| > | > >
| > | > >
| > | >
| > | >
| > | >
| > | > -----------------------------------------
| > | > This email was sent using Fibre Net (Internet Services Provider)
| > | > "Webmail !"
| > | > http://www.fibre.net.pk/
| > | >
| > |
| > |
| >
| >
|
|
Received on Sat May 24 2003 - 04:59:06 MDT

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