Skip to content

Redis crashes when processing lots of big messages #4

@john-gom

Description

@john-gom

What

When lots of big messages are sent to Redis it can't cope. The following is logged in the console:

# WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

See https://stackoverflow.com/questions/76830848/redis-warning-memory-overcommit-must-be-enabled for discussions on enabling the overcommit support.

Steps to reproduce the behavior:

Got the behaviour when testing sending the full product details to Redis when migrating historic events.

Expected behavior

Redis should keep running

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions