book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

TCP/IP and NFS FAQ

I see in netstat that processes get stuck in TIME_WAIT for a long time. How can I change this behaviour?

For some reason, OpenServer sets that to 30 minutes even while stating that the recommended setting is 4 minutes!


Hate these ads?

You can edit /etc/default/inet and change tcp_2msl to lower the time. Stop and restart tcp/ip or reboot.




Comments
FAQScoTecFourtimewait :

---September 1, 2004

Using XP Pro:
When I mis-type my pw in Tiny term it locks me out for 2 minutes - how do I change that "time_wait" period so I can re-enter the pw immediately?

---September 1, 2004

That's absolutely nothing to do with tcp/ip. That's password policies.

--TonyLawrence



Sun Sep 4 01:50:22 2005: Subject:   BigDumbDinosaur
You can edit /etc/default/inet and change tcp_2msl to lower the time. Stop and restart tcp/ip or reboot.

Actually, you can do this "on the fly" with the command inconfig tcp_2msl <value>, where <value> is some integer between 1 and 65,535 inclusive. /etc/default/inet will be updated and the running kernel will be changed without having to restart TCP services.



Click here to add your comments



Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
3375757 3,488

/SCOFAQ/FAQ_time_wait.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at Open Systems Computing and www.go2unix.com.



Twitter
o Spring is sleeping late but does seem to be waking up here. 6:40 AM Mar 22nd 2008








Change Congress