lkml.org 
[lkml]   [2008]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: epoll behaviour after running out of descriptors
    On Sun, 2 Nov 2008, Olaf van der Spek wrote:

    > On Sun, Nov 2, 2008 at 8:17 PM, Davide Libenzi <davidel@xmailserver.org> wrote:
    > > On Sun, 2 Nov 2008, Olaf van der Spek wrote:
    > >
    > >> On Sun, Nov 2, 2008 at 7:48 PM, Davide Libenzi <davidel@xmailserver.org> wrote:
    > >> > Why don't you grep for TIME_WAIT?
    > >>
    > >> Because I don't have access to the test environment at the moment.
    > >
    > > Here:
    > >
    > > http://tinyurl.com/5ay86v
    >
    > 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.



    - Davide




    \
     
     \ /
      Last update: 2008-11-02 20:29    [W:2.640 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site