- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- changing tcp parameters without restarting app wil...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 12:18 AM
тАО03-05-2009 12:18 AM
I'm going to increase the values of the TCP parameters tcp_xmit_hiwater_def and tcp_recv_hiwater_def.
If I do by means of ndd, should I restart de applications? If not, will they get errors on current connections?
Thank in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 12:58 AM
тАО03-05-2009 12:58 AM
Re: changing tcp parameters without restarting app will produce errors?
I dont' know exactly for those parameters, but with ndd normaly there is no problem with the current connections, but until you restart the application it won't get the ndd changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 01:35 AM
тАО03-05-2009 01:35 AM
Solutionand accept() sockets
then you need to restart the application, because this is inherited from the listening socket.
if your application is on client side, and connect() to other systems then the new socket opened will have the new values.
This has no effect on currently used sockets.
also if your application is using setsockopt(SO_RCVBUF/SO_SNDBUF) those params will have no effects at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 02:34 AM
тАО03-05-2009 02:34 AM
Re: changing tcp parameters without restarting app will produce errors?
I understand the apps must be restarted to take profit of the new config BUT the key is whether the current sockets will be report errors after ndd is changed --- I'm affraid the service is affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2009 05:19 PM
тАО03-05-2009 05:19 PM
Re: changing tcp parameters without restarting app will produce errors?
They will not see the effect of the change to tcp_xmit_hiwater_def and tcp_recv_hiwater_def unless/until they make a call to socket() to create a new TCP socket. Depending on your application(s) that will either happen without restarting, or not until the applications are restarted.
If you applications make explicit setsockopt() calls to set SO_SNDBUF or SO_RCVBUF they may not see the effect at all since they are not relying on the defaults.
What is leading you to want to change tcp_xmit_hiwater_def and tcp_recv_hiwater_def, and what do you expect them to improve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-18-2009 04:15 AM
тАО12-18-2009 04:15 AM