Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2008 13:26:36 GMT
From:      David Frascone <dave@frascone.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/119490: top hangs for long periods with NIS -- even using -u
Message-ID:  <200801091326.m09DQaeI026751@www.freebsd.org>
Resent-Message-ID: <200801091330.m09DU2ka065832@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801091326.m09DQaeI026751>