[net.bugs.uucp] Uucp runs out of processes.

steveh@hammer.UUCP (Stephen Hemminger) (11/14/83)

When polling many sites at once it is possible for uuxqt to run
out of processes (exceed the max # processes/uid), and not execute the
command.  The fix is to put a while loop of the form:

	while ( (pid = fork()) < 0)
		sleep(30);

in shio.c and xqt.c (and where ever else fork() is used).

honey@princeton.UUCP (11/16/83)

it would seem that your poll script is something like

    for i in $POLL; do
	/usr/lib/uucp/uucico -r1 -s$i&
    done

(else how do you run out of processes?)  might i suggest the following:

    for i in $POLL; do
	touch $SPOOL/C.${i}z0000
    done
    /usr/lib/uucp/uucico -r1

	peter honeyman