Date: Tue, 6 Sep 2005 11:18:50 +0400 From: "Pavel Baleshenko" <pavlik@mcc.elektra.ru> To: <scuba@centroin.com.br>, <freebsd-questions@freebsd.org> Subject: Re: ls -l taking too much time Message-ID: <01e701c5b2b3$4135eb70$e4f111ac@pavlik> References: <Pine.BSI.4.33.0509051648190.3371-100000@hypselo.centroin.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01e701c5b2b3$4135eb70$e4f111ac>