Hung uuxqt processes

Romain Kang romain at pyrnj.uucp
Tue Mar 22 03:43:19 AEST 1988


In article <352 at mancol.UUCP> samperi at mancol.UUCP (Dominick Samperi) writes:
| Does anyone have any idea how a command started by uuxqt can freeze, doing
| nothing, while the data to be processed is sitting in the uucp spool
| directory (that is, the D.xxx and X.xxx files are there, and they are
| in good shape)? The command in question is one that I call 'uucpio', it
| executes system("compress -d | rcpio -icdum"), and as the 'ps -ef' listing
| below shows, the necessary processes are started, but they do nothing; the
| same listing results if ps is run time and again, yet there is no system
| activity.

I'm not sure this is answers your specific case, but I have seen instances
where a remote system calls in on a dialup line, successfully transfers
files, and exits without any problem.  The catch is that once the remote
system logs off, carrier no longer is present on the line, but uuxqt
still calls that line its "controlling tty".  Therefore, statements like
	fputs("Out of phase - get help\n", stderr);
or
	efd = open("/dev/tty", 2);
may hang until the next time some one dials in.

At times I've hacked BSD uucp to do a TIOCNOTTY to avoid this; I'm
not sure what you'd do under System V, assuming this is your problem.
-- 
Romain Kang			{allegra,cmcl2,pyramid,rutgers}!pyrnj!romain
Pyramid Technology Corp. /  10 Woodbridge Center. Dr /  Woodbridge NJ  07095

"Eggheads unite! You have nothing to lose but your yolks!" -Adlai Stevenson



More information about the Comp.unix.wizards mailing list