Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [SOLVED] Openproject slow down server (evt. memory leak)

[SOLVED] Openproject slow down server (evt. memory leak)

Added by M. Drobisch about 11 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)

RE: [SOLVED] Openproject slow down server (evt. memory leak) - Added by M. Drobisch about 11 years ago

We found the bug in our Mysql-Server.
Problem solved.

RE: [SOLVED] Openproject slow down server (evt. memory leak) - Added by Joel Small about 11 years ago

Hi,

I’m having memory issues with my deployment of openproject 3 also. What bug did you find in the mysql server?

RE: [SOLVED] Openproject slow down server (evt. memory leak) - Added by martin andreev over 9 years ago

Same problem here. Can you share how did you fix it?

RE: [SOLVED] Openproject slow down server (evt. memory leak) - Added by Chaitanya Bhanose about 3 years ago

Hi Same problem here, please let me know what was done to resolve the mysql server bug?

RE: [SOLVED] Openproject slow down server (evt. memory leak) - Added by Adam Szabo about 3 years ago

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!

  • (1 - 5/5)
Loading...