I used ruby's fork when I was sending 60,000 emails from one of Rails applications and it is wise to split the big result set and send emails of each chunk parallely on forks for faster processing! Here is a sample ruby code for processing N length data.
I tested it on Ubuntu 11, ruby 1.9.2, Rails 3.0.10
I tested it on Ubuntu 11, ruby 1.9.2, Rails 3.0.10