Mysql connection was not closed before ruby process forked, so if one process close the connection, the other processes will get the error.
To verify this, you can "lsof -p <pid_of_ruby_process>", check the mysql unix socket, all of them must be referencing to the same one, and the parent ruby...