[Openais] corosync shutdown timeout

Andrew Beekhof andrew at beekhof.net
Thu Apr 15 09:18:43 PDT 2010


On Thu, Apr 15, 2010 at 5:29 PM, Vadym Chepkov <chepkov at yahoo.com> wrote:
> Hi,
>
> Is there a way to configure corosync timeout shutdown?
>
> # grep 'Still waiting' /var/log/messages
> Apr 15 15:13:37 ashlin02 corosync[3017]:   [pcmk  ] notice: pcmk_shutdown: Still waiting for crmd (pid=3029, seq=6) to terminate...
> Apr 15 15:18:07 ashlin02 corosync[3017]:   [pcmk  ] notice: pcmk_shutdown: Still waiting for crmd (pid=3029, seq=6) to terminate...
> Apr 15 15:22:07 ashlin02 corosync[3017]:   [pcmk  ] notice: pcmk_shutdown: Still waiting for crmd (pid=3029, seq=6) to terminate...
> Apr 15 15:23:37 ashlin02 corosync[3017]:   [pcmk  ] notice: pcmk_shutdown: Still waiting for crmd (pid=3029, seq=6) to terminate...
> Apr 15 15:24:07 ashlin02 corosync[3017]:   [pcmk  ] notice: pcmk_shutdown: Still waiting for crmd (pid=3029, seq=6) to terminate...
>
>
> Because of this code in init.d script:
>
>        echo -n "Waiting for $prog services to unload:"
>        while status $prog > /dev/null 2>&1; do
>                sleep 1
>                echo -n "."
>        done

No, thats just the symptom.
Corosync is waiting for Pacemaker which is waiting for one of your
services to stop.

Do you really want the node to terminate with your $important_app not
cleanly stopped?

> The system doesn't go down and in case of a shutdown initiated by UPS it can be disastrous.
>
>
> Sincerely yours,
>  Vadym Chepkov
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
>


More information about the Openais mailing list