Re: Weird Unicorn Timeout Issues (Hibernation problem?)

2014-08-06 Thread Tony Devlin
Eric, The problem is a firewall that sits between the servers and the database. It is an idle session timeout of 30 minutes, so it is silently killing the connection. I have reached out to our Network Engineering department but they are saying they can not change that idle session timeout, nor

Re: Weird Unicorn Timeout Issues (Hibernation problem?)

2014-08-05 Thread Tony Devlin
I appreciate all your help Eric and Daniel. I have not solved this yet, but I think I have narrowed it down to a Firewall timeout issue. One app uses a database connection to Oracle, the other app uses a 3rd Party API (still on location, but across the network). The ping times to both of these

Weird Unicorn Timeout Issues (Hibernation problem?)

2014-08-04 Thread Tony Devlin
Current Setup: (the problem existed before updating nginx, unicorn and rails; but in an attempt to solve the problem I updated them). CentOS 6.3 (x64) Ruby 2.1.2p95 Rails 4.0.0 Nginx 1.6.0 Unicorn 4.8.3 We have an issue where if a site is not accessed for around (average) 30 minutes the

Re: Weird Unicorn Timeout Issues (Hibernation problem?)

2014-08-04 Thread Tony Devlin
Eric, Thank you for responding. We use a database on only one of the apps, it is a Oracle 11G RAC Server. I'll get the DBA to double check the idle timeout for that DB. Though the other app does not use a database. On Mon, Aug 4, 2014 at 2:39 PM, Eric Wong e...@80x24.org wrote: Tony Devlin