Mod_rails slow on startup

software development


I have a simple rails application that uses mod_rails, has one table and two records in that table. My problem is that it takes over 20 seconds to access the initial page that gets the list (of two records). After that, it’s fast.

Then, if I leave it alone for 5 minutes, it’s slow again on the initial access.


Might want to make a support ticket for this.

Also, maybe it’s something simple, can you list the domain?

  • Greg
  • DreamHost Technical Support


It seems to be better. This is a toy site so I’m not worried, just curious.

I wonder what the setting is for RailsPoolIdleTime. I read that many sites set a large number for this so that even if there are no hits, the application is up and running.