Forum: Ruby on Rails Too many connections

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jules J. (Guest)
on 2006-03-01 17:30
(Received via mailing list)

There is a problem with my connection. If I start webrick, the first
~100 pageviews work fine, but after that, Rails complains that mysql
complains that there are too many connections. I'm running edgerails,
and I'm using RJS templates. (maybe rails doesn't close connections with

If I restart mysql, everything works fine, but I get the same error
after another 100 requests.

What could be the problem, and how do I fix it?

Thanks in advance,

This topic is locked and can not be replied to.