Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cs.dal.ca!aucs!peter From: peter@aucs.uucp (Peter Steele) Newsgroups: comp.unix.questions Subject: Re: How do you handle while(1) fork(); ? Message-ID: <1990Jul11.115612.2155@aucs.uucp> Date: 11 Jul 90 11:56:12 GMT References: <841@massey.ac.nz> Organization: Acadia University - School of Computer Science Lines: 20 ARaman@massey.ac.nz (A.V. Raman) writes: >Is there any way to kill all instances of a process that has the >following piece of code in it without having to bring the system down? > while (1) > fork(); >Any help (by email) would be appreciated. I think a summary of responses to this question would be appreciated. We've had students do this on many occasions on our Sun. It's a pretty quick way to crash the system and I for one would like to know if there are any feasible solutions. -- Peter Steele, Microcomputer Applications Analyst Acadia University, Wolfville, NS, Canada B0P1X0 (902)542-2201x121 UUCP: {uunet|watmath|utai|garfield}!cs.dal.ca!aucs!Peter BITNET: Peter@Acadia Internet: Peter@AcadiaU.CA