ruby - Redmine starts slow on Linux -
how redmine start fast on linux (centos)?
i upgraded last week: latest redmine, ruby, passenger, etc...
i tried find in redmine forum , other posts of getting speed faster, is: when requesting redmine website after few hours being idle, starts slow, it's blazing fast.
i using apache web server passenger. below current apache config, please advice, out of ideas:
loadmodule passenger_module /usr/local/rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.19/buildout/apache2/mod_passenger.so passengerroot /usr/local/rvm/gems/ruby-1.9.3-p448/gems/passenger-4.0.19 passengerdefaultruby /usr/local/rvm/wrappers/ruby-1.9.3-p448/ruby # refs: # http://stackoverflow.com/questions/8235309/redmine-perfomance-inconsistency # http://www.redmine.org/boards/2/topics/31783 # option should 0, has issue: https://code.google.com/p/phusion-passenger/issues/detail?id=904 passengerpoolidletime 999999 passengermininstances 2 passengerhighperformance on passengerprestart https://myhost/redmine passengermaxpoolsize 5 passengermaxinstancesperapp 4 passengerstatthrottlerate 10 railsappspawneridletime 0 passengermaxpreloaderidletime 0 railsbaseuri /redmine railsenv production
i solved setting cron job request redmine homepage every 15 minutes:
*/15 * * * * /usr/bin/curl http://redmine_server/ --stderr - > /dev/null
Comments
Post a Comment