[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2cc26e40811021033r115225e2x4747a17fc2b30256@mail.gmail.com>
Date: Sun, 2 Nov 2008 19:33:00 +0100
From: "Olaf van der Spek" <olafvdspek@...il.com>
To: "Davide Libenzi" <davidel@...ilserver.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: epoll behaviour after running out of descriptors
On Sun, Nov 2, 2008 at 7:25 PM, Davide Libenzi <davidel@...ilserver.org> wrote:
> A bug? For starters, epoll_wait does NOT create new files, so no EMFILE
> can come out from there.
It's accept that returns EMFILE.
> You are saturating the port space, and your whole code logic is rather (at
> least) buggy. Try a `netstat -n -t | grep TIME_WAIT | wc -l`
What makes you think I'm saturating the port space?
That space is way bigger than 1 k AFAIK.
EMFILE The per-process limit of open file descriptors has been reached.
And what part of my code logic is buggy?
Olaf
--
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