On 06/19/11 10:43, Frank Batschulat wrote:
On Sun, 19 Jun 2011 19:27:16 +0200, Shawn Walker
<[email protected]> wrote:

On 06/19/11 05:39, Frank Batschulat wrote:
so in the past we at least had a chance to cleanup the cache, which is
gone, in light of this I find it more and more surpirsing how
/var/pkg keeps
growing from build to build - will this ever shrink again ? will there
be an interface to cleanup this bit ? and what on earth is in it ?
the entire
system repository ? if yes, why can't we install zones local from it
rather
then going OTW ?

it has grown from 2,7 GB in build 157 upto nearly _9_ GB on build 167 !

Read pkg(1). There is a property there named
'flush-content-cache-on-success' that you may set to True.

Before FCS, we hope to implement additional pruning algorithms that
cause the client to more intelligently manage cached package content
found in /var/pkg/publisher.

The rest of the directories contain necessary metadata for the
operation of pkg and there are no plans to shrink them.

so why is that property not "true' by default, its obvious it should be
rather then an unbound growing, no ?

Because, until recently, that cache was used for zone install and update and a more comprehensive cache management mechanism has not yet been implemented.

I mean, 7GB are not some sort of "managed" cache content anymore. it
rather seems
to be un-managed given my entire root dataset takes up only 20GB
including this 7GB.

It is only partially managed, regardless, this is something that will be addressed. There are already bugs open to change cache management.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to