[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2cc26e40811021241t17a4fd02k32234b9e6b578b3b@mail.gmail.com>
Date: Sun, 2 Nov 2008 21:41:04 +0100
From: "Olaf van der Spek" <olafvdspek@...il.com>
To: "Davide Libenzi" <davidel@...ilserver.org>
Cc: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Subject: Re: epoll behaviour after running out of descriptors
On Sun, Nov 2, 2008 at 8:27 PM, Davide Libenzi <davidel@...ilserver.org> wrote:
>> I know what TIME_WAIT is. I just think it's not applicable to this situation.
>
> It is. You are saturating the port space, so no new POLLIN/accept events
> are sent (until some TIME_WAIT clears), so epoll_wait() returns nothing
> (or does not return, if INF timeo).
> Keeping only 1K (if this is what you meant with your *only* 1K)
> connections *alive*, does not mean the trail that does moving 1K
> connections leave, is free.
> If you ever played with things like httperf, you should know what I'm
> talking about.
Wouldn't the port space require about 20+ k connects? This issue
happens after 1 k.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists