Top does a getpwent loop, which takes forever on NIS boxes with huge password databases. I have a fix, but I'm filing this bug, so that my diff can be tested / checked in. The -u option is supposed to avoid problems like this, but it was not being checked everywhere. Fix: Will submit diff when cvsup is finished building How-To-Repeat: top or top -u on a box with a big YP password file
obrien 2008-01-09 18:06:24 UTC FreeBSD src repository Modified files: usr.bin/top machine.c contrib/top top.c Log: Improve -u (limit uid lookups) behavior. Submitted by: David Frascone <dave@frascone.com> PR: 119490 Revision Changes Path 1.24 +1 -1 src/contrib/top/top.c 1.84 +8 -2 src/usr.bin/top/machine.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->patched Fixed in -HEAD (after 7.x was branched), needs MFCing to RELENG_6/7
This is fixed in HEAD and RELENG_7, but not yet merged to RELENG_6.
State Changed From-To: patched->closed Fixed in all branches.