From robert@sleipnir.watson.org  Sun Nov  8 09:58:35 1998
Received: from sleipnir.watson.org (n234-113.mtholyoke.edu [138.110.234.113])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02580
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 8 Nov 1998 09:58:34 -0800 (PST)
          (envelope-from robert@sleipnir.watson.org)
Received: (from robert@localhost)
	by sleipnir.watson.org (8.9.1/8.9.1) id MAA01130;
	Sun, 8 Nov 1998 12:58:24 -0500 (EST)
	(envelope-from robert)
Message-Id: <199811081758.MAA01130@sleipnir.watson.org>
Date: Sun, 8 Nov 1998 12:58:24 -0500 (EST)
From: robert+freebsd@fledge.watson.org
Reply-To: robert@fledge.watson.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: Robert Watson <robert@fledge.watson.org>
X-Send-Pr-Version: 3.2

>Number:         8604
>Category:       kern
>Synopsis:       ps u gets confused about process start times
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  8 10:00:01 PST 1998
>Closed-Date:    Sun Jun 02 04:04:10 PDT 2002
>Last-Modified:  Sun Jun 02 04:04:10 PDT 2002
>Originator:     Robert Watson
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

FreeBSD 3.0 (several days old -current): the machine is a notebook and
spends a fair amount of time suspended during travel and while I am
asleep. :)  I suspect that that is the valid context.  The machine is
also running Coda.

>Description:

ps aux gives confused output about process start time after waking up:

USER     PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root     288  1.1 16.6 19448 7764  ??  S    28Oct98 150:23.97 /usr/X11R6/bin/X 
root       1  0.0  0.2   496   72  ??  Is   28Oct98   0:00.49 /sbin/init --
root       2  0.0  0.0     0    0  ??  DL   28Oct98   7:35.93  (pagedaemon)
root       3  0.0  0.0     0    0  ??  DL   28Oct98   0:14.31  (vmdaemon)
root       4  0.0  0.0     0    0  ??  DL   28Oct98   5:25.43  (syncer)
root      91  0.0  0.4   804  172  ??  Ss   28Oct98   0:11.62 syslogd
daemon   101  0.0  0.0   788    0  ??  IWs  -         0:00.00 (portmap)
root     114  0.0  0.0   532    0  ??  IWs  -         0:00.00 (mountd)
root     117  0.0  0.0   316    0  ??  IWs  -         0:00.00 (nfsd)
root     119  0.0  0.0   296    0  ??  IW   -         0:00.00 (nfsd)
root     120  0.0  0.0   296    0  ??  IW   -         0:00.00 (nfsd)
root     121  0.0  0.0   296    0  ??  IW   -         0:00.00 (nfsd)
..
robert  1075  0.0  2.0  1328  904  p2  Ds   12:51PM   0:00.12 -csh (tcsh)
robert  1078  0.0  0.6   408  280  p2  R+   12:53PM   0:00.00 ps -aux
root       0  0.0  0.0     0    0  ??  DLs  28Oct98   0:02.06  (swapper)
robert  1079  0.0  2.0  1328  904  p2  RV   12:53PM   0:00.00 -csh (tcsh)


Some processes have a valid start time; others do not.  There doesn't even
seem to be a relationship between 'long running' and whether it happens or
not.  I have not seen this behavior before.

cd'ing to /proc witnesses the same effect:

% cd /proc/299     # dud process
% more status
sh 299 289 299 0 -1,-1 noflags -1,-1 0,9105 0,27317 wait 1000 1000 1000,1000,100
0,0,5,68,500,501,502,801,802,900,1004,1060
% cd /proc/309     # not a dud process
% more status
kwm 309 299 299 0 -1,-1 noflags 909631349,791520 178,939360 102,121346 select 10
00 1000 1000,1000,1000,0,5,68,500,501,502,801,802,900,1004,1060
%

>How-To-Repeat:

Not repeatable, or at least, I have not seen the behavior before.

>Fix:
	
No known fix -- just a symptom report to see if anyone else has seen this
either.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Dec 2 10:15:02 PST 2001 
State-Changed-Why:  

Does this still occur? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8604 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Jun 2 04:03:39 PDT 2002 
State-Changed-Why:  

Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=8604 
>Unformatted:
