<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>That was exactly the problem and the fix.</div>
<div><br>
</div>
<div>I was able to issue the enclosed date command and restart one/sunstone (no server reboot required).</div>
<div><br>
</div>
<div>Thanks Tao.</div>
<div><br>
</div>
<div>-Marshall</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Tao Craig <<a href="mailto:tao@leadmesh.com">tao@leadmesh.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, July 5, 2012 5:24 PM<br>
<span style="font-weight:bold">To: </span>Marshall Grillos <<a href="mailto:mgrillos@optimalpath.com">mgrillos@optimalpath.com</a>>, "<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>" <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
<span style="font-weight:bold">Cc: </span>Rusty Wolf <<a href="mailto:rwolf@optimalpath.com">rwolf@optimalpath.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [one-users] OpenNebula Load Average/CPU Usage<br>
</div>
<div><br>
</div>
<div>
<meta name="GENERATOR" content="MSHTML 9.00.8112.16446">
<style></style>
<div style="FONT-FAMILY: Calibri, sans-serif; WORD-WRAP: break-word; COLOR: rgb(0,0,0); FONT-SIZE: 14px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" bgcolor="#ffffff">
<div><font size="2" face="Arial">Hi Marshall,</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">I think this could be related to the "leap second bug". Did you notice any lag prior to this past weekend?</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">If not, try issuing this command on your cloud controller(s): date -s "`date`"</font></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial">Alternatively, you can reboot. I had pretty much an identical issue as you and it appears it was related to the "leap second bug". A reboot fixed it for me, but some people have had success with the date command.</font></div>
<blockquote style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div style="FONT: 10pt arial">----- Original Message ----- </div>
<div style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><b>From:</b><a title="mgrillos@optimalpath.com" href="mailto:mgrillos@optimalpath.com">Marshall Grillos</a></div>
<div style="FONT: 10pt arial"><b>To:</b> <a title="users@lists.opennebula.org" href="mailto:users@lists.opennebula.org">
users@lists.opennebula.org</a> </div>
<div style="FONT: 10pt arial"><b>Cc:</b> <a title="rwolf@optimalpath.com" href="mailto:rwolf@optimalpath.com">
Rusty Wolf</a> </div>
<div style="FONT: 10pt arial"><b>Sent:</b> Thursday, July 05, 2012 11:53 AM</div>
<div style="FONT: 10pt arial"><b>Subject:</b> [one-users] OpenNebula Load Average/CPU Usage</div>
<div><br>
</div>
<div>My company is running OpenNebula 3.4.  It's been running in production now for just over a month.  Recently we started noticing issues in Sunstone.  Mainly the VM List wouldn't load and several other parts of the GUI would not load.  I attempted to restart
 Sunstone and oned and the problem persists.</div>
