[RFC][PATCH] krb5 => libverto main loop

Nathaniel McCallum npmccallum at redhat.com
Wed Aug 24 09:24:18 EDT 2011

On Tue, 2011-08-23 at 18:13 -0400, Sam Hartman wrote:
> >>>>> "Tom" == Tom Yu <tlyu at MIT.EDU> writes:
>     Tom> Sam Hartman <hartmans at MIT.EDU> writes:
>     >> I agree with Simo.  Please bundle something, do not create your
>     >> own.  Supporting things beyond select is quite important; you
>     >> need something that does more than 1024 fds at a minimum.
>     Tom> But is needing more than 1024 file descriptors realistic for a
>     Tom> KDC or kadmind?
> Yes, a KDC could have more than 1024 TCP connections.
> Rare but possible.

The risk for this increases once we began handling multiple requests
simultaneously. Before this, accept() would never execute until the
previous request had called close(). Async programming almost always
increases the number of fds used dramatically.


More information about the krbdev mailing list