• Neil Brown's avatar
    [PATCH] PATCH 15/16: NFSD: TCP: Limit number of active tcp connections to an RPC service · afdb4fa2
    Neil Brown authored
    Limit number of active tcp connections to an RPC service
    
    If a connection comes in and that results in number of
    connections being more than 5 times the number of threads,
    then we close a connection.
    
    We randomly drop with the oldest or the newest connection.
    
    Thus if we are flooded with connection requests, some will
    get in and hopefully stay long enough to service at least one request.
    afdb4fa2
svcsock.c 32 KB