home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.internals:1699 comp.unix.sysv386:13233
- Newsgroups: comp.unix.internals,comp.unix.sysv386
- Path: sparky!uunet!virtech!cpcahil
- From: cpcahil@virtech.uucp (Conor P. Cahill)
- Subject: Re: SIGKILL problem with Interactive
- Message-ID: <1992Aug17.110710.20862@virtech.uucp>
- Keywords: SIGKILL Interactive
- Organization: Virtual Technologies Inc.
- References: <1992Aug14.124846.27924@crash>
- Date: Mon, 17 Aug 92 11:07:10 GMT
- Lines: 33
-
- gpitcher@crash.cts.com (Glenn Pitcher) writes:
-
-
- >For instance, I have one job that is recycled each night. It's first
- >terminated by using 'kill -9 <pid>'. Most of the time it works but last
- >night the job was in a infinate loop trying to kill this thing off. Another
- >example is a little script that kills users off just before I perform a
- >system backup at 0200. Here I also use kill -9 (I know it's crude) and it
- >works... most of the time.
-
- Most likely the jobs you can't kill are asleep within the kernel at too high
- of a priority level to get woken up by a signal. This can happen for several
- reasons, but the most likely culprit is an i/o request to a device in which
- the device driver put the program to sleep at an uninteruptable level.
-
- This is easy to re-generate. Just run "ls -lR /" and when the output
- starts, enter <Ctrl>-s. After a few moments the output buffer will fill
- and the program will be put to sleep pending the receipt of a ctrl-q.
- At this point, signals are almost always disabled and if you send a kill -9,
- the program will not die (although the signal will be delivered as soon as
- a ctrl-q is delivered from the terminal and the program will die then)
-
- >Also, occasionally, my backup job (which is started by cron) simply sits
- >in the process queue sawing logs (asleep :-) ). Nothing I do will wake it
- >up and I have absolutly no idea as to why my system is doing this. I even
-
- Perhaps a problem with the tape driver?
-
- --
- *** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***
-
- Conor P. Cahill (703)430-9247 cpcahil@virtech.vti.com
- Virtual Technologies, Inc. 46030 Manekin Plaza Dulles, VA 21066
-