Merge ~ines-almeida/launchpad-mojo-specs:lp-archive-add-max-size-content-cache into launchpad-mojo-specs:master

Proposed by Ines Almeida
Status: Merged
Merged at revision: c196476b384477406bb2a5e02376c6780205a6b3
Proposed branch: ~ines-almeida/launchpad-mojo-specs:lp-archive-add-max-size-content-cache
Merge into: launchpad-mojo-specs:master
Diff against target: 14 lines (+3/-0)
1 file modified
lp-archive/bundle.yaml (+3/-0)
Reviewer Review Type Date Requested Status
Ines Almeida Approve
Barry Price Approve
Review via email: mp+465997@code.launchpad.net

Commit message

lp-archive: add cache_max_size config to content-cache

The default is too high for the amount of disk space we currently use, so we set this value in production. The plan is to bump the disk space when possible, but while we don't, we should set a limit to prevent the units disk space to be completely used up

To post a comment you must log in.
Revision history for this message
Barry Price (barryprice) wrote :

LGTM +1

review: Approve
Revision history for this message
Ines Almeida (ines-almeida) wrote :

Auto-approving from the Launchpad reviewers side.
This is a trivial change that is already live in production.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lp-archive/bundle.yaml b/lp-archive/bundle.yaml
2index c2f8ea1..bbcf12a 100644
3--- a/lp-archive/bundle.yaml
4+++ b/lp-archive/bundle.yaml
5@@ -98,6 +98,9 @@ applications:
6 revision: 192
7 num_units: {{ content_cache_num_units }}
8 options:
9+{#- The current units have 30Gb of total space. The default value for this
10+ config (75% of disk space) is not restrictive enough. #}
11+ cache_max_size: "15g"
12 nagios_context: "{{ nagios_context }}"
13 sites: |
14 configs:

Subscribers

People subscribed via source and target branches