LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2004, 12:26 AM   #1
dkumar10
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
TIME_WAIT and too many sockets in that state


I am trying to do some experiment with web-server on linux and looks like within a minute it leaves too many sockets in (netstat -a) TIME_WAIT state and cpu utilization drops to almost 5% or less. Will someone please tell me how to handle this situation and change TIME_WAIT default from 60 to other value. I don't find a parameter to do that.

Thanks,
 
Old 07-16-2004, 06:59 AM   #2
newpenguin
Member
 
Registered: Sep 2002
Location: lahore pakistan
Distribution: slackware,redhat, FreeBSD,openbsd
Posts: 219

Rep: Reputation: 30
/proc/sys/net/ipv4/tcp_fin_timeout

change the value there default is 60 (as u said).


there are also a lot of other useful values there in

/proc/sys/net/ipv4/


redgards
usman
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
time_wait problem gecoool Linux - Software 3 08-31-2005 01:02 AM
Linux sockets hang in FIN_WAIT1 state pavan Linux - Networking 2 06-19-2005 10:13 AM
too many "TIME_WAIT" on apache2 jiawj Linux - Software 0 06-14-2005 09:19 AM
MSL and TCP time_wait 98steve600 Linux - General 1 03-28-2005 03:45 AM
How do I close TIME_WAIT connections? linuxboy69 Linux - Software 2 09-01-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration