Re: SMS 2003 Adv Cli- Cache Deletion Problem
- From: "Rune Norberg" <runeno@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 20:07:55 +0100
To to keep the cache size down I'm running a script on a schedule that
deletes elements in the client cache that hasn't been referenced in the last
X number of days. In that way I'm avoiding the cache growing with several
versions for the same package (client patches, scan engines etc.) and also
installations that hasn't been running for that number of days.
To do this I'm using the LastReferenceTime of the UIResource object:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/smssdk03/hh/sms/smsref30_CacheElement_LastReferenceTime.asp
Rgds,
Rune
"Marin Marinov" <marin-online@xxxxxxxxxx> wrote in message
news:MPG.1ddbdfa0a3e9741d9898df@xxxxxxxxxxxxxxxxxxxxxxx
> In article <2F9684AB-A856-43A6-935B-8257276E28CC@xxxxxxxxxxxxx>,
> y2kbugs97@xxxxxxxxxxxxxxxxxxxxxxxxx says...
>> I'm having a problem in my environment where Client Cache does not get
>> deleted. This seems to be because the Client Cache size is set LARGER
>> then
>> the free available disk space.
>>
>> When this happens, new advertisements will fail because of not enough
>> disk
>> space...even though there are many "dead" packages that could be deleted
>> to
>> provide more disk space.
>>
>>
>> This seems to be the logic the SMS 2003 Advanced Client uses to delete
>> cache:
>>
>> [((pre-determined SMS Cache size parameter) - (actual consumed cache
>> size))
>> - new advertisement package size]
>>
>> If the result is negative, any dead packages (older then 24 hours) will
>> be
>> deleted to create space for the new advertisement.
>>
>> The problem I see with the logic is that there is no additional check for
>> free space on the volume. If the new advertisement is larger then the
>> free
>> space on the volume, the advertisement will fail with this error:
>>
>> In this case, they were not deleted because the Cache size was set to
>> 1000mb
>> (and 459mb's were consumed). However, the volume only had 50mb's of
>> space
>> free.
>>
>> The advertisement was 124MB's in size.
> <snip>
> The SMS Advanced client doesn't reserve free space for its cache. In
> this case, the cache "seems to be" able to fit the new advertisement,
> however there is no physical space.
>
> I haven't come across anything suggesting this behavior is changing in
> SP2. You may want to consider perdiodically checking for computers with
> disk space below a specified threshold. 50MB of free space on (I
> presume) the system volume may lead to other non-SMS related issues and
> cause worse problems than SMS being unable to deploy a package. Moving
> the SMS cache folder to a different drive (if available) is also an
> option.
>
> HTH
> --
> Cheers,
> Marin Marinov
> MCT,MCSE,MCSE:Security,MCP+I
> -
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> "True knowledge exists in knowing that you know nothing."
> Socrates
.
- Follow-Ups:
- Re: SMS 2003 Adv Cli- Cache Deletion Problem
- From: y2kbug_s97
- Re: SMS 2003 Adv Cli- Cache Deletion Problem
- From: y2kbug_s97
- Re: SMS 2003 Adv Cli- Cache Deletion Problem
- References:
- Re: SMS 2003 Adv Cli- Cache Deletion Problem
- From: Marin Marinov
- Re: SMS 2003 Adv Cli- Cache Deletion Problem
- Prev by Date: Differences between SMS 2.0 and SMS 2003
- Next by Date: Re: SMS 2003 Adv Cli- Cache Deletion Problem
- Previous by thread: Re: SMS 2003 Adv Cli- Cache Deletion Problem
- Next by thread: Re: SMS 2003 Adv Cli- Cache Deletion Problem
- Index(es):
Relevant Pages
|