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. Performance Issue - Urgent

Performance Issue - Urgent

Added by Saranga Namala over 11 years ago

Hi,
Just installed OpenProject2.4 successfully with mysql5.5, ruby1.8.7-p370
HW Config:
VMware
Intel Core2Duo 2.53
2 GB RAM

Problem:
localhost:3000 is loading smoothly, But when I try to access with IP:3000 from another PC it takes ages to load.
Does anyone know what would have gone wrong? If there is a solution please post.

Thanks.
Namala.


Replies (2)

RE: Performance Issue - Urgent - Added by Philipp Tessenow over 11 years ago

Hi,

loading pages from another PC is really slow because of WEBrick (the built-in development web server). There are two ways out of it: Set-up a real production system, or replace WEBbrick and continue with the development set-up.

  1. A real production set-up can be done with the passenger gem . Passenger/Apache replace WEBrick and are way faster. Don’t forget to also set-up backups and monitoring.
  2. The easy and fast way is to leave your set-up as is and just replace WEBbrick. “Thin” is a good replacement - to integrate it, do the following:
  • edit (or create) the Gemfile.local file. Insert the line

gem ‘thin’

  • do bundle install to install thin and its dependencies

  • start your server with bundle exec thin -e production start (which uses some production settings, omit the -e production if you actually want to develop OpenProject)

The startup of the server should now look like this:


bundle exec thin -e production start  

> > Using rails adapter  
> > Thin web server (v1.5.1 codename Straight Razor)  
> > Maximum connections set to 1024  
> > Listening on 0.0.0.0:3000, CTRL+C to stop
> 
> 

yours,
Philipp

RE: Performance Issue - Urgent - Added by Saranga Namala over 11 years ago

Thanks.

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