# Redis used\_memory가 1024mb로 제한되나요?

**URL:** https://meta.discourse.org/t/redis-used-memory-limited-to-1024mb/336676
**Category:** Support
**Created:** [11월 18, 2024, 7:07오전 UTC](https://meta.discourse.org/t/redis-used-memory-limited-to-1024mb/336676 "2024-11-18T07:07:20Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [11월 18, 2024, 7:07오전 UTC](https://meta.discourse.org/t/redis-used-memory-limited-to-1024mb/336676/1 "2024-11-18T07:07:20Z")

</div>

Redis가 1024MB를 초과하는 메모리를 사용할 수 없게 하는 어떤 제한이 있는 것 같습니다.

Sidekiq 대시보드에서 MB RSS 값이 그 수치를 초과하는 순간부터 다음과 같은 로그가 시작되는 것을 확인했습니다:

```plaintext
Your Redis network connection is performing extremely poorly. Last RTT readings were [96585, 101554, 97189, 99769, 94618], ideally these should be < 1000. Ensure Redis is running in the same AZ or dat

```

다음 명령어로 확인해 보았습니다:  
`./launcher enter app`  
`redis-cli info memory`

결과는 다음과 같습니다:

```plaintext
# Memory
used_memory:1072837696
used_memory_human:1023.14M
used_memory_rss:484577280
used_memory_rss_human:462.13M
..
maxmemory:0
maxmemory_human:0B

```

app.yml에 다음을 설정했습니다:  
`UNICORN_SIDEKIQ_MAX_RSS: 8000`

Sidekiq 대시보드에서는 4,553 MB의 RSS가 사용 중이고 사용률이 100%입니다. 이는 DISCOURSE\_SIDEKIQ\_WORKERS가 설정되지 않은(즉, 기본값인 5) 상태로 UNICORN\_SIDEKIQS가 2개인 경우입니다.

UNICORN\_SIDEKIQ\_MAX\_RSS가 Redis가 더 많은 RAM을 사용할 수 있도록 허용하는 것으로 알고 있었습니다. 조금 혼란스러운데, 조언을 주실 수 있을까요? :love_letter:

이것은 Discourse 3.3.2 Stable 버전에서 확인한 내용입니다.

---

_[View the full topic](https://meta.discourse.org/t/redis-used-memory-limited-to-1024mb/336676)._
