Too many connections


#1

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