Re: why so many open files?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: why so many open files?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: why so many open files?  
Eric Sosman


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 11:02 PM

Shea Martin wrote:
> [...]
> The average length of a request is much less than a second.  I think
> that main problem is leaked file descriptors.
>
> But I  am going to change the close-wait time anyway.

You're running out of *file descriptors*, not out of
socket numbers.  I don't see how reducing TIME_WAIT will
make any difference at all.

(Except, of course, that you mentioned a value of 600
in an earlier post.  If you're operating on a small LAN
with maybe just one or two routers between machines, you
can probably get away with such a low value.  But if the
LAN grows to a WAN or to the great unwashed Internet, I
think you can expect that a 600-ms TIME_WAIT *will* make
a difference, one that you probably won't like ...)

--
Eric.Sosman@sun.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:29 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register