Re: SMS 2003 Adv Cli- Cache Deletion Problem



Rune,

Thank you for your response. This looks like something I would like to do
as well. After all, I have many old packages that are no longer needed any
longer. I will take a look at your suggestion.

Thanks again!!!


"Rune Norberg" wrote:

> 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
>
>
>
.



Relevant Pages

  • Re: Client Cache
    ... the MSI file from the cache and updates the source list. ... > When a package is downloaded it is placed in the cache and locked. ... SMS> does ... > Users with administrative credentials on the computers they are using can> manage the download ...
    (microsoft.public.sms.misc)
  • Re: Client Cache
    ... > I had a question about the client cache. ... > Managing the Advanced Client download cache is important if the client ... > When a package is downloaded it is placed in the cache and locked. ... > After SMS unlocks the package, it cannot be locked again unless it is ...
    (microsoft.public.sms.admin)
  • Re: SMS 2003 Adv Cli- Cache Deletion Problem
    ... "Rune Norberg" wrote: ... > deletes elements in the client cache that hasn't been referenced in the last ... >> The SMS Advanced client doesn't reserve free space for its cache. ...
    (microsoft.public.sms.swdist)
  • Changing Client Cache settings
    ... I currently have a SMS 2003 SP1 site installed with the default client cache ... I know how to change the cache size; ... reinstalling the client (using the above settings) will work, ...
    (microsoft.public.sms.admin)
  • Changing Client Cache Settings
    ... I currently have a SMS 2003 SP1 site installed with the default client cache ... I know how to change the cache size; ... reinstalling the client (using the above settings) will work, ...
    (microsoft.public.sms.swdist)