Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2007

    Time_Wait problem

    hello i have problem in time_wait it's very high

    netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
    15 FIN_WAIT1
    2 FIN_WAIT2
    1 LAST_ACK
    2 LISTEN
    10 SYN_RECV
    1026 TIME_WAIT

    i hope any one solve this problem


  2. #2
    Join Date
    Feb 2006
    Buffalo NY
    netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    Any of the IP's have a lot of connections?
    Cody R.
    Hawk Host Inc. Proudly Serving websites since 2004.
    Let's Encrypt Sponsor.

  3. #3
    Join Date
    Oct 2007
    i have more ips have more connection but the ips change not static

  4. #4
    Join Date
    Nov 2006
    Karachi, Pakistan
    Well I have something similar. Is there any reason to worry? All my sites are responsive and server is doing well

  5. #5
    It seems the reason that it happens is because TIME_WAIT is the state before CLOSED in TCP. TCP is a Session protocol. It ensures that packets get delivered. Only two packets in the entire session are not reliable: SYN and FIN+ACK. Without boring you with details, here's a much better description:

    If you want to decrease your timeout to increase your connection rate on that machine you can do the following:

    Linux: Virtual Servers - Cutting edge technology, first class network, affordable prices! Managed and unmanaged. Virtual and Dedicated. Shared hosting, web design, application development, and more. Contact us here, or our website!

  6. #6
    Join Date
    May 2002
    Perhaps this is flood attack. some sort of flood attack can never close opened tcp session so you may see many TIME_WAIT in netstat output. I more than sure if you had restart amount of TIME_WAIT will decreased but then again return to same value. You most likely need to isolate victim domain and deal with DDOS.
    Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR, AS51168

Similar Threads

  1. Time_wait
    By sdhost1964 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-14-2007, 09:52 AM
  2. Over 5000 time_wait connection.
    By Igotit in forum Hosting Security and Technology
    Replies: 1
    Last Post: 11-14-2006, 06:28 AM
  3. Time_wait
    By DigiCrime in forum Hosting Security and Technology
    Replies: 0
    Last Post: 07-11-2006, 04:05 AM
  4. 812 TIME_WAIT Connections
    By MattF in forum Hosting Security and Technology
    Replies: 14
    Last Post: 04-22-2004, 08:26 PM
  5. Apache TIME_WAIT
    By NameSniper in forum Hosting Security and Technology
    Replies: 5
    Last Post: 03-23-2004, 05:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts