Merge lp:~hloeung/ubuntu-repository-cache/cache-memory-tuning into lp:ubuntu-repository-cache
Status: | Merged |
---|---|
Approved by: | Haw Loeung |
Approved revision: | 293 |
Merged at revision: | 291 |
Proposed branch: | lp:~hloeung/ubuntu-repository-cache/cache-memory-tuning |
Merge into: | lp:ubuntu-repository-cache |
Diff against target: |
187 lines (+84/-20) 4 files modified
config.yaml (+6/-0) lib/ubuntu_repository_cache/squid.py (+33/-15) lib/ubuntu_repository_cache/tests/test_squid.py (+43/-3) templates/squid-deb-proxy/squid-deb-proxy.conf (+2/-2) |
To merge this branch: | bzr merge lp:~hloeung/ubuntu-repository-cache/cache-memory-tuning |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Canonical IS Reviewers | Pending | ||
Review via email: mp+394925@code.launchpad.net |
Commit message
Allow runtime tuning of memory used by squid
Description of the change
Before:
$ juju run --application ubuntu-
- Stdout: |
cache_mem 1428 MB
UnitId: ubuntu-
- Stdout: |
cache_mem 256 MB
UnitId: ubuntu-
- Stdout: |
cache_mem 256 MB
UnitId: ubuntu-
After:
$ juju run --application ubuntu-
- Stdout: |2
Mem: 13 0 2 0 10 12
cache_dir aufs /srv/ubuntu-
cache_mem 3588 MB
UnitId: ubuntu-
- Stdout: |2
Mem: 6 0 2 0 3 5
cache_dir aufs /srv/ubuntu-
cache_mem 1241 MB
UnitId: ubuntu-
- Stdout: |2
Mem: 6 0 2 0 3 5
cache_dir aufs /srv/ubuntu-
cache_mem 1241 MB
UnitId: ubuntu-
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.