Hi<br><br>I just setup a server (Apache 2.2, mod_proxy_balancer, mongrel_cluster) with 2 Rails applications according to this excellent Post:<br><a href="http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you">
http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you</a><br><br>Everythings works great, but after a long inactive period (say one night), the first 3 connections allways get an Error 500
<br><br>Excerpt from production.log:<br>...<br>Rendering authentication/login<br>Completed in 0.00301 (332 reqs/sec) | Rendering: 0.00279 (92%) | DB: 0.00000 (0%) | 200 OK<br>[<a href="http://myapp/authentication/login">http://myapp/authentication/login
</a>]<br>Mysql::Error: MySQL server has gone away: SELECT * FROM sessions WHERE (session_id = '875b6a6dff4de7e8bb2f7709cf9c31db')&nbsp; LIMIT 1<br>...<br><br>Note: the mongrel cluster is configured to have 3 mongrel processes.&nbsp; Is this a clue&nbsp; why&nbsp; only the first 3 connections allways get the error ?
<br>Thanks for your input.<br><br><br>