Forum: Ruby on Rails Too many connections

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Jules Jacobs (Guest)
on 2006-03-01 16:30
(Received via mailing list)
Hi,

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
rjs?).

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,

Jules
This topic is locked and can not be replied to.