i386/73328: top shows NICE as -111 on processes started by idprio
J. Porter Clark
jpc at drum.msfc.nasa.gov
Sat Oct 30 16:10:29 PDT 2004
>Number: 73328
>Category: i386
>Synopsis: top shows NICE as -111 on processes started by idprio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 30 23:10:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: J. Porter Clark
>Release: 5.3-STABLE
>Organization:
NASA MSFC
>Environment:
FreeBSD hammer.msfc.nasa.gov 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Oct 28 08:40:49 CDT 2004 jpc at hammer.msfc.nasa.gov:/usr/obj/usr/src/sys/HAMMER i386
>Description:
The "top" program shows a NICE value of -111 for programs started by
idprio 31. On 4.X, the "correct" value of 52 is shown.
>How-To-Repeat:
As root, run "idprio 31 sleep 500 &".
Then run "top -Uroot". The sleep process is listed as having a NICE value
of -111. Other values besides 31 produce the same result.
>Fix:
My guess is that it's probably in /usr/src/usr.bin/top/machine.c about line 747 or so, but I haven't had time to dig into it.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list