We are running Redmine 1.0 on Apache/2.2.3 with Passenger and ruby 1.8.7 and rails 2.3.5. The hardware is a 512MB Linode VPS. We are experiencing a 5-6 second delay when accessing Redmine for the first time in a period. After we have accessed it, the pages load very fast. Is this a misconfiguration or expected behavior? Anything we can do to make our developers a little happier?
One way to keep an application instance up for a longer time is to modify:
See Phusion Passenger users guide for more info on this.
So far I have good experience setting it to 3600.
Is there any way to keep it in memory after first launch to avoid future delays?
PassengerPoolIdleTime 0 works like a charm. How did I miss that option?
Its typical behavior for just about any Rails app, at least in my experience. Its particularly true of an app as large as Redmine. The load time is because you're actually starting an executable and loading the app into memory on that first launch.