Content
Issues with Ubuntu 16.04 server and OpenProject
Added by Andy Osland over 7 years ago
I have a relatively new install of OpenProject on a test server. It is a Ubuntu 16.04 server. I noticed in my vCenter client that the test server was taking up a significant amount of CPU. I checked the processes and found that the two processes below were restarting (getting a new process ID on every refresh of htop) and they wouldn’t stay dead when I killed them. I need to kill them and then figure out what was happening with them. Does anyone know how to nicely stop the OpenProject server? I just went to the extreme and renamed the bin directory to bin.bak and that stopped it, but I would like to know how to do it nicely for when I put this into production.
Thank you,
Andy
openpro+ 21958 1 85 14:40 ? 00:00:04 /opt/openproject/vendor/bundle/ruby/2.3.0/bin/unicorn —config-file config/unicorn.rb —host 127.0.0.1 —port 6000 —env production
openpro+ 21987 1 0 14:41 ? 00:00:00 ruby /opt/openproject/bin/bundle exec rake jobs:work
Replies (3)
The package uses upstart to configure and scale the daemons that it runs. You listed both services that are used:
WEB_TIMEOUT
workers)I never heard of the issue you mention, only the unicorn master will kill and spawn new workers as they reach a specific lifetime/memory limit. Do you see anything suspicious in the web
* and worker* logs at/var/log/openproject/
?To manually control the services (downscale), use
openproject scale web=0
,openproject scale worker=0
(and 1 to re-enable).Best,
Oliver
Oliver,
Thank you very, very much for your reply. I went ahead and built a new dedicated server for Open Project and uninstalled it from the test server I had it on, but I don’t see and web
* or worker* logs in that directory. I just see some cron* and production* logs. That might be a result of the uninstall, but I don’t think so. Thank you for the commands, I’ll definitely use them in the future.I know it’s a little off subject, but is there a limit on how many users can use the community edition of OpenProject? I haven’t seen any limit stated, but I’d rather find out now than when it’s in production :-).
Thank you,
Andy
Hi Andy,
I don’t know by heart whether the logs are removed by default (should by if you
purge
it). Let us know If you run into issues again.Nope, there is no such limitation. The Enterprise Edition we provide only grants more features compared to CE. There are no imposed restrictions on the number of users, projects, or other objects in the installation.
Best,
Oliver