doc/administration/settings/sidekiq_job_limits.md
{{< details >}}
{{< /details >}}
Sidekiq jobs get stored in Redis. To avoid excessive memory for Redis, we:
Prerequisites:
To access Sidekiq job size limits:
| Setting | Default | Description |
|---|---|---|
| Limiting mode | Compress | This mode compresses the jobs at the specified threshold and rejects them if they exceed the specified limit after compression. |
| Sidekiq job compression threshold (bytes) | 100 000 (100 KB) | When the size of arguments exceeds this threshold, they are compressed before being stored in Redis. |
| Sidekiq job size limit (bytes) | 0 | The jobs exceeding this size after compression are rejected. This avoids excessive memory usage in Redis leading to instability. Setting it to 0 prevents rejecting jobs. |
After changing these values, restart Sidekiq.