Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 1998 21:50:43 -0500 (EST)
From:      David Kott <dakott@alpha.delta.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   "Hung" Virtual terminal in -stable.  Doesn't respond to "kill -KILL".
Message-ID:  <Pine.BSF.3.96.980330212403.20039A-100000@kott.my.domain>

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

This happens to my machine on a semi-regular basis, basically, when the
computer is left running for several days unattended;  that is, I don't
login, ttyv0 ends up "hanging".  It no longer responds to keypresses or
"kill -KILL" attempts.  In the past, I have to reboot the computer to
get rid of this process.  I have never seen any other virtual terminal
exibit this behavior; only ttyv0.   Here is some output from ps:

USER       PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root     18274     1 18274 7aace0    0 I<Es+  v0-   0:00.00  (login)

According to the manpage, this process is idling, not surprising as I
haven't done anything with that terminal all night... Has "raised CPU
scheduling".. no clue there.. it seems that no other processes are listed
as having increased service rates.  "E", denoting that the process is
trying to exit.. no doubt from the kill -KILL I sent it when it stopped
responding.  "s", denoting that the process is a session leader, and
finally the "+" showing that the process is the forground group.

top had this information to provide on this process:

PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
18274 root      4  -4   184K   228K ttywai   0:00  0.00%  0.00% login

I am using:

FreeBSD 2.2.6-BETA FreeBSD 2.2.6-BETA #0: Sun Mar 22 22:44:22 EST
1998

Has anyone experienced anything similar, or perhaps have a suggestion on
how to clear up this behavior?

								-d


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" 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.3.96.980330212403.20039A-100000>