From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 16:24:50 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E944216A419 for ; Wed, 28 Nov 2007 16:24:50 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id AF06813C448 for ; Wed, 28 Nov 2007 16:24:50 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lASG4QuA006622; Wed, 28 Nov 2007 09:04:26 -0700 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id lASG4PAs020043; Wed, 28 Nov 2007 09:04:25 -0700 Received: from [128.165.86.60] (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id 28A541F8015; Wed, 28 Nov 2007 09:04:20 -0700 (MST) From: James Harrison To: Mark Evans In-Reply-To: <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> Content-Type: text/plain Organization: Los Alamos National Labs Date: Wed, 28 Nov 2007 09:04:19 -0700 Message-Id: <1196265859.14883.3.camel@p25dual1.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 (2.8.0-33.0.1.el5) Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Cc: questions@freebsd.org Subject: Re: ls -l takes a forever to finish. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 16:24:51 -0000 On Wed, 2007-11-28 at 09:44 -0600, Mark Evans wrote: > No we are not using NIS. > > it is a large directory i am listing. actually it is the /usr/home > directory, and is probably the largest on the system. However "ls -l" runs > for close to six minutesand spends the 10 seconds scrolling the screen with > the results. so i wait ls to start showing the results for about 5 and a > half minutes. Even on a older and much slower system i've never seen it > talk more than 15 seconds to complete. > > > Thanks > Mark > How many directories, roughly? I've seen ls take *many* minutes listing the contents of a directory that contained tens of thousands of files.