Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Our redmine server is not responding due to connecting it to a large repository. It has not crashed but it's just busy until it checks it out, or whatever redmine does when you set a new repo for a project. What is surprisning is that this operation is not running int the background but blocking the server.

Is there any way to have redmine to this in the background next time we connect a large repo?

Thanks

share|improve this question

2 Answers 2

As far as I know, there's no way to background the task from the web interface, but you can run the following from the command line periodically (i.e. from cron) to limit the impact on your web users:

rake redmine:fetch_changesets RAILS_ENV=production

However, it sounds like you're only running one application server process (Mongrel?) to service all of your requests, which would be the real bottleneck in your environment. Have you considered running a farm of Mongrel/Thin/Unicorn servers in the background and load-balancing between them, or using an alternate deployment mechanism like Passenger?

share|improve this answer

Using Rake tasks is a good place to start. But it is better to use it together with the disabled option "Fetch commits automatically". Even if the rake task already fetches commits, if some user go to the repository tab of some project, redmine seems to start fetching commits from the web application.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.