[Bug 89762] [patch] top(1) startup is very slow on system with many users

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 20 23:19:31 UTC 2018


--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: eadler
Date: Sun May 20 23:19:10 UTC 2018
New revision: 333945
URL: https://svnweb.freebsd.org/changeset/base/333945

  top(1): set max username length based on system constant

  This changes previous behavior of calculating it at startup based on
  the current max username length.

  This is done because:
  - it is in theory possible for the max length to change at run-time
    (e.g., a new user is added after top starts running)
  - on machines with many users this delays startup significantly

  PR:           20799
  PR:           89762
  Reported by:  ob at e-Gitt.NET
  Reported by:  wkwu at Kavalan.csie.NCTU.edu.tw
  Reported on:  2000-08-23 and 2005-11-30


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list