SWAP Space: How do you increase it above the default 5 meg?

Brent Burton n138ct at tamuts.tamu.edu
Thu Apr 11 14:54:10 AEST 1991


speaking of swap space and the number of processes, how many processes
total (ignore memory constraints) can a UPC handle?

Try this program at home:  (got from comp.unix.wizards for how to crash a
                             unix system)
main()
{
	fork();
	main();
}

This program will doo-doo your system quite nicely.  Mine didn't crash,
but it took 10 minutes and numerous calls to 'killall' to zap this beast.
Within 5 minutes over 8000 new processes were started. Wow!
(It seemed once you killed one, a chain of hundreds would die.)

My system (20M, 2MR, 3.51 at th~re time) started killing processes due
to no swap space.
             +----------------------+--------------------------+
             | Brent P. Burton      | n138ct at tamuts.tamu.edu   |
             | Texas A&M University | Computer Science/Physics |
             +----------------------+--------------------------+



More information about the Comp.sys.3b1 mailing list