Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: williamcin@aol.com (Williamcin)
Subject: Why tty ID is set to ?? for an interactive process?
Date: 10 Dec 2002 04:47:49 GMT	[thread overview]
Message-ID: <20021209234749.16577.00000185@mb-co.aol.com> (raw)

I wonder if someone can tell me what's wrong with my Tru64 Unix V5.1a system.

From time to time when we run an inhouse developed software, the Unix process
will end up using  99% of CPU (basically it is looping) with tty set to "??".

Normally, after the user log onto my Unix server, they will run a ksh script.
Inside the script, it will do some key definations and then invoke the binary
executables. The following is the normal output when I do a "ps -ef|grep
mytools" for a user c1511

==============
c1511    329614 329367  0.0 15:00:58 pts/7        0:00.01 run_mytools
c1511    329623 329614  0.0 15:00:58 pts/7        0:00.45 /tools/mytools
==============

That is the perfect situation; however, from time to time, the /tools/mytools
process will go into loop, taking 99% of the CPU with the tty ID set to "??"
and the parent process ID become 1.

This situation can happen on any users, at any particular time and from PC to
PC (running the telnet session). When this happened, the "ps -ef|grep mytools"
for the particular user will be something like

================	
GAMALLOM 414726      1 98.3 12:12:13 ??           6:48.66 /tools/mytools
================

I don't believe it is a bug on "mytools" as this problem happened randomly and
can't be reproduced at will. It can happen on any users with any PC and at any
time.

I am looking for any possible explanation on

a) what's happening to the run_mytools script process?
b) why the tty ID become ?? for an interactive process which should attach to a
tty

and if possible, some hints to pin down the problem and find out a solution for
this.

Many thanks for the help.


             reply	other threads:[~2002-12-10  4:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10  4:47 Williamcin [this message]
2002-12-11  7:54 ` Why tty ID is set to ?? for an interactive process? Nikola Milutinovic
2002-12-11 23:01   ` BillLi
2002-12-12  6:34     ` Nikola Milutinovic
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox