lkml.org 
[lkml]   [1999]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: > 15,000 Simultaneous Connections
Mike Jagdis wrote:
>
> On Wed, 15 Sep 1999, Stephen C. Tweedie wrote:
>
> > The cost per fd is miniscule.
>
> Taking the 15000 fds in the subject select would need to do a
> 4 page kmalloc and the current poll would do a 32 page kmalloc.
> Then you have to loop over all the descriptors calling their poll
> handlers.
>
> Incidentally, it looks like there is a possible DoS with queued
> signals. If you flood the queue with signals but keep them blocked
> no one else will get a look in.

Yeah, per-user/per-process limits need to be implemented. In fact, there are a
lot of resources which should have per-system, per-user, per-process, and
per-group limits put in. Sounds like a good project for a someone.


Jordan

--
Jordan Mendelson : http://jordy.wserv.com
Web Services, Inc. : http://www.wserv.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:1.953 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site