Project

General

Profile

Redmine consumes too much memory (~250 MB)

Added by Ozgun Koyun over 13 years ago

Hi,

I've recently upgraded from 0.7.4 to 1.0.3 stable. Everything went smooth at first, then I started to get Passenger errors. After investigating the situation, I noticed that the redmine process was killed by some kind of evil process killer which was installed by the hosting company (Dreamhost). As you may have guessed, this redmine app is hosted on a Dreamhost shared server.

Here is some info from the Dreamhost server:

  - RUBYGEMS VERSION: 1.3.6
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux

rails 2.3.5
rack 1.0.1
passenger 2.2.9

Then, I installed the same redmine app by copying files and cloning database to my localhost. It is consuming 80-90 MB of memory. (passenger 2.2.9, ruby 1.8.7, rails 2.3.5)

What could be the reason? Do you think it is related to passenger configuration?

Thanks,
-Ozgun.


Replies (2)

RE: Redmine consumes too much memory (~250 MB) - Added by Felix Schäfer over 13 years ago

250mb is not an abnormal memory usage for redmine. Do you download large files from redmine?

RE: Redmine consumes too much memory (~250 MB) - Added by Ozgun Koyun over 13 years ago

I also tested it with empty "files" directory, nothing changed.

The same application consumes 70MB on another VPS. Here are the stats of consumed memory for 2 different VPS: (ps v -e |grep -i rails)

VIRT   RES    VPS
240MB  120MB  Dreamhost
70MB   60MB   Other VPS

They both run on Apache and passenger(2.2.9)

Thanks,

    (1-2/2)