Content
Memory leak?
Added by Väino Vaher over 10 years ago
Hello!
I have just installed OpenProject (3.1.0pre1; Mysql2) on Ubuntu 12.04 LTS 32-bit.
I am running it in a virtual environment and a remote MySQL instance.
Initially I assigned it 1GB RAM and it seemed to be doing OK with that (I am just tinkering, not doing any real work). Within a few hours it had consumed the memory, so I increased it to 2GB RAM. After approx 24 Hrs that is consumed as well.
To a beginner it looks like a memory leak; any amount will be consumed if I only run it long enough. Is that the case? Is there any help?
Should I deploy this for serious work (tens of users hammering at it 24/7) no ammount of memory seems enough. What is the experience of the community?
(I can’t choose OpenOffice for my task if it will run into trouble ever so often).
Replies (4)
Sorry! I mean “OpenProject”, not “OpenOffice”! I should have had one more cup of coffee!
Hello Väino,
just some questions for clarification:
Kind regards,
Hagen
Hello!
1. No, nothing in front of OpenProject. I access it directly on port 3000.
(I am just experimenting with the system so far).
2. I’m running linux. ‘top’ showed that the process ‘ruby’ consumed approx 98% of the [2GB] memory, i.e. Ruby itself was eating all the memory (and also started to consume virtual memory).
(PS! I re-started the system and currently the ‘ruby’ process consumes 200MB at minimal load.)
Hello Väino,
let me answer your question from the first post (Should I deploy this for serious work?): No, by no means! :-) For production we recommend using Apache with Passenger. For instance, the Debian setup contains instructions on how to set up OpenProject with Apache with Passenger.
I hope this helps you solving the memory issue.
Kind regards,
Hagen