プロジェクト

全般

プロフィール

Vote #81208

未完了

High memory usage in Redmine 4.0.5.stable

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Performance_53
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
53
version_id:
0
issue_org_id:
34497
author_id:
488734
assigned_to_id:
0
comments:
1
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
153
ステータス-->[Needs feedback]

説明

Hi Team,

We are getting high memory usage in Redmine, we have been using redmine (same version ) for last 1 year or more.But we didn't face this issue untill 2 weeks before, For the last two weeks , we are seeing high memory usage in Redmine.

Environment:
Redmine version 4.0.5.stable
Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp

It would be nice if you can provide some information to debug this issue.


journals

"high" is a rather subjective designation. Without specific numbers, it is impossible to verify this nor is it possible to tell you whether your numbers might be normal.

With that being said, it is quite normal to see a single application process of an application server such as unicorn or passenger to use between 256 and 512 MB. Depending on your workload, this might temporarily spike to more than 1 GB per process (e.g. if you have large issues or issue trees, make "expensive" queries, ...

Depending on how you have configured application caches, those might also affect memory usage (by default, Redmine uses an in-memory cache).

To restrict the amount of memory used by your application server, you might use options such as "PassengerMemoryLimit ":https://www.phusionpassenger.com/library/config/apache/reference/#passengermemorylimit for passenger or the "Unicorn::WorkerKiller":https://github.com/kzk/unicorn-worker-killer when using unicorn (or an equivalent option of your chosen application server).

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリPerformance_53 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0