--- loncom/loncron 2000/12/08 22:08:57 1.8 +++ loncom/loncron 2000/12/08 23:17:26 1.10 @@ -322,11 +322,10 @@ if (-e $londfile) { $restartflag=1; } else { - # Possibility #2: there is a zombie process - # Possibility #3: there is a live process that is not responding + # Possibility #2: there is a live process that is not responding # for an unknown reason - # Solution: kill process, remove .pid and restart - kill 2 => $londpid; + # Solution: kill parent and children processes, remove .pid and restart + `killall -9 lond`; unlink($londfile); $restartflag=1; } @@ -424,11 +423,10 @@ if (-e $loncfile) { $restartflag=1; } else { - # Possibility #2: there is a zombie process - # Possibility #3: there is a live process that is not responding + # Possibility #2: there is a live process that is not responding # for an unknown reason - # Solution: kill process, remove .pid and restart - kill 2 => $loncpid; + # Solution: kill parent and children processes, remove .pid and restart + `killall -9 lonc`; unlink($loncfile); $restartflag=1; }