Fedora Linux Support Community & Resources Center
  #1  
Old 30th September 2004, 10:17 AM
EnigmA-X Offline
Registered User
 
Join Date: Sep 2004
Posts: 4
Unhappy TIME_WAIT problem?

Hi there,

I am running a Fedora Linux server at a colocation place in Rotterdam The Netherlands. The server runs Plesk 7 has a lot of options and possibilities and all is nice.

Until I found out a strange networking problem, first during FTP-transfers. When I downloaded a lot of small files (around 200 bytes), the connection was lost at 15 seconds + some random time. My FTP client was telling me there was a time-out.

I tried to figure out this problem, and while doing this I have seen that most of the ports used with the FTP transfer were staying in the TIME_WAIT state (I have monitored this with 'netstat -tc' and then started this FTP transfer).

First of all, I was thinking of a badly configured proftpd, but there was nothing to find and a couple of different configurations for proftpd didn't make the situation any better. At that point I found out the same problem exists with the Apache webserver: when many small files (like thumbnails) are loaded, no communication is possible anymore to my server. All ports must be in use, and those are staying in the TIME_WAIT state after a certain time-out (I guess). The problem is that's it very irritating (of course), but also, clients will get time-outs and during the time all ports are in the TIME_WAIT state I can't connect to my server in any way (not even SSH).

Does this problem sound familiar to anybody, does anyone have a good solution for this problem?
Reply With Quote
  #2  
Old 30th September 2004, 02:52 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
Is this thread relevant to your problem?
http://www.spinics.net/lists/linux-net/msg11028.html
If so, explain it to me! My interpretation of the thread is that an application should not spawn a large number of connections that are used and then discarded. Rather it should open one or two connections and do all its business through them. I've not dealt with the problems of networks and servers. I have wirtten programs using sockets and I know that sockets have a "dead time" after a connection is interrupted. Perhaps someone can explain how to set all those parameters in /proc/sys/ net/ipv4.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
Reply

Tags
problem, timewait

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TIME_WAIT and mysql lose quesries. TPyn Servers & Networking 0 27th November 2006 01:58 PM
Too many smtp processes in TIME_WAIT state mk1 Servers & Networking 1 28th November 2005 12:22 AM
High number of TIME_WAIT in netstat output linux_learner Servers & Networking 0 3rd August 2005 03:50 AM


Current GMT-time: 10:24 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat