[19079] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: [Bug 1179820] New: Kerberos KDC connection limit too low

daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Jan 21 11:35:11 2015

Message-ID: <54BFD52C.2070707@mit.edu>
Date: Wed, 21 Jan 2015 11:34:52 -0500
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Roland Mainz <rmainz@redhat.com>
In-Reply-To: <1186381325.13498793.1421852095378.JavaMail.zimbra@redhat.com>
Cc: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

On 01/21/2015 09:54 AM, Roland Mainz wrote:
> 1. ignore the fd ulimit issue and just bump the limit to something like 128
> 2. make default dynamic, based on the $(ulimit -n) value, but use |MIN(default, 45)|
> 3. make the default static but issue a warning when we're below a certain fd limit
> 4. set the ulimit for max. open files ourselves to 1024 when we're below that limit and issue a warning when the syscall fails
> 5. <... insert more options here...>

I think the best choice is to leave the hardcoded limit at 45 and add a
profile variable to change it.

We could choose a default based on getrlimit(RLIMIT_NOFILE) and an
imprecise estimate of fd usage by the rest of the KDC, bounded by some
maximum, but I think that's too complicated.
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post