Project

General

Profile

Actions

Defect #43653

closed

Increase in RAM on a machine running Redmine version 5.0.5

Added by Gabriela Santillan 24 days ago. Updated 22 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Since the upgrade to Redmine version 5.0.5 on the Ubuntu server, an increase in RAM usage has been observed. As a result, it is necessary to restart the Redmine service to reduce memory consumption.

It is necessary to review and monitor this behavior to determine whether it is related to a bug in Redmine version 5.0.5? The increase in RAM usage may be associated with recent changes in this version, potentially related to the email delivery functionality?

Have you encountered a similar issue?

We appreciate your assistance in advance.

Actions #1

Updated by Holger Just 23 days ago

  • Status changed from New to Needs feedback

Please add a lot more details:

  • From which version have you updated?
  • Do you use any plugins? If so, which?
  • Are you using the default (inline) queues or an external queue?
  • What exactly was your previous RAM usage, what is it now?
  • How does the RAM usage change over time?

Please see also SubmittingBugs.

Actions #2

Updated by Holger Just 23 days ago

In any case, please be aware that Redmine 5.0.5 is an old version of the 5.0 branch which contains several known security issues.

The 5.0 branch in general does not receive any updates anymore and is now fully unsupported. Please update to a newer Redmine version instead.

Actions #3

Updated by Gabriela Santillan 23 days ago

Hello Holger

Responding to your questions:
  1. From which version have you updated?
    Redmine 3.4.4
  1. Do you use any plugins? If so, which?
    • Redmine Agile plugin (Light version)
    • Redmine Banner plugin
    • Redmine Indicator
    • Redmine Local Avatars plugin
    • Redmine (Monitoring & Controlling | Monitoramento & Controle)
    • Redmine People plugin (Light version)
    • RedmineX Lightbox2
    • Sidebar Hide Plugin
  1. Are you using the default (inline) queues or an external queue?
    Default
  1. What exactly was your previous RAM usage, what is it now?
    Previously it used 40%, and now it goes up to 90% - 99%.

If you need more information, I’m available.

Thank you for your help.

Actions #4

Updated by Holger Just 22 days ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Cant reproduce

Well, if 40% RAM usage corresponds to 256 MB per app server process, that is rather little. If it corresponds to 2 GB, it might be much. The exact numbers matter here.

In any case, RAM usage heavily depends on the app server you use and its concurrency model. Generally, the more processes you run, the more RAM the whole system will use (but it will also increase the number of parallel requests which can be handled).

There are various possible ways to reduce RAM usage, including:

  • Reduce the number of application processes.
  • Try to remove the plugins as they might cause increased RAM usage
  • Extracting functionality to separate processes such as using a separate queue. However, the queue worker processes will also use memory.
  • Try updating your Ruby version to the latest version supported by your Redmine. Newer Ruby versions may reduce RAM usage.
  • Depending on your usage pattern, it may be helpful to use a different memory allocator. Especially jemalloc often helps to reduce overall memory pressure of Rails applications. Setting this up however is rather advanced and depends heavily on your hosting environment.
  • If you are running other processes other than the Redmine application (such as a memcached or redis, or your database server) on the same system, these might also require more RAM and might need to be further tuned.
  • Your original Redmine 3.4.4 was released about 6 years ago. If you re-used the same server, it might just be time to just get a larger server. Note again my previous remarks about your "new" 5.0.5 version being still outdated.

In any case, the issues on redmine.org are used for development and to handle specific known bugs. For more open-ended questions such as these, please use the forums instead.

Actions

Also available in: Atom PDF