networking - how to verify tcp keep alive on linux -
i want set tcp maintain live on linux machine. doing running script
if [ `/sbin/sysctl -n net.ipv4.tcp_keepalive_time` != 200 ] ; /sbin/sysctl -w net.ipv4.tcp_keepalive_time=200;
but still have issues connections amazon's redshift. can please help , show me how can check if tcp maintain live set or not?
to check if maintain live active open connection, don't exchange info , verify tcpdump or similar packets gets regularly exchanged on connection, if no real info exchanged.
but maybe confuse keep-alive timeout:
keep alive: observe if connection still active, e.g. info exchanged if necessary. observe loss of network connectivity etc. maintain live done on tcp layer. timeout: connections gets closed after inactivity. done @ application layer.in both cases not observe problem until seek read or write on socket.
linux networking tcp amazon-redshift
No comments:
Post a Comment