misc/119490: top hangs for long periods with NIS -- even using -u

David Frascone dave at frascone.com
Wed Jan 9 05:30:02 PST 2008


>Number:         119490
>Category:       misc
>Synopsis:       top hangs for long periods with NIS -- even using -u
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 09 13:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Frascone
>Release:        7.0rc1
>Organization:
Cisco Systems
>Environment:
FreeBSD hydra.cisco.com 7.0-RC1 FreeBSD 7.0-RC1 #0
>Description:
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.
>How-To-Repeat:
top or top -u on a box with a big YP password file
>Fix:
Will submit diff when cvsup is finished building

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list