vgetty: no hangup, orphan process

John R. Haggis (haggis@cesium.com)
Tue, 17 Feb 1998 23:11:20 +0100


Every few calls, vgetty jams at the end, hearing busy signals. I'm left with 
an orphan process of some kind that I can't delete and I can't rerun vgetty 
until I reboot the machine!

Can anyone guess what's happening?

% ps -ax
 PID TT STAT TIME COMMAND
 0 ?? DLs 0:00.12 (swapper)
 1 ?? Is  0:00.02 /sbin/init --
 2 ?? DL  0:00.06 (pagedaemon)
 3 ?? DL  0:00.00 (vmdaemon)
 4 ?? DL  0:11.39 (update)
 24 ?? Is  0:00.00 adjkerntz -i
 79 ?? Ss  0:05.74 syslogd
 88 ?? Is  0:00.04 portmap
 108 ?? Ss  0:00.09 inetd
 110 ?? Is  0:01.14 cron
 113 ?? Is  0:00.04 lpd
 116 ?? Is  0:00.15 sendmail: accepting connections on port 25 
(sendmail)
 144 ?? Ss  0:14.00 /usr/local/sbin/httpd
 2064 ?? I 0:00.31 /usr/local/sbin/httpd
 2129 ?? I 0:00.20 /usr/local/sbin/httpd
 2131 ?? I 0:00.27 /usr/local/sbin/httpd
 2210 ?? I 0:00.10 /usr/local/sbin/httpd
 2212 ?? I 0:00.12 /usr/local/sbin/httpd
 2213 ?? I 0:00.10 /usr/local/sbin/httpd
 2222 ?? I 0:00.12 /usr/local/sbin/httpd
 2297 ?? I 0:00.02 /usr/local/sbin/httpd
 2298 ?? I 0:00.03 /usr/local/sbin/httpd
 2299 ?? I 0:00.01 /usr/local/sbin/httpd
 2313 ?? Ss  0:00.06 telnetd
 2314 p0 Ss  0:00.09 -csh (csh)
 2318 p0 R+  0:00.01 ps -ax
 161 v0 Is+ 0:00.01 /usr/libexec/getty Pc ttyv0
 162 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1
 163 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2
 2098 a1- IEs+ 0:00.00 (vgetty)

(The last line is the orphan process; can't kill it!)


Here's the log entry (level 9):
..
02/17 09:59:20 aa1 Rockwell: <DATA 280 bytes>
02/17 09:59:20 aa1 Rockwell: <DATA 294 bytes>
02/17 09:59:20 aa1 Rockwell: <DATA 280 bytes>
02/17 09:59:20 aa1 Rockwell: <DATA 294 bytes>
02/17 09:59:20 aa1 Rockwell: <DLE> <b>
02/17 09:59:20 aa1 vgetty: queued event 0x2001 at position 0034
02/17 09:59:20 aa1 Rockwell: <DATA 292 bytes>
02/17 09:59:20 aa1 vgetty: unqueued event 0x2001 at position 0034
02/17 09:59:20 aa1 vgetty: voice_handle_event got event 0x2001 with data <
02/17 09:59:20 aa1 vgetty: !
02/17 09:59:21 aa1 Rockwell: <DATA 280 bytes>
02/17 09:59:21 aa1 Rockwell: <DATA 296 bytes>
02/17 09:59:21 aa1 vgetty: queued event 0x4000 at position 0035
02/17 09:59:21 aa1 Rockwell: <DATA 3 bytes>
02/17 09:59:21 aa1 Rockwell: <DLE> <ETX>
02/17 09:59:21 aa1 vgetty: unqueued event 0x4000 at position 0035
02/17 09:59:21 aa1 vgetty: voice_handle_event got event 0x4000 with data <
02/17 09:59:21 aa1 Rockwell: OK|VCON
02/17 09:59:21 aa1 voice command: 'AT' -> 'OK'
02/17 09:59:21 aa1 vgetty: AT
02/17 09:59:21 aa1 Rockwell: <DLE> <b>
02/17 09:59:23 aa1 vgetty: queued event 0x2001 at position 0036
02/17 09:59:23 aa1 Rockwell:
02/17 09:59:23 aa1 Rockwell: <DLE> <b>
02/17 09:59:25 aa1 vgetty: queued event 0x2001 at position 0037
02/17 09:59:25 aa1 Rockwell:
02/17 09:59:25 aa1 Rockwell: <DLE> <b>
02/17 09:59:27 aa1 vgetty: queued event 0x2001 at position 0038
02/17 09:59:27 aa1 Rockwell:
02/17 09:59:27 aa1 Rockwell: <DLE> <b>
02/17 09:59:29 aa1 vgetty: queued event 0x2001 at position 0039
..
02/17 10:00:06 aa1 Rockwell:
02/17 10:00:06 aa1 Rockwell: <DLE> <b>
02/17 10:00:08 aa1 vgetty: queued event 0x2001 at position 0055
02/17 10:00:08 aa1 Rockwell:
02/17 10:00:08 aa1 Rockwell: <DLE> <b>
02/17 10:00:11 aa1 vgetty: queued event 0x2001 at position 0056
02/17 10:00:11 aa1 Rockwell:
02/17 10:00:11 aa1 Rockwell: <DLE> <b>
02/17 10:00:13 aa1 vgetty: queued event 0x2001 at position 0057
02/17 10:00:13 aa1 Rockwell:
02/17 10:00:13 aa1 Rockwell: <DLE> <b>
02/17 10:00:15 aa1 vgetty: queued event 0x2001 at position 0058
02/17 10:00:15 aa1 Rockwell:
02/17 10:00:15 aa1 Rockwell: <DLE> <b>
02/17 10:00:19 aa1 vgetty: queued event 0x2001 at position 0059
02/17 10:00:19 aa1 Rockwell:
02/17 10:00:19 aa1 Rockwell:
02/17 10:00:21 aa1 vgetty: Watchdog timer expired, exiting...: No such file 
or
directory


--
John R. Haggis  (haggis@cesium.com)

.