From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411897.tru64-unix-managers.marc@archive.invalid> From: "C.Ruhnke" Date: Fri, 13 Nov 1998 15:49:12 +0000 To: tru64-unix-managers Subject: MORE INFO: yppasswd slow response -- sometimes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411897 Bryan Lavelle@digital.com responds: > How many users in the database? Do the users that get fast response have > usernames that begin with letters early in the alphabet? And slow response, > later in the alphabet? If so, it sounds like it maybe that you aren't > running a hashed passwd and the system is reading each entry sequentially > looking for your user. If that is not the case, I don't have any other > ideas. There are several thousand users in the NIS database. Most are based on employee badge number: "m" followed by 6 digits being the predominant entry. User A is of the form "m191xxx", is entry 11337 in the passwd file and has 2 minute response. User B is "m191xxx", is entry 7 and has 3 minute response. User C is "m191xxx", is entry 13 and has almost instant response. Thus the hash order does not seem to be involved (I would assume that all 3 users would hash similarly) nor does sequence in the passwd file (entry 7 is slow, entry 13 is fast). Additionally -- remember that user A gets quick response from yppasswd if he is logged onto another HP-UX system accessing the NIS servers. --CHRis -----Original Message----- > Here's a challenge for you NIS gurus: > > We have our NIS database on HP-UX servers (1 master, 4 slaves). > Users on HP systems have no problems with yppasswd. > > My DUNIX V4.0D systems -- 2 AS8200 TruCluster, 1 AlphaStaion 250) -- w > which are configured to use the NIS database for passwd service exhibit a > strange performance problem. Some users who try to change their passwords > via yppasswd have to wait up to 5 minutes before the "Old password:" > prompt appears. Other users will get the prompt almost immediately. The > problem is specific to users and not to system/network load -- i.e. User A > always has to wait, User B always gets good response... > > Other "yp" commands seem to function fine. In fact "ypmatch passwd" > always returns the passwd info almost immediately for any userid. > > Any ideas why this would happen??? Any suggestions for correcting??? > - ============================================================================= Chris H. Ruhnke Phone: (314)233-7314 IBM Global Services M/S S306-6340 FAX : (314)234-2262 325 J.S. McDonnell Blvd Email: i769646@smrs013.stl.mo.boeing.com Hazelwood, MO 63042