"object too large for cache" error

Created on 15 August 2022, over 2 years ago
Updated 17 July 2024, 9 months ago

Problem/Motivation

Setting up a new server I see the following error occasionally:
Notice: MemcachePool::set(): Server 127.0.0.1 (tcp 11211, udp 0) failed with: SERVER_ERROR object too large for cache (3) in Drupal\memcache\Driver\MemcacheDriver->set() (line 17 of modules/contrib/memcache/src/Driver/MemcacheDriver.php)

Software versions:
memcached: 1.6.9+dfsg-1 amd64
PHP: 8.0.21
php8.0-memcache: 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-7+0~20220117.28+debian11~1.gbp8ceec4 amd64

Proposed resolution

Work out how to either configure memcached to avoid the problem, or change Memcache to fix the problem.

Remaining tasks

Work out the best approach.
Do eet.

User interface changes

n/a

API changes

TBD

Data model changes

TBD

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024