How to solve TCP connection timeout (not in ssh)?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 01-06-2019
How to solve TCP connection timeout (not in ssh)?

HI

We have some Red Hat Linux Sevres which is having TCP connection timeout, not SSH connection, as an example oracle connection connected from TOD.

SSH i managed to add keepalive and it's working fine
# 2  
Old 01-06-2019
Linux has built-in support for TCP keepalive. You need procfs and sysctl support to be able to configure the kernel parameters at runtime.

The procedures involving TCP keepalive use three user-driven variables:

tcp_keepalive_time

the interval between the last data packet sent (simple ACKs are not considered data) and the first keepalive probe; after the connection is marked to need keepalive, this counter is not used any further

tcp_keepalive_intvl

the interval between subsequential keepalive probes, regardless of what the connection has exchanged in the meantime

tcp_keepalive_probes

the number of unacknowledged probes to send before considering the connection dead and notifying the application layer
These 2 Users Gave Thanks to Neo For This Post:
jim mcnamara (01-07-2019) RavinderSingh13 (01-06-2019)
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to set timeout for dev/tcp while checking hostname and port? sam@sam Shell Programming and Scripting 2 09-26-2015 07:59 AM
Timeout to abolish ssh connection command it takes too long hce Shell Programming and Scripting 1 05-06-2014 05:47 AM
How keep running a program n an another computer via a connection ssh when the connection is closed? TomTomGre UNIX for Advanced & Expert Users 2 02-15-2013 09:29 AM
What is this error log = hda: irq timeout: error=0x00 and how to solve? avtalan Shell Programming and Scripting 3 11-04-2012 01:19 PM
weblogic connection timeout error core99 Solaris 0 09-20-2012 12:09 PM
SCP Connection Timeout st3636 UNIX for Dummies Questions & Answers 1 07-15-2011 05:57 PM
TCP connection check Shang Programming 25 06-24-2011 09:20 PM
many tcp connection in close-wait abcdef Solaris 2 02-22-2011 06:05 PM
sendmail connection timeout um08 UNIX and Linux Applications 1 12-09-2010 11:39 AM
Decreasing SSL connection timeout sdkbjk UNIX for Dummies Questions & Answers 2 04-30-2010 01:27 PM
false tcp connection johnbach IP Networking 1 03-05-2010 04:53 PM
close existing tcp connection in C raidzero Programming 6 01-21-2009 02:41 PM
Create a TCP/IP Connection garric Shell Programming and Scripting 50 05-23-2008 05:23 AM
about TCP connection bucci UNIX for Advanced & Expert Users 3 05-16-2007 02:44 AM
TCP/IP Connection getting slower... rajesh_puru UNIX for Advanced & Expert Users 2 05-26-2003 01:58 PM