[Openais] Strange behaviour of corosync

Andreas Mock Andreas.Mock at web.de
Mon Mar 22 16:18:00 PDT 2010


-----Ursprüngliche Nachricht-----
Von: Steven Dake <sdake at redhat.com>
Gesendet: 22.03.2010 22:56:03
An: Andreas Mock <Andreas.Mock at web.de>
Betreff: Re: [Openais] Strange behaviour of corosync

>
>Thank you for going to the trouble of gathering a backtrace.  This is a
>different defect fixed in openais which we couldn't duplicate in
>corosync.  The problem is line #18 pthread_join() after an exit
>function.  This means pthread_join() was called in an atexit() handler
>which posix is iffy on.


Hi Steven,

this error showed IMHO room for improvement at another piece of code.
After your response I knew that the corosync process is not needed any more and
I wanted to realease the cpu from their 200%CPU usage burden. ;-)

A /etc/init.d/corosync stop ended in printing:
Signaling Corosync Cluster Engine (corosync) to terminate: [  OK  ]
Waiting for corosync services to unload:.......   many many many dots

Probably the rc-script should be changed in a way that after waiting for
corosync to stop gracefully for a certain amount of time the script
should hit corosync with a kill -9. What do you think?

Best regards
Andreas Mock
-------------- next part --------------
_______________________________________________
Openais mailing list
Openais at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais


More information about the Openais mailing list