# Solaris MySQL Timeouts

**URL:** <https://www.ruby-forum.com/t/solaris-mysql-timeouts/171924>\
**Category:** Rails\
**Created:** [July 11, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/solaris-mysql-timeouts/171924 "2009-07-11T16:04:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 11, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/solaris-mysql-timeouts/171924/1 "2009-07-11T16:04:04Z")

</div>

Hello,

Running Jruby / Rails 2.2 on Solaris 10 x86 with SUN MySQL Enterprise  
and seeing intermittent timeouts via ActiveRecord (Connection Lost, No  
Message, etc). we have enabled the proper connection pooling in the  
servlet container via DBCP and have also tuned mysql wait\_timeout but  
still receiving these via ActiveRecord. We even added in an  
initializer to after\_dispatch verify\_all\_connections.

Has anyone encountered any issues similar to this on this  
environment? This appears to be specific to either solaris or MySQL  
enterprise not playing nice with the Rails connection pool and we are  
trying to nail it down.

Thanks
