We were able to fix this by changing the max object size for memcached to 20MB in our on-premise installation.
Here’s the git diff to docker-compose.yml
& sentry/sentry.conf.py
:
diff --git a/docker-compose.yml b/docker-compose.yml
index 29342e4..fdff56e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -100,6 +100,7 @@ services:
memcached:
<<: *restart_policy
image: "memcached:1.6.9-alpine"
+ command: "-I 20M"
healthcheck:
<<: *healthcheck_defaults
# From: https://stackoverflow.com/a/31877626/5155484
diff --git a/sentry/sentry.conf.py b/sentry/sentry.conf.py
index 2d89b56..ee17609 100644
--- a/sentry/sentry.conf.py
+++ b/sentry/sentry.conf.py
@@ -107,6 +107,9 @@ CACHES = {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"LOCATION": ["memcached:11211"],
"TIMEOUT": 3600,
+ "OPTIONS": {
+ "server_max_value_length": 1024 * 1024 * 20,
+ },
}
}
Tried to upload a pic of the diff but uploading didn’t work.