Performance issue over apache
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.
RE: Performance issue over apache - Added by Fanck Fanck over 11 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 over 11 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: