[18534] in Athena Bugs

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

sgi 8.4.17: getpwuid

daemon@ATHENA.MIT.EDU (Nickolai Zeldovich)
Wed Nov 22 11:14:13 2000

Message-Id: <200011221614.LAA49103@m4-035-9.mit.edu>
To: bugs@MIT.EDU
Date: Wed, 22 Nov 2000 11:14:03 -0500
From: Nickolai Zeldovich <kolya@MIT.EDU>

System name:		m4-035-9.mit.edu
Type and version:	IP32 8.4.17
Display type:		CRM

Shell:			/bin/athena/tcsh
Window manager:		ctwm -s

What were you trying to do?
	Run "ls -l" in an AFS directory with a considerable number
	of files owned by uid's not in the local /etc/passwd.

What's wrong:
	The IRIX getpwuid() appears to do an intentional 100ms
	sleep inside every getpwuid call (and probably others)
	if it does a lookup via /ns/.local/passwd.byuid and gets
	EIO.

What should have happened:
	getpwuid() shouldn't take 100ms for every lookup of a
	non-existant (locally) uid. Probably nsd shouldn't be
	returning EIO on what seems like every other lookup for
	a non-existant uid, either.

Please describe any relevant documentation references:
	getpwuid(3C), nsd(1M)

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