Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add TCP keepalive and TCP keepalive time configurations #1874
Related with #1489.
In Active Record Oracle enhanced adapter 5.2, an Oracle error occurs when TCP keepalive time exceeds 600 seconds.
The following ORA-03113 error occurred every 10 minutes when I tried to upgrade from Rails 18.104.22.168 (activerecord-oracle_enhanced-adapter 1.8.2) to Rails 5.2.2 (activerecord-oracle_enhanced-adapter 5.2.5).
stmt.c:243:in oci8lib_240.so: OCIError: ORA-03113: 通信チャネルでend-of-fileが検出されました (ActiveRecord::StatementInvalid)プロセスID: 24578
I think that TCP Keepalive parameters depend on an application purpose.
The default behavior has not changed from Active Record Oracle enhanced adapter 5.2 so that breaking changes don't occur.
TCP keepalive parameter names conform to ruby-oci8.