Project

General

Profile

Bug #92949

contenu trop gros pour le cache (MemcacheServerError: b'object too large for cache')

Added by Sentry Io 10 days ago. Updated 4 days ago.

Status:
Solution déployée
Priority:
Normal
Category:
-
Target version:
-
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

Related to BiJoe - Bug #92583: 'object too large for cache'Fermé02 July 2024

Actions
Related to Combo - Bug #92770: dataviz, données trop grosses pour le cache (b'out of memory storing object')Fermé05 July 2024

Actions

Associated revisions

Revision de8744aa (diff)
Added by Frédéric Péters 8 days ago

misc: ignore pymemcache cache failures (#92949)

History

#1

Updated by Frédéric Péters 10 days ago

  • Project changed from Suivi des traces to Passerelle
#2

Updated by Frédéric Péters 8 days ago

  • Project changed from Passerelle to Hobo
  • Assignee set to Frédéric Péters

Gérer ça une fois pour toutes à la source.

#3

Updated by Robot Gitea 8 days ago

  • Status changed from Nouveau to En cours

Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :

#4

Updated by Frédéric Péters 8 days ago

  • Related to Bug #92583: 'object too large for cache' added
#5

Updated by Frédéric Péters 8 days ago

  • Related to Bug #92770: dataviz, données trop grosses pour le cache (b'out of memory storing object') added
#6

Updated by Robot Gitea 8 days ago

  • Status changed from En cours to Solution proposée
#7

Updated by Robot Gitea 8 days ago

  • Status changed from Solution proposée to Solution validée

Gael Pasgrimaud (gpasgrimaud) a approuvé une pull request sur Gitea concernant cette demande :

#8

Updated by Robot Gitea 8 days 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 :

#9

Updated by Transition automatique 4 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF