<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>nope. Am not using stonith.<br></span></div><div><br></div><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Andreas Kurz <andreas@hastexo.com><br><b><span style="font-weight: bold;">To:</span></b> pacemaker@oss.clusterlabs.org<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, 14 November 2011 6:08 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Pacemaker] killing corosync leaves crmd, stonithd, lrmd, cib and attrd to hog up the cpu<br></font><br>On 11/14/2011 12:32 PM, ihjaz Mohamed wrote:<br>> Hi All,<br>> <br>> As part of some robustness test for my cluster, I tried killing
the<br>> corosync process using kill -9 <pid>. After this I see that the<br>> pacemakerd service is stopped but the processes crmd, stonithd, lrmd,<br>> cib and attrd are still running and are hogging up the cpu.<br><br>Then fix your stonith setup if you want a "robust" cluster setup .... of<br>course you are using stonith, aren't you?<br><br>Regards,<br>Andreas<br><br>-- <br>Need help with Pacemaker?<br><a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br><br>> <br>> <br>> top - 06:26:51 up 2:01, 4 users, load average: 12.04, 12.01, 11.98<br>> Tasks: 330 total, 13 running, 317 sleeping, 0 stopped, 0 zombie<br>> Cpu(s): 7.1%us, 17.1%sy, 0.0%ni, 75.6%id, 0.1%wa, 0.0%hi, 0.0%si, <br>> 0.0%st<br>> Mem: 8015444k total, 4804412k used, 3211032k free, 54800k buffers<br>> Swap: 10256376k
total, 0k used, 10256376k free, 1604464k cached<br>> <br>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>> 2053 hacluste RT 0 90492 3324 2476 R 100.0 0.0 113:40.61 crmd<br>> 2047 root RT 0 81480 2108 1712 R 99.8 0.0 113:40.43 stonithd<br>> 2048 hacluste RT 0 83404 5260 2992 R 99.8 0.1 113:40.90 cib<br>> 2050 hacluste RT 0 85896 2388 1952 R 99.8 0.0 113:40.43 attrd<br>> 5018 root 20 0 8787m 345m 56m S 2.0 4.4 0:56.95 java<br>> 19017 root 20 0 15068 1252 796 R 2.0 0.0 0:00.01 top<br>> 1 root 20 0 19232 1444 1156 S 0.0 0.0 0:01.71
init<br>> 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd<br>> 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0<br>> 4 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0<br>> <br>> <br>> Is there a way to cleanup these processes ? OR Do I need to kill them<br>> one by one before respawning the corosync?<br>> <br>> <br>> <br>> _______________________________________________<br>> Pacemaker mailing list: <a ymailto="mailto:Pacemaker@oss.clusterlabs.org" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>> <a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"
target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>> <br>> Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>> Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br><br><br><br><br>_______________________________________________<br>Pacemaker mailing list: <a ymailto="mailto:Pacemaker@oss.clusterlabs.org" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br><a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br><br>Project Home: <a
href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br><br><br></div></div></div></body></html>