Re: 2.2.0-pre9 blow up

Arvind Sankar (arvinds@mit.edu)
Mon, 25 Jan 1999 22:23:33 -0500


On Mon, Jan 25, 1999 at 10:07:07PM -0500, Arvind Sankar wrote:
> dunno if this is related, but I notice that on my machine, while shutting
> down, lots of daemons take a long time to die. i.e. when the daemon stop
> is run, they get a SIGTERM, but they take too long to die, and the script
> has to SIGKILL them. It isn't too slow: a lot of them die in the 3 sec
> interval before the KILL, but on 2.1.132, they used to die in the 0.1 sec
> that the script waited after sending the SIGTERM. Net result is that it takes
> a huge amount of time to shutdown.
>
> Sys is redhat 5.2 with 2.2.0pre9.

ok. this is not a bug in the kernel, but a bug in ps. I installed
procps-990103, and ps $pid no longer returns exit code 1 if $pid is not
running. This breaks the init scripts.

-- arvind

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/