Open link in a new tab

Content

Expand project menu

[Solved] My OpenProject 3.0 is very Slow

I have a VM with:

2 core Intel® Xeon® CPU, X5680 @ 3.33GHz, 4 GB de RAM.

The front-end OpenProject is very slow, in any action Ruby was 100%:

top - 14:46:27 up 11 days, 6:03, 1 user, load average: 0.13, 0.07, 0.11
Tasks: 83 total, 2 running, 81 sleeping, 0 stopped, 0 zombie
Cpu(s): 50.0%us, 0.2%sy, 0.0%ni, 49.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4049836k total, 2791664k used, 1258172k free, 178800k buffers
Swap: 1046524k total, 0k used, 1046524k free, 940240k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1512 root 20 0 1527m 1.3g 3660 R 100 33.6 47:31.58 ruby1.9.1
8764 root 20 0 0 0 0 S 0 0.0 0:40.85 kworker/0:2

Thanks
Regards.
Lucas Pereira

Message actions

My Linux is a Ubuntu 12.04.4 LTS 64 bits.

Message actions

Hello Lucas,

according to your top output you’re running Ruby 1.9.1. OpenProject 3.0 requires Ruby 2.1, so I recommend ýou to switch to Ruby 2.1 accordingly.

Does this help?

Kind regards,
Hagen

Message actions

I seem to recall having significant speed issues when I was configured to use Memcached but the service had stopped. Starting Memcached brought me back up to normal.

Also, be sure to precompile the assets.

Message actions

Thanks a lot.

I installed ruby 2.1 and of final version OpenProject 3.0. My problem was solved.

Thanks.
Lucas Pereira