confused by fork() in rake file

I have a rake file below that forks some processes, but it seems like
it has more processes than I'd expect, yet it only starts one rails
server. I guess I may try to move the fork() calls into a seperate
module