Hi all, Finally, the way I fixed this issue has been by creating an initializer that allocates a hash in which I have each router as a key and the number of concurrent connections to it. When a connection is going to be stablished, +1, when the SSH connection ends, -1.
On the controller I check for the value for the desired routers, and if the case, a warning message of 'overload' is reported on the router that exceeds that number of maximum connections. I don't care when the server is restarted, since that is a really short time window and I also don't care about losing the number of connections on a restart. It's just a matter of not being able to 'fry' the router with too many requests at a time. Thanks for the time and help. Best regards, Rafael Fernández López. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

