misc/126230: weird process cpu usage stats and weird load

Kris Kennaway kris at FreeBSD.org
Fri Aug 8 10:59:55 UTC 2008


Jakub Jasinski wrote:

>  Now, get cracking and fix select(). ;)

Except I can't reproduce the bug.  As expected (and previously 
observed), running rsync does not cause select to use CPU time, either 
with your test code or any other application.  Something else bizarre is 
going on on your system.

   PID USERNAME   PRI NICE   SIZE    RES STATE  C   TIME    CPU COMMAND
47984 kris        -8    0   151M   116M biord  2   1:31 56.88% rsync
47985 kris        45    0   151M   115M select 1   0:04  1.07% rsync
47990 kris        44    0  3500K  2252K CPU3   3   0:01  0.29% top
  1070 nobody       4    0 13644K 12236K kqread 1 213:17  0.00% lighttpd
  7040 kris        44    0  4592K  3144K select 0  42:51  0.00% screen
  1090 root        44    0  5864K  2508K select 1  18:50  0.00% sendmail
   684 root         4    0  3116K   824K -      1  12:54  0.00% nfsd
  1039 root        44    0  4648K  1768K select 0   9:06  0.00% ntpd
   597 root        44    0  3168K  1168K select 2   8:35  0.00% syslogd
28980 kris        44    0  1104K   616K select 3   7:37  0.00% console
  8895 adrian       4    0  3568K  1932K select 3   7:14  0.00% screen
75070 root        44    0  5632K  2960K select 1   6:35  0.00% sshd

...

48005  qq  S+     0:00.00 ./select


Kris


More information about the freebsd-bugs mailing list