From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 16:19:30 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 0C76916A418 for ; Wed, 28 Nov 2007 16:19:30 +0000 (UTC) (envelope-from speedtoys.racing@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 78ADB13C4D9 for ; Wed, 28 Nov 2007 16:19:29 +0000 (UTC) (envelope-from speedtoys.racing@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1408999nfb for ; Wed, 28 Nov 2007 08:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=nGkYbezreBShc0hAdFnOexJ+RLSUCJvudg1JChZ3Ru4=; b=JRbMvGiSLY4LC70BBm0Z6GMam/f4k6H6NTbW/XNVHsr97Hl5JNLRwIMocgK+JH4D8M9/Fut6MVOsFKcZFBNlDP21LFbJH3J3U/CDe8AB/2C1zbe1xYLd2XXjC8E2dtyE6oTjyz5DfB3EEiG0jR7V2Wi/XxiJgjvesraRRFtOwT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gufoHuGEpC1Gy9nXjnQPmau/MpBGXWDMX/AiC6nZkPyGZi4hCHe9H9HBv6NZIob1z70vmEIyolP7VDgMZGjjz2nHf0oLZkYY07dBlNXRYYJmkU0hnWEabCircOiIFXSy4k7wld8WYzh1h0pucoI8joVfPx76Q+E17gK5qJzSKro= Received: by 10.82.138.6 with SMTP id l6mr2388528bud.1196265159978; Wed, 28 Nov 2007 07:52:39 -0800 (PST) Received: by 10.82.186.11 with HTTP; Wed, 28 Nov 2007 07:52:12 -0800 (PST) Message-ID: Date: Wed, 28 Nov 2007 07:52:12 -0800 From: "Jeff Mohler" To: "Mark Evans" In-Reply-To: <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> MIME-Version: 1.0 References: <005901c8313f$f7048b70$0d00a8c0@bayoucshaffer> <474CA49D.50306@FreeBSD.org> <002001c831d5$80ad8670$0d00a8c0@bayoucshaffer> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 16:19:30 -0000 HOW large is the directory? ls | wc -l On Nov 28, 2007 7:44 AM, 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 > > ----- Original Message ----- > From: "Kris Kennaway" > To: "Mark Evans" > Cc: > Sent: Tuesday, November 27, 2007 5:13 PM > Subject: Re: ls -l takes a forever to finish. > > > > Mark Evans wrote: > >> I'm using FreeBSD 6.1-RELEASE. When I run "ls -l" it takes forever for > >> the it to complete. top shows that the "ls -l" command uses about 98% > of > >> the CPU doing the time. If I run "ls" I do not experience any > problem. > >> anyone have any ideas? > > > > Are you using NIS for user/group lookups? > > > > Is it a large directory that is taking a long time to sort? > > > > Kris > > > > > > > > -- > > Internal Virus Database is out-of-date. > > Checked by AVG Free Edition. > > Version: 7.5.446 / Virus Database: 268.18.25/744 - Release Date: > 4/3/2007 > > 5:32 AM > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >