[18536] in Athena Bugs

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

Re: sgi 8.4.17: getpwuid

daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed Nov 22 19:43:57 2000

Date: Wed, 22 Nov 2000 19:43:54 -0500 (EST)
Message-Id: <200011230043.TAA100230@aupair.mit.edu>
From: Robert A Basch <rbasch@MIT.EDU>
To: Nickolai Zeldovich <kolya@mit.edu>
CC: bugs@mit.edu
In-reply-to: "[18534] in Athena Bugs"

Thanks for your bug report.

You are correct; there seems to be an intentional 100ms sleep in a
lookup failure.  (The same sleep occurs for other nsd lookups that
fail).  nsd apparently returns the EIO error specifically for that
purpose, as a (poor) way to help deal with timing problems.

I will report this to SGI, but I would not be optimistic about them
fixing it.  The standard nsd configuration includes negative caching,
so that the sleep would only occur on the first getpwuid() for a
particular uid; we must disable this and all other nsd caching,
however, in order for the Athena login system to work.

Bob

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