Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 7 Mar 2001 13:14:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 7 Mar 2001 13:14:27 -0500 Received: from infis-gw.ts.infn.it ([140.105.7.230]:41738 "EHLO sole.infis.univ.trieste.it") by vger.kernel.org with ESMTP id ; Wed, 7 Mar 2001 13:14:22 -0500 Date: Wed, 7 Mar 2001 19:13:55 +0100 (CET) From: Andrea Barisani To: Manfred Spraul cc: linux-kernel@vger.kernel.org Subject: Re: Kernel 2.4.2 command execution hangs and then succeded after 2 minutes....!? END! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Mar 2001, Andrea Barisani wrote: > On Wed, 7 Mar 2001, Manfred Spraul wrote: > > > Could you use strace and check what the apps are doing during these 2 > > minutes? > > > > Perhaps it's a variation of the nis hang: > > 2.4 doesn't forword udp error messages to the user space app, and thus a > > nis query to a nonexistant nis server blocks until the udp packets time > > out. > > Ok! I've removed all nis reference in /etc/nsswitch.conf and now there are no more hangs...I have to admit, learning that thew execution process of tar is somehow related to nis,portmap is a little weird :) (but that's part of the fun isn't it?). Thanks again for the help Bye P.S. Does anyone think that this kind of problem must be documentated in the kernel documentation? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/