🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11876

Exiting processes

#11876
From: Len Evens
Date: Tue, 04 Apr 1989 01:01
30 lines
1548 bytes
For many months we have had the problem of a port attached to a modem
entering a `zombie state' in which the process was described as exiting
and could not be killed.  Thanks to the genius (whose name I forgot to
record) who suggested the use of the trace command in a previous article
in Sun Spots, we now have a solution which works for us.

	1. Use the command
		trace -p PID
		(where PID is the process ID of the hung port)
		followed by Ctrl-C.

	2. Edit /etc/ttytab (under OS 4.0) to turn off the port and execute
		kill -HUP 1

	3. Repeat step 2 but this time to turn on the port.

The last two steps are necessary in order to convince init to start a new
getty at the port.

This is a bit complicated, but it beats rebooting which is the only other
thing which we found to work.

Again, many thanks to the (unfortunately) anonymous person who suggested
using trace.

Leonard Evens                      len@math.nwu.edu
Department of Mathematics 
Northwestern University
Evanston, IL 60208
312-491-5537
Technical Details
Message-ID: <8903231254.AA04583@math.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!rice!sun-spots-request
From: len@math.nwu.edu (Len Evens)
Newsgroups: comp.sys.sun
Subject: Exiting processes
Keywords: SunOS
Message-ID: <8903231254.AA04583@math.nwu.edu>
Date: 4 Apr 89 01:01:12 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 30
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 23 Mar 89 06:54:01 CST
X-Sun-Spots-Digest: Volume 7, Issue 221, message 5 of 12