# 3.4.0.beta4-dev(58f75ed205) 업그레이드 이후 CPU 사용량 증가

**URL:** <https://meta.discourse.org/t/increased-cpu-usage-since-3-4-0-beta4-dev-58f75ed205-upgrade/350200>\
**Category:** Product Support\
**Created:** [2월 3, 2025, 4:18오전 UTC](https://meta.discourse.org/t/increased-cpu-usage-since-3-4-0-beta4-dev-58f75ed205-upgrade/350200 "2025-02-03T04:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LotusJeff](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lotusjeff/32/477888_2.png) [@LotusJeff](https://meta.discourse.org/u/LotusJeff)\
**Post date:** [2월 3, 2025, 4:18오전 UTC](https://meta.discourse.org/t/increased-cpu-usage-since-3-4-0-beta4-dev-58f75ed205-upgrade/350200/1 "2025-02-03T04:18:23Z")

</div>

이번 주말 업그레이드 이후 CPU 사용량이 상당히 증가한 것을 확인했습니다. RUBY 프로세스가 주요 원인으로 보입니다. 이는 해당 [토픽](https://meta.discourse.org/t/high-cpu-usage-ruby/348913/10)에서 다른 디스코스(Discourse) 사용자가 언급한 내용과 일치합니다.

아래 그래프에서 볼 수 있듯이, 업그레이드 이전의 CPU 사용량과 로드는 업그레이드 이후보다 훨씬 낮았습니다. 업그레이드는 1월 31일 저녁에 수행되었습니다.

 ![1월 27일부터 2월 2일까지의 CPU 및 로드(%)를 보여주는 그래프입니다. (AI가 작성한 캡션)](https://global.discourse-cdn.com/meta/original/4X/f/4/3/f43f18a4c4cd284458388da29bd443c8fd30e0d9.png)

33시간 간격으로 촬영한 TOP 명령어 실행 결과 두 장입니다:

 ![2월 1일 오후 1:00 (CT) TOP 데이터](https://global.discourse-cdn.com/meta/original/4X/a/0/f/a0f611e9a42cdc21e60d8c962f586a5dcc4b5061.png)

 ![2월 2일 오후 9:45 (CT) TOP 데이터](https://global.discourse-cdn.com/meta/original/4X/3/e/b/3eba7d8f36373d109ef0d3c593b62807e710a9b0.png)

33시간 동안 ruby 프로세스의 CPU 사용량이 현저히 증가했습니다. TOP 데이터에 따르면, 지난 22일 동안의 CPU 사용량 대비 최근 33시간 동안 CPU 사용량이 2배로 증가했습니다. 33시간 동안 총 11시간의 CPU 시간을 사용했습니다. (5개의 PID에 걸쳐 총 648분)

추가 데이터:

- 지난 이틀간 트래픽은 약 10% 감소했습니다. (애널리틱스 및 대시보드 기준)
- 표준 단일 컨테이너 Discourse 설치 (채팅 없음)
- Sidekiq 큐는 최소 수준입니다. (하루 1,000~2,000건)
- Discourse 로그에서 특이한 사항은 발견되지 않았습니다.
- 8GB RAM과 2개 AMD vCPU를 갖춘 DO(DigitalOcean) 서버에서 실행 중입니다.

서버가 완전히 다운된 상황은 아니지만, 5%~7% 수준으로 돌아가는 서버가 25% 수준으로 돌아가는 서버보다 훨씬 안정적입니다.

이 문제를 해결하는 데 도움이 될 수 있는 어떤 정보를 제공해야 할까요?

감사합니다.

---

_[View the full topic](https://meta.discourse.org/t/increased-cpu-usage-since-3-4-0-beta4-dev-58f75ed205-upgrade/350200)._
