Merge lp:~cjwatson/launchpad/more-memcached-size into lp:launchpad

Proposed by Colin Watson
Status: Merged
Merged at revision: 18949
Proposed branch: lp:~cjwatson/launchpad/more-memcached-size
Merge into: lp:launchpad
Diff against target: 38 lines (+3/-3)
3 files modified
configs/development/launchpad-lazr.conf (+1/-1)
configs/testrunner/launchpad-lazr.conf (+1/-1)
lib/lp/services/config/schema-lazr.conf (+1/-1)
To merge this branch: bzr merge lp:~cjwatson/launchpad/more-memcached-size
Reviewer Review Type Date Requested Status
William Grant code Approve
Review via email: mp+366620@code.launchpad.net

Commit message

Bump memcached memory size to two megabytes.

Description of the change

The defaults cause memcached 1.5.6 to complain that slab_chunk_max is larger than item_size_max. Since this is just for local development and testing, it's easiest to just increase the memory size to avoid this.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configs/development/launchpad-lazr.conf'
2--- configs/development/launchpad-lazr.conf 2019-04-23 12:30:16 +0000
3+++ configs/development/launchpad-lazr.conf 2019-04-28 15:19:04 +0000
4@@ -165,7 +165,7 @@
5 verbose: False
6 address: 127.0.0.1
7 port: 11217
8-memory_size: 1
9+memory_size: 2
10
11 [personalpackagearchive]
12 root: /var/tmp/ppa/
13
14=== modified file 'configs/testrunner/launchpad-lazr.conf'
15--- configs/testrunner/launchpad-lazr.conf 2019-04-23 12:30:16 +0000
16+++ configs/testrunner/launchpad-lazr.conf 2019-04-28 15:19:04 +0000
17@@ -144,7 +144,7 @@
18 # The test suite takes care of launching this as necessary.
19 launch: false
20 verbose: false
21-memory_size: 1
22+memory_size: 2
23 address: 127.0.0.1
24 # We want a different port to ensure we don't pick up stray memcached
25 # processes spawned through some other mechanism.
26
27=== modified file 'lib/lp/services/config/schema-lazr.conf'
28--- lib/lp/services/config/schema-lazr.conf 2019-04-23 12:30:16 +0000
29+++ lib/lp/services/config/schema-lazr.conf 2019-04-28 15:19:04 +0000
30@@ -1449,7 +1449,7 @@
31 verbose: false
32 # Cache size in megabytes for local memcached instance.
33 # datatype: integer
34-memory_size: 1
35+memory_size: 2
36 # Address for local memcached instance to bind to.
37 # datatype: ip_address_or_hostname
38 address: 127.0.0.1