Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* 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

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