Unix Programming - Re: why so many open files?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2004 > Re: why so many open files?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: why so many open files?
Eric Sosman

2004-06-30, 6: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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com