Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 18:20:20 +0000
From:      lewiz <purple@lewiz.info>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: YP/NIS timeout.
Message-ID:  <20030102182020.GA40450@lewiz.org>
In-Reply-To: <20030102022957.GD24622@dan.emsphone.com>
References:  <20021229230257.GA18301@lewiz.org> <20021230022520.GA30400@dan.emsphone.com> <20030101204709.GD37371@lewiz.org> <20030102022957.GD24622@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 01, 2003 at 08:29:58PM -0600, Dan Nelson wrote:
> In the last episode (Jan 01), lewiz said:
> > At the login: prompt I enter my username (lewiz), hit return and get
> > nothing for a while until:
> >=20
> > yp_order: clnt_call: RPC: Timed out
> Hit ^T during the pause and find out what program is hanging.  You
> probably have a command in your shell's startup script that is trying
> to resolve an NIS username.

^T shows:
load: 1.28  cmd: login 45573 [nanslp] 0.00u 0.04s 0% 1016k

I couldn't find anything about nanslp (locate shows nothing but I
eventually tracked it down to sys/kern/kern_time.c, where it shows up:

sys/kern/kern_time.c:           error =3D tsleep(&nanowait, PWAIT |
PCATCH, "nanslp",

Hence, it has something to do with the nanosleep(2) syscall.  Other than
this, I don't know what it's doing.  Maybe you are correct that the
shell is trying to do some stuff but I could find nothing like this in
/etc/profile, /etc/csh.cshrc, /etc/csh.login or any of the user's
personal copies.

-lewiz.

--=20
If only one could get that wonderful feeling of accomplishment without
having to accomplish anything.
------------------------------------------------------------------------
--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+FILjItq0KFQv7T8RAsH1AJ9MDp0CSLaigkDjGpz51aZnFphrRwCg8Ytv
fxEWQZrDBxdZzO2gxmP5rQU=
=gyCo
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030102182020.GA40450>