| 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
|