Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 1998 14:56:14 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        stable@FreeBSD.ORG
Subject:   Weird Process Timings
Message-ID:  <Pine.BSF.4.05.9812091443100.27793-100000@bright.fx.genx.net>

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

A friend of a friend is having problems with a machine he recently updated
from 2.2.7 -> 2.2-stable.

Basically it seems the clock is all messed up, and weird things are being
shown for process time and cpu useage:

doing a ps -aux 

USER       PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED       TIME COMMAND
bright    1799  0.0  0.6   672  796  p1  R+   31Dec69    0:00.00 -bash
(bash)
root         1  0.0  0.2   412  248  ??  Is    2:11AM    0:00.02
/sbin/init --
root         2  0.0  0.0     0   12  ??  DL    2:11AM    0:00.00
(pagedaemon)

...

-brokenbox::bright:~$ uptime
uptime: /dev//3: No such file or directory
uptime: /dev//²½n6ttyp4: No such file or directory
11:35AM  up  1:24, 2 users, load averages: 0.21, 0.15, 0.10     

(yes i know utmp/wtmp are broken, i had him recompile screen/sshd)

-brokenbox::bright:~$ date
Wed Dec  9 11:36:20 PST 1998  

top:
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0%
idle
 PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  486 spice     2   0  1536K  2220K select   0:11  0.00%  0.00%
eggdrop-1.3.20
  311 myneid    2   0  1072K  1576K select   0:11  0.00%  0.00%
irc-EPIC4pre1.
  
top can not get WCPU/CPU times.. :/

If you haven't noticed:

the time on bash is way off, in fact it seems pre-epoch i think.
Other processes are showing start times that are earlier than when the
machine was booted.

He also says that machine is acting kinda funny, meaning the scheduling is
bursty, but i'm unsure about that.

i've double checked perms on:
/dev/drum, /dev/kmem, /dev/mem and procfs they seem normal,
the devs are rw-r------ root, kmem

the kernel_kvm.db file looks fine.

we've rm -rf /usr/obj /usr/src and recvsup and re-made world but it hasn't
helped.

ktracing top doesn't show it getting errors opening anything...

btw, apm is off in the kernel and i'm seeing nothing odd in
/var/log/messages and nothing odd in dmesg output.

I haven't really been tracking -stable and i'm really stumped, any
suggestions?  anyone else seeing problems like this with a recent cvsup?

thanks, and please cc: me as i'm not subscribed to this list.
 
Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/                        3.0-current


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812091443100.27793-100000>