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

From: Masood Ahmad Shah <[email protected]>
Date: Sat, 24 May 2003 12:25:42 +0600 (PKST)

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 - 01:31:06 MDT

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