Project

General

Profile

Performance issue over apache

Added by Fanck Fanck almost 15 years ago

Hi,

I recently installed latest stable version of redmine (0.8-stable) and I'm running it over an apache vhost. I've configured the
dispatch.cgi with absolute patch, but I still get really slow response (over 30s). When I use 'top', I can see that ruby use almost all my CPU resources.

When I tested it with "ruby script/server webrick -e production" I had no issue.

Any help on this would be really appreciated.


Replies (2)

RE: Performance issue over apache - Added by Fanck Fanck almost 15 years ago

I forgot, I use rails 2.1.2, ruby 1.8.6, on a Gentoo server with mysql

RE: Performance issue over apache - Added by Janus Kristensen almost 15 years ago

cgi restarts the application each time. You may want to look into using fcgi which starts the application once and keeps it running so that it doesn't have to reinitialize all the time:

Have a look at the bottom of this guide:
http://plungeintomac.com/blog/redmine-on-apache/

    (1-2/2)