[Mongrel] Mongrel + Rails keep connecting DB

Guy Nick secrectcode at gmail.com
Sat May 12 13:33:51 EDT 2007


Hi,

I use apache2 + mongrel_cluster + rails + mysql  to run my website.
When I read mysql log, I found that rails will connect to mysql every sql
command.
And the connection will not be closed after the sql command is done.
I guess the connection cache will not be retrieved somehow.

It will not happened when I use either webrick or lighttpd.
Any idea about this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070513/69078e4e/attachment.html 


More information about the Mongrel-users mailing list