<div><br>
</div>
<div>One item of note is the high CPU utilization of several of OpenNebula's processes.  Here are the top details from our cloud controller (this server also serves up the shared data for our VMs via NFS):</div>
<div>
<div>
<div>
<div>top - 13:47:21 up 48 days, 17:07,  1 user,  load average: 7.78, 5.09, 2.69</div>
<div>Tasks: 305 total,   2 running, 303 sleeping,   0 stopped,   0 zombie</div>
<div>Cpu(s):  0.0%us, 52.2%sy,  6.5%ni, 39.1%id,  0.0%wa,  0.0%hi,  2.2%si,  0.0%st</div>
<div>Mem:  32865312k total, 32622008k used,   243304k free,    65196k buffers</div>
<div>Swap: 16383992k total,        0k used, 16383992k free, 30481224k cached</div>
<div><br>
</div>
<div>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                                                </div>
<div>16664 oneadmin  39  19 53652  15m 1548 S 69.8  0.0   9:37.50 ruby                                                                                                                                                    </div>
<div>16718 oneadmin  39  19 39392 4044 1452 S 67.8  0.0   8:49.46 ruby                                                                                                                                                    </div>
<div>16697 oneadmin  39  19 39220 3880 1452 S 67.1  0.0   9:04.05 ruby                                                                                                                                                    </div>
<div>16687 oneadmin  39  19 39388 4040 1452 S 65.1  0.0   9:20.84 ruby                                                                                                                                                    </div>
<div>16677 oneadmin  39  19 39500 4228 1464 S 54.2  0.0   8:13.68 ruby                                                                                                                                                    </div>
<div>16708 oneadmin  39  19 43520 6780 1524 S 42.2  0.0   8:09.96 ruby    </div>
</div>
</div>
</div>
<div><br>
</div>
<div>Here is the process list for oneadmin on the cloud controller:</div>
<div>
<div>oneadmin 16629  0.0  0.0 108288  1900 pts/0    S    13:31   0:00 bash</div>
<div>oneadmin 16641  0.0  0.0 1461156 12604 pts/0   Sl   13:31   0:00 /usr/bin/oned -f</div>
<div>oneadmin 16642  0.0  0.0 192200  5688 pts/0    Sl   13:31   0:00 /usr/bin/mm_sched</div>
<div>oneadmin 16664 58.9  0.0  53652 16160 pts/0    SNl  13:31   7:04 ruby /usr/lib/one/mads/one_vmm_exec.rb -t 15 -r 0 xen</div>
<div>oneadmin 16677 51.8  0.0  39500  4228 pts/0    SNl  13:31   6:12 ruby /usr/lib/one/mads/one_im_exec.rb xen</div>
<div>oneadmin 16687 56.4  0.0  39388  4040 pts/0    SNl  13:31   6:46 ruby /usr/lib/one/mads/one_tm.rb -t 15 -d dummy,lvm,shared,qcow2,ssh,vmware,iscsi</div>
<div>oneadmin 16697 53.9  0.0  39220  3880 pts/0    SNl  13:31   6:28 ruby /usr/lib/one/mads/one_hm.rb</div>
<div>oneadmin 16708 53.1  0.0  43520  6780 pts/0    SNl  13:31   6:21 ruby /usr/lib/one/mads/one_datastore.rb -t 15 -d fs,vmware,iscsi</div>
<div>oneadmin 16718 52.5  0.0  39392  4044 pts/0    SNl  13:31   6:17 ruby /usr/lib/one/mads/one_auth_mad.rb --authn ssh,x509,ldap,server_cipher,server_x509</div>
<div>oneadmin 16997  1.0  0.0 110212  1164 pts/0    R+   13:43   0:00 ps -aux</div>
<div>oneadmin 16998  0.0  0.0 103116   908 pts/0    S+   13:43   0:00 more</div>
</div>
<div><br>
</div>
<div>When I stop one, the load average on the server returns to normal with over 98% idle CPU.  I can't seem to find anything bad in the logs:</div>
<div>
<div>
<div>Thu Jul  5 13:47:24 2012 [VMM][I]: --Mark--</div>
<div>Thu Jul  5 13:47:50 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:47:50 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:47:50 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:48:19 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:48:19 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:48:19 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:48:48 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:48:48 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:48:48 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:49:17 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:49:17 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:49:17 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:49:46 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:49:46 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:49:46 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:50:15 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:50:15 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:50:15 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:50:44 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:50:44 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:50:44 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:51:13 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:51:13 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:51:13 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:51:28 2012 [VMM][I]: Monitoring VM 134.</div>
<div>Thu Jul  5 13:51:28 2012 [VMM][I]: Monitoring VM 184.</div>
<div>Thu Jul  5 13:51:28 2012 [VMM][I]: Monitoring VM 200.</div>
<div>Thu Jul  5 13:51:28 2012 [VMM][I]: Monitoring VM 202.</div>
<div>Thu Jul  5 13:51:28 2012 [VMM][I]: Monitoring VM 206.</div>
<div>Thu Jul  5 13:51:32 2012 [VMM][I]: Monitoring VM 123.</div>
<div>Thu Jul  5 13:51:32 2012 [VMM][I]: Monitoring VM 130.</div>
<div>Thu Jul  5 13:51:32 2012 [VMM][I]: Monitoring VM 162.</div>
<div>Thu Jul  5 13:51:32 2012 [VMM][I]: Monitoring VM 186.</div>
<div>Thu Jul  5 13:51:32 2012 [VMM][I]: Monitoring VM 208.</div>
<div>Thu Jul  5 13:51:36 2012 [InM][I]: Monitoring host 10.20.52.31 (6)</div>
<div>Thu Jul  5 13:51:36 2012 [InM][I]: Monitoring host 10.20.52.32 (7)</div>
<div>Thu Jul  5 13:51:36 2012 [InM][I]: Monitoring host 10.20.52.33 (9)</div>
<div>Thu Jul  5 13:51:36 2012 [InM][I]: Monitoring host 10.20.52.34 (10)</div>
<div>Thu Jul  5 13:51:36 2012 [VMM][I]: Monitoring VM 127.</div>
<div>Thu Jul  5 13:51:36 2012 [VMM][I]: Monitoring VM 141.</div>
<div>Thu Jul  5 13:51:36 2012 [VMM][I]: Monitoring VM 146.</div>
<div>Thu Jul  5 13:51:36 2012 [VMM][I]: Monitoring VM 190.</div>
<div>Thu Jul  5 13:51:36 2012 [VMM][I]: Monitoring VM 201.</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: LOG I 202 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: POLL SUCCESS 202 NAME=one-202 STATE=a USEDCPU=0.3 USEDMEMORY=4197164 NETTX=5147 NETRX=24499</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: LOG I 206 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: LOG I 184 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: LOG I 134 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: POLL SUCCESS 206 NAME=one-206 STATE=a USEDCPU=0.3 USEDMEMORY=4197164 NETTX=37568 NETRX=640851</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: POLL SUCCESS 184 NAME=one-184 STATE=a USEDCPU=2.2 USEDMEMORY=4197164 NETTX=1220134 NETRX=496270</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: POLL SUCCESS 134 NAME=one-134 STATE=a USEDCPU=0.9 USEDMEMORY=8391468 NETTX=665 NETRX=1451</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: LOG I 200 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:38 2012 [VMM][D]: Message received: POLL SUCCESS 200 NAME=one-200 STATE=a USEDCPU=10.3 USEDMEMORY=8392616 NETTX=265144 NETRX=370045</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:39 2012 [InM][I]: ExitCode: 0</div>
<div>Thu Jul  5 13:51:39 2012 [InM][D]: Host 6 successfully monitored.</div>
<div>Thu Jul  5 13:51:39 2012 [InM][I]: ExitCode: 0</div>
<div>Thu Jul  5 13:51:39 2012 [InM][I]: ExitCode: 0</div>
<div>Thu Jul  5 13:51:39 2012 [InM][D]: Host 7 successfully monitored.</div>
<div>Thu Jul  5 13:51:39 2012 [InM][D]: Host 9 successfully monitored.</div>
<div>Thu Jul  5 13:51:39 2012 [InM][I]: ExitCode: 0</div>
<div>Thu Jul  5 13:51:39 2012 [InM][D]: Host 10 successfully monitored.</div>
<div>Thu Jul  5 13:51:40 2012 [VMM][I]: Monitoring VM 120.</div>
<div>Thu Jul  5 13:51:40 2012 [VMM][I]: Monitoring VM 143.</div>
<div>Thu Jul  5 13:51:40 2012 [VMM][I]: Monitoring VM 191.</div>
<div>Thu Jul  5 13:51:42 2012 [ReM][D]: HostPoolInfo method invoked</div>
<div>Thu Jul  5 13:51:42 2012 [ReM][D]: VirtualMachinePoolInfo method invoked</div>
<div>Thu Jul  5 13:51:42 2012 [ReM][D]: AclInfo method invoked</div>
<div>Thu Jul  5 13:51:42 2012 [VMM][D]: Message received: LOG I 208 ExitCode: 0</div>
<div><br>
</div>
<div>Thu Jul  5 13:51:42 2012 [VMM][D]: Message received: POLL SUCCESS 208 NAME=one-208 STATE=a USEDCPU=3.7 USEDMEMORY=8391468 NETTX=250167 NETRX=162294</div>
</div>
</div>
<div><br>
</div>
<div>The running VMs are not impacted in any way – we have resorted to leaving one stopped until we can resolve the issue.  What can/should I look at to begin debugging this problem? </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Marshall</div>
<p></p>
<hr>
<p></p>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<p></p>
<hr>
<p></p>
<a></a>
<p align="left" color="#000000" avgcert??="">No virus found in this message.<br>
Checked by AVG - <a href="http://www.avg.com">www.avg.com</a><br>
Version: 2012.0.2193 / Virus Database: 2437/5112 - Release Date: 07/05/12</p>
</blockquote>
</div>
</div>
</span>
</body>
</html>