On 2/28/2012 7:15 AM, Shawn Walker wrote:
On 02/27/12 23:17, [email protected] wrote:
Is there any way to control the size of the cache used by pkgrecv on
space limited systems?

No.

However, it will clear the cache after each package is copied to the destination repository though. So the maximum size of the repository should be a few hundred megabytes at the most during operations.

I'm seeing my cache at 6GB and growing, effectively doubling my space requirements,
so I'm not sure if I'm doing something wrong here:

pkgrecv --key key --cert cert -c /var/tmp/cache/mycache -s https://pkg.oracle.com/solaris/support -d /var/tmp/testrepo -m all-versions '*'
Processing packages for publisher solaris ...
Retrieving and evaluating 7597 package(s)...
PROCESS ITEMS GET (MB) SEND (MB) editor/gnu-emacs/gnu-emacs-gtk 3295/7597 5609.7/14232.5 15160.5/43793.6 system/kernel 3748/7597 6399.2/14232.5 17350.5/43793.6
...



# du -sk /var/tmp/cache/mycache/
6345486 /var/tmp/cache/mycache

# du -sk /var/tmp/testrepo/
6471435 /var/tmp/testrepo

--shri





-Shawn

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

Reply via email to