[net.unix-wizards] I/O Error in Push, amt. of swap space

chris.umcp-cs@Udel-Relay@sri-unix (11/19/82)

From:     Chris Torek <chris.umcp-cs@Udel-Relay>
Date:     16 Nov 82 03:36:14 EST  (Tue)
Speaking of which, has anyone ever tried the following:

#include <signal.h>
main () {
	register i;
	for (i = 1000000; i; i /= 10)
		while (sbrk (i) != -1)
			;
	kill (0,SIGTSTP);
}

% a.out<CR>
[1] + Stopped		a.out
% a.out<CR>
[2] + Stopped		a.out
% a.out<CR>
[3] + Stopped		a.out
% a.out<CR>
 ...

After about six of them our paging area completely fills up and no
one can run anything.  (Fortunately "kill" is built into the csh.)
You get a message like:

/usr/ucb/mail: Not enough core.

						- Chris