1--- 2stage: none 3group: unassigned 4info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments 5type: reference 6--- 7 8# Sidekiq job size limits **(FREE SELF)** 9 10> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68982) in GitLab 14.3. 11 12[Sidekiq](../../../administration/sidekiq.md) jobs get stored in 13Redis. To avoid excessive memory for Redis, we: 14 15- Compress job arguments before storing them in Redis. 16- Reject jobs that exceed the specified threshold limit after compression. 17 18To access Sidekiq job size limits: 19 201. On the top bar, select **Menu >** **{admin}** **Admin**. 211. On the left sidebar, select **Settings > Preferences**. 221. Expand **Sidekiq job size limits**. 231. Adjust the compression threshold or size limit. The compression can 24 be disabled by selecting the **Track** mode. 25 26## Available settings 27 28| Setting | Default | Description | 29|-------------------------------------------|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 30| Limiting mode | Compress | This mode compresses the jobs at the specified threshold and rejects them if they exceed the specified limit after compression. | 31| 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. | 32| 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. | 33 34After changing these values, [restart Sidekiq](../../../administration/restart_gitlab.md). 35