kdb5_util fails to load propagated database under heavy load

2016-02-23 Thread Christopher Odenbach
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, a few days ago we upgraded our KDC server from Debian squeeze to Debian jessie. Since then the first slave KDC sometimes reported an error during database propagation, maybe two or three times a day, probably during times of heavy usage. To get

Re: kdb5_util fails to load propagated database under heavy load

2016-02-23 Thread Greg Hudson
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 belie

Re: kdb5_util fails to load propagated database under heavy load

2016-02-23 Thread Benjamin Kaduk
(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 forg

Re: kdb5_util fails to load propagated database under heavy load

2016-02-23 Thread Greg Hudson
On 02/23/2016 01:10 PM, Greg Hudson wrote: > "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. Nevermind, I was looking at the wrong function, and I see what's w