Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: Why tty ID is set to ?? for an interactive process?
Date: Wed, 11 Dec 2002 08:54:55 +0100	[thread overview]
Message-ID: <3DF6EF4F.5000605@ev.co.yu> (raw)
In-Reply-To: 20021209234749.16577.00000185@mb-co.aol.com

Williamcin wrote:
> 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 "??".


> 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
> ================
> 
> 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

This would be due to that process refusing to exit and the user (who started it) 
logging out. The fact it is using 99% CPU tells you that it is a runaway 
process, stuck in an infinite loop, ignoring HUP signal. The user logged out and 
the child process lost it's controlling terminal, that's why it's set to "??".

If it is in-house developed, attach a debugger to that process and see where 
it's stuck looping.

Nix.



  reply	other threads:[~2002-12-11  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10  4:47 Why tty ID is set to ?? for an interactive process? Williamcin
2002-12-11  7:54 ` Nikola Milutinovic [this message]
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