[37420] in Kerberos

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

Re: kdb5_util fails to load propagated database under heavy load

daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Tue Feb 23 15:50:59 2016

Date: Tue, 23 Feb 2016 15:50:37 -0500 (EST)
From: Benjamin Kaduk <kaduk@mit.edu>
To: Greg Hudson <ghudson@mit.edu>
In-Reply-To: <56CCA0AE.6020306@mit.edu>
Message-ID: <alpine.GSO.1.10.1602231549200.26829@multics.mit.edu>
MIME-Version: 1.0
Cc: Christopher Odenbach <odenbach@uni-paderborn.de>, kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

(This is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815677 , so
krb5/1.12.1+dfsg-19+deb8u2)

I had also attempted to suggest strace on irc, with the hypothesis that
the database was already locked.  (I think there have been some changes in
database locking in the intervening period, but forget the details.)

-Ben

On Tue, 23 Feb 2016, Greg Hudson wrote:

> On 02/23/2016 11:14 AM, Christopher Odenbach wrote:
> > a few days ago we upgraded our KDC server from Debian squeeze to Debian
> > jessie.
> [...]
> > kdb5_util: Resource temporarily unavailable while making newly loaded
> > database live
>
> What version of the krb5-kdc package do you have installed?  I believe
> jessie has 1.12.1, but it's useful to be sure.
>
> "Resource temporarily unavailable" is the error message for EAGAIN.  I
> can't see how krb5_db_promote() would generate that error; it doesn't do
> much besides rename a couple of files.  Can you run kpropd under strace
> and find out what system call returns EAGAIN?
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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