Path: utzoo!attcan!uunet!nih-csl!lhc!ncifcrf!haven!aplcen!unmvax!pprg.unm.edu!topgun!mustang!nntp-server.caltech.edu!gwoho From: gwoho@nntp-server.caltech.edu (g liu) Newsgroups: comp.unix.misc Subject: killing a process gone bad. Message-ID: <1990Oct25.185822.11838@nntp-server.caltech.edu> Date: 25 Oct 90 18:58:22 GMT Organization: California Institute of Technology, Pasadena Lines: 16 supose someone ran the following program: main() { int i; for (i=0; i<32; i++) signal(i,(char *)1); while (fork()!=-1) ; } then ran it. how would i kill it? i could kill one of them, but then the others multiply until the limit is reached. then one fails, terminates, and a new one appears, etc. so i have 1000 processes with constantly changing pids that have too be stopped simultaneously. any ideas for stopping it? gwoho.