Subject: Re: ypserv -d vs. nsswitch
To: <>
From: Ignatios Souvatzis <>
List: tech-userlevel
Date: 12/22/1999 22:32:51
On Wed, Dec 22, 1999 at 02:25:25PM -0500, Bill Sommerfeld wrote:
> >  > Definitely. But do we need to have this on by default? How many of these
> >  > old clients are out there?
> > 
> > who knows... but it certainly doens't hurt anything to have it turned on!
> Actually, it can conceivably hurt.
> ypserv does a blocking call to gethostbyname() while processing the
> remote request.  if a nameserver involved in the resolution is down,
> it may take multiple seconds for that call to return; during that
> time, ypserv will not process *any* other requests from any other
> client, leading to sluggish/laggy/etc. behavior as perceived by any
> system using that ypserv as its master. 

Oh. maybe _this_ is the ypserv performance problem I've seen on Solaris?
Should check, when I'm back at work.