[Openais] corosync shutdown timeout

Vadym Chepkov chepkov at yahoo.com
Thu Apr 15 08:29:19 PDT 2010


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

The system doesn't go down and in case of a shutdown initiated by UPS it can be disastrous.


Sincerely yours,
  Vadym Chepkov


More information about the Openais mailing list