Content
[SOLVED] Openproject slow down server (evt. memory leak)
Added by M. Drobisch over 10 years ago
hello Openproject-Team,
we finally managed to migrate from chiliproject to openproject release/3.0 .
We love this create peace of software. Thank you for that.
Now we have running Openproject in production, we mentioned slowing down our server rapidly from time to time.
In this case we get CPU-workload of 99% (from ruby process).
It seems the ruby freeze at some point.
The workarround for now is to kill such ruby-processes manualy.
Is there anything we made wrong by running openproject?
Please help us with this problem.
Here some detail information:
Installation: Installation-guide from wiki (Ubuntu 12.04)
System: linux64-bit, 2 GB Ram, VirtualHost
Branch: release/3.0
Mode: production
Server: Apache2 with passenger gem
Assets: precompiled
Memchached: activated
Bundler: 1.5.3
Ruby: 2.1.0p0
Production-Configuration (openproject/config/enviroments/production.rb)
OpenProject::Application.configure do config.cache_classes = true config.consider_all_requests_local = false config.action_controller.perform_caching = true # Disable Rails's static asset server (Apache or nginx will already do this) config.serve_static_assets = false # Compress JavaScripts and CSS config.assets.compress = true # Don't fallback to assets pipeline if a precompiled asset is missed config.assets.compile = false # Generate digests for assets URLs config.assets.digest = true config.assets.precompile += %w( default.css rtl.css context_menu_rtl.css accessibility.js accessibility.css copy_issue_actions.js repository_naviengation.js select_list_move.js jstoolbar/lang/*.js calendar/lang/*.js ) # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation can not be found) config.i18n.fallbacks = true # Send deprecation notices to registered listeners config.active_support.deprecation = :notify end
Apache2-Passenger-Mod (apache2/mods-available/passenger.config
<IfModule mod_passenger.c> PassengerRoot /home/openproject/.rvm/gems/ruby-2.1.0/gems/passenger-4.0.38 PassengerDefaultRuby /home/openproject/.rvm/gems/ruby-2.1.0/wrappers/ruby PassengerPoolIdleTime 180 PassengerMaxPoolSize 4 </IfModule>
Apache2-Site-Configuration (apache2/site-available/openproject)
<VirtualHost *:3000> ServerName our-site.lan DocumentRoot /home/openproject/openproject/public <Directory /home/openproject/openproject/public> AllowOverride all RailsEnv production RailsBaseURI /openproject Options -MultiViews +Includes +FollowSymlinks +Indexes PassengerResolveSymlinksInDocumentRoot on Order deny,allow Allow from all </Directory> </VirtualHost>
Replies (5)
We found the bug in our Mysql-Server.
Problem solved.
Hi,
I’m having memory issues with my deployment of openproject 3 also. What bug did you find in the mysql server?
Same problem here. Can you share how did you fix it?
Hi Same problem here, please let me know what was done to resolve the mysql server bug?
If you have the same issue, then you have installed OpenProject Version 3 :)
So please share the information about your environment, in order to see, if it is really the same issue, this topic is 8! years old!