NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38547: select/poll do not set l_kpriority
>Number: 38547
>Category: kern
>Synopsis: select/poll do not set l_kpriority
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 30 07:50:00 +0000 2008
>Originator: Andrew Doran
>Release: 4.99.62
>Organization:
The NetBSD Project
>Environment:
n/a
>Description:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
344 root 42 0 1832K 79M RUN/0 1:41 2.29% 2.29% Xorg
1137 ad 43 0 2784K 71M select/0 0:52 0.05% 0.05% firefox-bin
678 ad 43 0 2784K 26M select/1 0:03 0.00% 0.00% gnome-termin
383 ad 43 0 2784K 14M select/0 0:03 0.00% 0.00% mixer_applet
311 root 43 0 748K 1932K select/1 0:02 0.00% 0.00% famd
144 ad 43 0 3808K 19M select/1 0:01 0.00% 0.00% nautilus
345 ad 43 0 2784K 14M select/0 0:01 0.00% 0.00% wnck-applet
562 ad 43 0 2784K 10M select/0 0:01 0.00% 0.00% multiload-ap
552 ad 43 0 2784K 10M select/1 0:01 0.00% 0.00% metacity
824 ad 43 0 752K 1304K CPU/0 0:00 0.00% 0.00% top
0 root 125 0 0K 21M schedu/0 0:00 0.00% 0.00% [system]
138 root 85 0 2784K 19M sigwai/1 0:00 0.00% 0.00% named
271 root 85 0 1780K 5524K pause/0 0:00 0.00% 0.00% ntpd
532 ad 85 0 748K 1280K pause/1 0:00 0.00% 0.00% screen-4.0.3
548 ad 85 0 748K 1152K netio/1 0:00 0.00% 0.00% gnome-pty-he
313 root 85 0 748K 1140K kqueue/1 0:00 0.00% 0.00% inetd
Many of the sleeping processes have a user priority listed against
them (under 64). They're sleeping on kernel resources so should
have a kernel priority level (at or above 64). Maybe select/poll
are not setting l_kpriority=true.
>How-To-Repeat:
Run top, notice strange priority levels.
>Fix:
Check that select/poll do: l->l_kpriority = true.
Home |
Main Index |
Thread Index |
Old Index