Skip to content

Commit

Permalink
Increased max connections for memcached chunks and index-queries too
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Pracucci <[email protected]>
  • Loading branch information
pracucci committed Nov 22, 2021
1 parent a70c931 commit 63f0dd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* [CHANGE] Increased `CortexIngesterReachingSeriesLimit` warning threshold from 70% to 80% and critical threshold from 85% to 90%. #404
* [CHANGE] Rename ruler_s3_bucket_name and ruler_gcs_bucket_name to ruler_storage_bucket_name: #415
* [CHANGE] Fine-tuned rolling update policy for distributor, querier, query-frontend, query-scheduler. #420
* [CHANGE] Increased memcached-metadata max connections from 4k to 16k. #420
* [CHANGE] Increased memcached metadata/chunks/index-queries max connections from 4k to 16k. #420
* [CHANGE] Disabled step alignment in query-frontend to be compliant with PromQL. #420
* [CHANGE] Do not limit compactor CPU and request a number of cores equal to the configured concurrency. #420
* [ENHANCEMENT] Add overrides config to compactor. This allows setting retention configs per user. #386
Expand Down
3 changes: 2 additions & 1 deletion cortex/memcached.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ memcached {
$.memcached {
name: 'memcached-index-queries',
max_item_size: '%dm' % [$._config.memcached_index_queries_max_item_size_mb],
connection_limit: 16384,
}
else {},

Expand All @@ -54,7 +55,7 @@ memcached {
// Save memory by more tightly provisioning memcached chunks.
memory_limit_mb: 6 * 1024,
overprovision_factor: 1.05,
connection_limit: 4096,
connection_limit: 16384,

local container = $.core.v1.container,
}
Expand Down

0 comments on commit 63f0dd0

Please sign in to comment.