Skip to content

Commit 0d5d4f2

Browse files
authored
fix: memcached size limits (#688)
This change updates our memcached values file, without this change memcached is running stock settings, with only 64M of cache, 4 threads, and a very limited number of allowed connections. This adjusts the settings to run with known good configurations and documents how operators can change the values as needed. Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
1 parent b0d735b commit 0d5d4f2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

base-helm-configs/memcached/memcached-helm-overrides.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,18 @@ args: []
123123
## - name: FOO
124124
## value: "bar"
125125
##
126-
extraEnvVars: []
126+
# Set the cache size limit to less than the PVC size, default is 10Gi, vlaue is written in megabytes
127+
# Review https://hub.docker.com/r/bitnami/memcached for more information.
128+
extraEnvVars:
129+
- name: MEMCACHED_CACHE_SIZE
130+
value: "9216"
131+
- name: MEMCACHED_MAX_CONNECTIONS
132+
value: "4096"
133+
- name: MEMCACHED_THREADS
134+
value: "8"
135+
- name: MEMCACHED_MAX_ITEM_SIZE
136+
value: "4194304"
137+
127138
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Memcached nodes
128139
##
129140
extraEnvVarsCM: ""

0 commit comments

Comments
 (0)