[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Mock and squid



Anybody have squid working well with mock?

I followed the guide on the wiki (Extras/MockTricks) and have the
following non-default config options:

cache_swap_low 95
cache_swap_high 98
maximum_object_size 150000 KB
maximum_object_size_in_memory 8 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap LFUDA
cache_dir ufs /var/spool/squid 4400 16 256
acl localnet src 192.168.2.0/24
http_access allow localnet
memory_pools_limit 64 MB

/var/spool/squid is a separate 5G partition but squid seems very
reluctant to fill it. After several mock builds, it's using only a small
percentage of the available space:

/dev/mapper/VgBuildSys-squid
                       5160576    489928   4408504  11% /var/spool/squid

The store.log indicates that it's not saving much at all (most RPM
packages are RELEASE-d, and only the repodata XML files appear to be
being stored).

Any suggestions as to why this might be, and/or how to debug it?

Paul.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]