* How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!!
@ 1996-10-30 5:00 Giancarlo Pfeifer
1996-10-31 5:00 ` Paul D. Chapin
0 siblings, 1 reply; 4+ messages in thread
From: Giancarlo Pfeifer @ 1996-10-30 5:00 UTC (permalink / raw)
I've an account on an Alpha Station 255 (233MHz) running Digital UNIX
Version V4.0 and I'm facing a nasty problem that I don't really know how
to deal with.
All happened when I decided to kill a process using a "kill -9 #pid"
command. The process immediately entered the state of <defunct> process,
generating at the same time, a comsat process with the status of
uninterruptable process. Every time I get new mail, the system
automatically generates a new comsat process.
The question is: how can I (or my sysop) definitely remove the <defunct>
process? and how can I (or my sysop) change the status of comsat to make
it killable? And what is it exactly, and why does it become
uninterruptable?
Hoping it will give some ideas to diagnose the error, I'm including
here the results of a ps command:
pfeifer@grifo>ps -a -u pfeifer -f
UID PID PPID C STIME TTY TIME CMD
pfeifer 409 1 0.0 - ?? 0:00.00 <defunct>
pfeifer 421 1 0.0 - ?? 0:00.00 <defunct>
pfeifer 4049 1 0.0 Oct 29 ?? 0:00.00 comsat
pfeifer 4320 1 0.0 Oct 29 ?? 0:00.01 comsat
pfeifer 6270 1 54.7 11:42:01 ?? 02:58:32 /usr/local/gap3r4p3/bin/gap -m 24m -l /usr/local/gap3r4p3/lib/ -h /usr/local/gap3r4p3/doc/
pfeifer 6638 1 0.0 12:55:05 ?? 0:00.01 comsat
pfeifer 6813 1 0.0 13:22:05 ?? 0:00.01 comsat
pfeifer 7162 1 0.0 16:25:25 ?? 0:00.01 comsat
pfeifer 3624 1 0.0 Oct 29 lat/621 0:00.48 -tcsh (tcsh)
Where PID 3624 is my shell and 6270 is a batch job which works, while all
the other processes are those I'd like to kill (the comsat have a U in
the Status column of a "ps -a -u pfeifer" command!).
Moreover I read that SVR4 keeps in the 'directory' /proc the image of the
processes running. The next is a partial listing of such directory:
pfeifer@grifo>cd /proc
pfeifer@grifo>ll|grep pfeifer
-rw------- 1 pfeifer laur 17408000 Oct 30 17:09 00409
-rw------- 1 pfeifer laur 17416192 Oct 30 17:09 00421
-rw------- 1 pfeifer laur 17416192 Oct 30 17:09 03624
-rw------- 1 pfeifer laur 17154048 Oct 30 17:09 04049
-rw------- 1 pfeifer laur 17154048 Oct 30 17:09 04320
-rw------- 1 pfeifer laur 39354368 Oct 30 17:09 06270
-rw------- 1 pfeifer laur 17154048 Oct 30 17:09 06638
-rw------- 1 pfeifer laur 17154048 Oct 30 17:09 06813
-rw------- 1 pfeifer laur 17154048 Oct 30 17:09 07162
-rw------- 1 pfeifer laur 17121280 Oct 30 17:09 07249
-rw------- 1 pfeifer laur 17457152 Oct 30 17:09 07252
Does the length 17408000 of 00409 means that I'm using over 17MB's memory
of the Alpha with a defunct application?
I hope someone will give me some hints or suggestions and I thank you for
the attention and for help!! (this thing is driving me mad! :-| )
Thanks,
gp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Giancarlo Pfeifer
pfeifer@griffo.mat.unimi.it
http://www.uea.ac.uk/~u9405267/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!!
1996-10-30 5:00 How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!! Giancarlo Pfeifer
@ 1996-10-31 5:00 ` Paul D. Chapin
1996-10-31 5:00 ` Thomas Bates
0 siblings, 1 reply; 4+ messages in thread
From: Paul D. Chapin @ 1996-10-31 5:00 UTC (permalink / raw)
Giancarlo Pfeifer (pfeifer@griffo.mat.unimi.it) wrote:
: All happened when I decided to kill a process using a "kill -9 #pid"
: command. The process immediately entered the state of <defunct> process,
: generating at the same time, a comsat process with the status of
: uninterruptable process. Every time I get new mail, the system
: automatically generates a new comsat process.
The comsat processes probably indicate that the system is confused
about whether pfeifer is connected or not. I've had a similar problem
with users not being on, but being reported as connected by "who" and
the like. The result is that biff, which is what comsat really is,
get's fired up but doesn't have anywhere to send the notice. I'm
currently talking to DEC support about this.
I believe the defunct status indicates that the process was killed while
running some kernel code. The result is that the system can't
completely kill the process, but there's nothing really happening
either. I just ignore it until the next reboot.
--
Paul Chapin
Unix Systems Manager I'm too busy to have time
Amherst College for anything important.
413-542-2144
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!!
1996-10-31 5:00 ` Paul D. Chapin
@ 1996-10-31 5:00 ` Thomas Bates
1996-11-01 5:00 ` Paul D. Chapin
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Bates @ 1996-10-31 5:00 UTC (permalink / raw)
In article <55ahs3$138@tom.amherst.edu>, pdchapin@unix.amherst.edu (Paul D. Chapin) writes:
>Giancarlo Pfeifer (pfeifer@griffo.mat.unimi.it) wrote:
>: All happened when I decided to kill a process using a "kill -9 #pid"
>: command. The process immediately entered the state of <defunct> process,
>: generating at the same time, a comsat process with the status of
>: uninterruptable process. Every time I get new mail, the system
>: automatically generates a new comsat process.
>
>The comsat processes probably indicate that the system is confused
>about whether pfeifer is connected or not. I've had a similar problem
>with users not being on, but being reported as connected by "who" and
>the like. The result is that biff, which is what comsat really is,
>get's fired up but doesn't have anywhere to send the notice. I'm
>currently talking to DEC support about this.
>
>I believe the defunct status indicates that the process was killed while
>running some kernel code. The result is that the system can't
>completely kill the process, but there's nothing really happening
>either. I just ignore it until the next reboot.
>
I'm having this exact same problem, after a recent upgrade from 3.2G to
4.0A.
Another annoying thing I've also noticed is now when someone tries
to talk to me from another node, the talk requests go to the dxconsole
window, instead of any of the dtterm's I'm running. Unless I happen to
have it open, I'd never know that someone tried to chat with me!
If you hear anything about the 'who' and other problems from Digital,
please post! +:) I'm sure there are other's out there, too..
Thomas
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thomas Bates bates@atlantis.its.dist.maricopa.edu
ITS http://pvax2.dist.maricopa.edu/~bates/index.html
MCCCD Tempe, Arizona
Export some crypto today!
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!!
1996-10-31 5:00 ` Thomas Bates
@ 1996-11-01 5:00 ` Paul D. Chapin
0 siblings, 0 replies; 4+ messages in thread
From: Paul D. Chapin @ 1996-11-01 5:00 UTC (permalink / raw)
Thomas Bates (bates@pvax2.dist.maricopa.edu) wrote:
: In article <55ahs3$138@tom.amherst.edu>, pdchapin@unix.amherst.edu (Paul D. Chapin) writes:
: >The comsat processes probably indicate that the system is confused
: >about whether pfeifer is connected or not. I've had a similar problem
: >with users not being on, but being reported as connected by "who" and
: >the like. The result is that biff, which is what comsat really is,
: >get's fired up but doesn't have anywhere to send the notice. I'm
: >currently talking to DEC support about this.
: I'm having this exact same problem, after a recent upgrade from 3.2G to
: 4.0A.
I should add that there's a real security problem with this.
Apparently biff looks up what terminal line a user is one and sends
the notice down that line. If the person isn't really on, you get
the comsat that wouldn't go away. The bigger danger is that somebody
else is now sitting at the end of the line. I've had reports of the
wrong person getting biff notices, including the first seven lines or
so of the message.
--
Paul Chapin
Unix Systems Manager I'm too busy to have time
Amherst College for anything important.
413-542-2144
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-11-01 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-30 5:00 How to deal with <defunct> processes and Uninterruptable Comsat? HELP !!! Giancarlo Pfeifer
1996-10-31 5:00 ` Paul D. Chapin
1996-10-31 5:00 ` Thomas Bates
1996-11-01 5:00 ` Paul D. Chapin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox