login community faq

Recently I discovered that my Redmine 1.1.3 installation had mysteriously stopped working (as seems to have happened here). I noticed that Redmine 1.2.1 can now be easily installed through the control panel, so I set about doing that and migrating the database from the old installation. After a bit of fiddling it works fine, however 'Passenger ApplicationSpawner' and 'Rails' were using about 80MB memory each, easily exceeding my 80MB limit. Webfaction quickly emailed me then killed these processes.

I followed this procedure and the two processes now use about 45MB each, which still exceeds my limit. I've temporarily stopped the app because of this. I didn't note memory usage of Redmine 1.1.3 when it was running but I never received any complaints about it, so I assume that it was under the 80MB total. The previous install was out of the box; I certainly didn't tweak any settings to reduce memory usage. Other people have had this problem too, it seems, but I couldn't find any real solutions in these forums or elsewhere.

Questions:

  • Is ~90MB typical for Redmine 1.2.1?
  • Is there anything I can do about it other than what's been mentioned above?

I am using only one external plugin to improve gantt charts (here). My actual usage of Redmine is very light: about 6 small projects and about 5 users.

Unfortunately I don't know anything about Ruby, Rails or any of the million other things that Redmine seems to require so my troubleshooting efforts have been minimal.

Any hints or comments would be appreciated.

asked Oct 19 '11 at 13:11

brooter's gravatar image

brooter
53


90MB of memory is typical for a Redmine project. You may be able to reduce the consumption as described in this related community guide.

Even with these changes, however, Redmine always uses a lot of memory. If you are primarily using Redmine for issue tracking and source-code viewing, Trac is a good alternative; it won't consume any of your memory (as it runs under the shared Apache) and works with both svn and git repositories.

answered Oct 19 '11 at 20:28

ryans's gravatar image

ryans ♦♦
28261420

Thanks - it's good (but somewhat disappointing) to know that 90MB is typical. For the record, I've already taken the steps mentioned in that community guide. Memory usage totalled >140MB before I did this!

Thanks also for the suggestion of Trac. I'll look in to this and see if it can meet my requirements.

(Oct 20 '11 at 02:55) brooter brooter's gravatar image

For those who, like me, were bugged with an additional Passenger ApplicationSpawner doubling the ram usage (if only 1 redmine process), try setting "passenger_spawn_method conservative;" in the nginx conf of your redmine application. Thus, no more ram-hungry "spawner" process (but if you need a big pool of redmine processes, this might hurt).

answered Jan 06 at 09:36

Pascal's gravatar image

Pascal
1

Can you provide additional details about where should I put the "passenger_spawn_method conservative;" option ? There is a http block and server block inside the http block.

Online documentation I found said I can put it anywhere, leading me to believe it needs more details.

(Mar 18 at 11:07) Mandar Vaze Mandar%20Vaze's gravatar image

You would be required to use it in the server block if you had multiple server blocks and wanted different spawn methods for each of them.

If that's not the case for you, then put it in the http block, outside of the server block.

(Mar 18 at 11:27) seanf ♦♦ seanf's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×56
×56
×35

Asked: Oct 19 '11 at 13:11

Seen: 1,707 times

Last updated: Mar 18 at 11:27

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited