Bug #92949
contenu trop gros pour le cache (MemcacheServerError: b'object too large for cache')
Start date:
10 July 2024
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
Rencontré ici via l'API entreprise :
https://sentry.entrouvert.org/entrouvert/publik/issues/128087/
MemcacheServerError: b'object too large for cache' File "passerelle/utils/jsonresponse.py", line 134, in api resp = f(*args, **kwargs) File "passerelle/views.py", line 561, in perform result = self.endpoint(request, **params) File "passerelle/apps/api_entreprise/models.py", line 330, in associations raw_data = self.get(url % association_id, raw=True, **kwargs) File "passerelle/apps/api_entreprise/models.py", line 105, in get response = self.requests.get(url, data=params, cache_duration=300) File "requests/sessions.py", line 600, in get return self.request("GET", url, **kwargs) File "passerelle/utils/__init__.py", line 450, in request cache.set( File "django/core/cache/backends/memcached.py", line 82, in set if not self._cache.set(key, value, self.get_backend_timeout(timeout)): File "pymemcache/client/hash.py", line 358, in set return self._run_cmd('set', key, False, *args, **kwargs) File "pymemcache/client/hash.py", line 334, in _run_cmd return self._safely_run_func( File "pymemcache/client/hash.py", line 214, in _safely_run_func result = func(*args, **kwargs) File "pymemcache/client/base.py", line 462, in set return self._store_cmd(b'set', {key: value}, expire, noreply, File "pymemcache/client/base.py", line 1107, in _store_cmd self._raise_errors(line, name) File "pymemcache/client/base.py", line 940, in _raise_errors raise MemcacheServerError(error)
Related issues
Associated revisions
History
Updated by Frédéric Péters about 1 year ago
- Project changed from Passerelle to Hobo
- Assignee set to Frédéric Péters
Gérer ça une fois pour toutes à la source.
Updated by Robot Gitea about 1 year ago
- Status changed from Nouveau to En cours
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/156
- Titre : WIP: misc: ignore pymemcache cache failures (#92949)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/156/files
Updated by Frédéric Péters about 1 year ago
- Related to Bug #92583: 'object too large for cache' added
Updated by Frédéric Péters about 1 year ago
- Related to Bug #92770: dataviz, données trop grosses pour le cache (b'out of memory storing object') added
Updated by Robot Gitea about 1 year ago
- Status changed from Solution proposée to Solution validée
Gael Pasgrimaud (gpasgrimaud) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Robot Gitea about 1 year ago
- Status changed from Solution validée to Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/hobo/pulls/156
- Titre : misc: ignore pymemcache cache failures (#92949)
- Modifications : https://git.entrouvert.org/entrouvert/hobo/pulls/156/files
Updated by Transition automatique about 1 year ago
- Status changed from Résolu (à déployer) to Solution déployée
misc: ignore pymemcache cache failures (#92949)