How do you handle while(1) fork(); ?

A.V. Raman ARaman at massey.ac.nz
Wed Jul 11 09:14:56 AEST 1990


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();

I guess it should be possible to do something like temporarily
reducing the user's process limit to 0 and raising it back up
later; but I'm not sure how to go about it.

Any help (by email) would be appreciated.

Thanks.

- & (Anand)



More information about the Comp.unix.questions mailing list