So I have a method that is run every 10 minutes (Background.cron) to be exact.
Background.cron loops through a set of database rows and if certain criteria are met, an ActionMailer method is run to send out an email.
But what seems to be happening is (according to my logs) when the ActionMailer method is run, the Background.cron method stops until the next cron job is ready to start.
What could the explanation for this be?
Server setup is Apache 2 with Passenger and Ruby Enterprise Edition.
PassengerMaxPoolSize is set to 10 and PassengerMaxInstancesPerApp is 5.
I have a 512MB slice on Slicehost.