From owner-freebsd-questions@FreeBSD.ORG Tue Sep 6 07:19:17 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 36F6916A420 for ; Tue, 6 Sep 2005 07:19:17 +0000 (GMT) (envelope-from pavlik@mcc.elektra.ru) Received: from angel.elektra.ru (angel.Elektra.RU [193.125.98.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD4D43D48 for ; Tue, 6 Sep 2005 07:19:15 +0000 (GMT) (envelope-from pavlik@mcc.elektra.ru) Received: from pavlik (pavlik.mcc.elektra.ru [172.17.241.228]) by angel.elektra.ru (8.13.4/8.12.8) with SMTP id j867IpGP000386; Tue, 6 Sep 2005 11:19:00 +0400 (MSD) Message-ID: <01e701c5b2b3$4135eb70$e4f111ac@pavlik> From: "Pavel Baleshenko" To: , References: Date: Tue, 6 Sep 2005 11:18:50 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SpamTest-Info: Profile: Formal (268/050901) X-SpamTest-Info: Profile: Detect Standard No RBL (4/030526) X-SpamTest-Info: Profile: SysLog X-SpamTest-Status: Not detected X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0125], KAS/Release Cc: Subject: Re: ls -l taking too much time 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: Tue, 06 Sep 2005 07:19:17 -0000 Hello. I've the same problem on 5.3. I think the problem occurs while file is being stat and passwd (uid to name). Each file in /var/mail has its own owner. Try `ktrace ls -l` and look the size of final dump file. May be its solution is in the tuning of the PAM authorization. > Hi all, > > Itīs a FreeBSD 5.4-STABLE, on a P-IV(2.4GHz) with 120G IDE HDD > (UFS2+softupdates), as one data partition (mail). > The test was done in a non-production server. > GENERIC kernel. > > A "ls -l" in a /var/mail folder with +6000 files (not maildir) is > taking more then 2 min to complete. > I compiled (static) "ls" from the GNU filetools-4.1 and it takes > ~1 min. > Observing the final behavior I can say that gnu has an > "unbuffered" output, while fbsds is buffered. > It was tested in two different machines. > Is it right? > > - Marcelo > > > _______________________________________________ > 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" > >