From owner-freebsd-questions Fri Jan 3 14:15:37 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EE9E37B401 for ; Fri, 3 Jan 2003 14:15:35 -0800 (PST) Received: from angelfish.lewiz.org (dialup.212-50-179-77.karoo.KCOM.COM [212.50.179.77]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B15A43EC5 for ; Fri, 3 Jan 2003 14:15:32 -0800 (PST) (envelope-from lewiz@turtle.lewiz.org) Received: (qmail 46880 invoked by uid 85); 2 Jan 2003 18:20:25 -0000 Received: from lewiz@turtle.lewiz.org by angelfish by uid 0 with qmail-scanner-1.14 (sophie: 2.10/3.62. spamassassin: 2.43. Clear:SA:0(-4.0/5.0):. Processed in 2.767552 secs); 02 Jan 2003 18:20:25 -0000 X-Spam-Status: No, hits=-4.0 required=5.0 Received: from turtle.lewiz.org (192.168.0.9) by angelfish.lewiz.org with SMTP; 2 Jan 2003 18:20:19 -0000 Received: (nullmailer pid 40527 invoked by uid 1001); Thu, 02 Jan 2003 18:20:20 -0000 Date: Thu, 2 Jan 2003 18:20:20 +0000 From: lewiz To: Dan Nelson Cc: FreeBSD-questions Subject: Re: YP/NIS timeout. Message-ID: <20030102182020.GA40450@lewiz.org> Mail-Followup-To: lewiz , Dan Nelson , FreeBSD-questions References: <20021229230257.GA18301@lewiz.org> <20021230022520.GA30400@dan.emsphone.com> <20030101204709.GD37371@lewiz.org> <20030102022957.GD24622@dan.emsphone.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20030102022957.GD24622@dan.emsphone.com> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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