Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
As has been suggested to you in the past, have you contacted Red Hat and Oracle support?? You are PAYING for these things (RIGHT???), as as such, get support. According to this: https://www.linuxquestions.org/quest...9/#post5934091
...Oracle is customizing things just for your company. With that level of involvement, you should easily be able to get them to give you some support. All that aside, you don't actually tell us what the situation is, the network environment, or what the actual problem is. Saying "TCP connection timeout" is meaningless, since it can have a LOT of different causes, depending on what you're trying to do, and how. Setting things for Tomcat is different than setting expire_times variables in the database, and those may not even apply for you.
Provide details and we may be able to help, but you really should use the RHEL and Oracle support you're paying for.
first of all, using Red Hat or Oracle Linux doesn't that I am paying for it.
this is what i was looking for
---------------------------------------
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
first of all, using Red Hat or Oracle Linux doesn't that I am paying for it.
Then you should NOT be using it; those are both commercial products. Without paying for them, you have **NONE** of the bugfixes, security updates, or anything else that lets your systems be stable. Pay for what you use, or use the free versions (MySQL and CentOS).
Quote:
this is what i was looking for
---------------------------------------
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
Great; again, you didn't provide any details when asking your question, and still don't. What do any of these things apply to? RHEL? Oracle? For what purpose??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.