Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the tcp maximum segment lifetime (MSL) on an RT Linux target

I'm running into an issue where my server is getting stuck in FIN_WAIT_2 for many minutes. It eventually does drop the connection (expected behavior) but I'd rather it dropped the connection after maybe just a few minutes. A brief reading of the TCP protocol tells me I have to reduce the MSL. Is there a recommended way of doing that?

0 Kudos
Message 1 of 2
(4,640 Views)

Modifying the MSL on a Linx RT target is not supported by National Instruments, so we do not reccommend a specific way of doing that. I was able to find a couple of helpful third-party resources (linked below) that will allow you to modify the MSL. 

 

Stack Overflow: What is Maximum Segment Life

 

How can I change Maximum segment lifetime in Ubuntu 14.04

Aaron Douglass
Applications Engineer
National Instruments
Message 2 of 2
(4,589 Views)