Article ID: 122814, created on Sep 8, 2014, last review on Sep 8, 2014

  • Applies to:
  • Virtual Automation 6.0

Symptoms

PVA Agent 6.0-2695 may consume unusual amount of CPU and RAM resources in case there are Virtualization nodes that were not properly unregistered.

Example of resource usage:

~# top
top - 16:58:05 up  1:48,  2 users,  load average: 0.60, 0.50, 0.53
Tasks: 461 total,   2 running, 459 sleeping,   0 stopped,   0 zombie
Cpu(s):  5.5%us,  0.2%sy,  0.0%ni, 94.0%id,  0.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  12157632k total,  3430528k used,  8727104k free,     8948k buffers
Swap:  4095992k total,    20296k used,  4075696k free,   182764k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
10290 root      20   0 2420m 2.1g  39m R 93.2 18.1   3:22.69 pvaagentd [gend]
  236 root      39  19     0    0    0 S  1.3  0.0   0:57.94 kipmi0
   67 root      20   0     0    0    0 S  0.3  0.0   0:00.85 events/0
10765 root      20   0 15300 1648 1004 R  0.3  0.0   0:00.46 top
    1 root      20   0 19236  980  736 S  0.0  0.0   0:01.20 init

Cause

Duplicated records exist in the database of PVA MN. At the verbose log view you can find many records like the following:

T=13:02:40:502; L=(pkt); PID=15889; TID=7fa5fe319760; P=VZLControl [logMessage] recv opid 'bc79a4cf-bf8c-0e45-90a5-77dafe35c41f' id 'oq2byi4s46666n4zvxu364g6taidaaaa' from vzclient50-0caf3a2c-763c-6b40-9c48-2288a66d4a12 to licensem: get_hwid
T=13:02:40:503; L=(pks); PID=15889; TID=7fa5fe319760; P=VZLControl [logMessage] recv message
<packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uid="" timeout="300" time="2014-08-21T10:52:12+0000" progress="on" type="258" version="4.5.0" id="oq2byi4s46666n4zvxu364g6taidaaaa" priority="0" timeout_limit="2147483647">
<target>licensem</target>
<data>
<licensem>
<get_hwid/>
</licensem>
</data>
<dst>
<host>eb0cf532-214a-f947-a97d-527a72f8bf48</host>
</dst>
<origin>vzclient50-0caf3a2c-763c-6b40-9c48-2288a66d4a12</origin>
<src>
<director>gend</director>
<target>envcoll</target>
<host>bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</host>
<target>vzclient39-0caf3a2c-763c-6b40-9c48-2288a66d4a12</target>
<target>vzclient32-bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</target>
<target>vzclient39-0caf3a2c-763c-6b40-9c48-2288a66d4a12</target>
<target>vzclient32-bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</target>
---snip---
<target>vzclient32-bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</target>
<target>vzclient39-0caf3a2c-763c-6b40-9c48-2288a66d4a12</target>
<target>vzclient32-bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</target>
<target>vzclient39-0caf3a2c-763c-6b40-9c48-2288a66d4a12</target>
<target>vzclient32-bc79a4cf-bf8c-0e45-90a5-77dafe35c41f</target>
<target>vzclient39-0caf3a2c-763c-6b40-9c48-2288a66d4a12</target>
<target>vzclient32-bc79a4cf-b
T=13:02:40:506; L=(pks); PID=15889; TID=7fa5fe319760; P=VZLControl [writeMessage] bc79a4cf-bf8c-0e45-90a5-77dafe35c41f to client
<packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uid="" timeout="300" time="2014-08-21T10:52:12+0000" progress="on" type="258" version="4.5.0" id="oq2byi4s46666n4zvxu364g6taidaaaa" priority="0" timeout_limit="2147483647">

Resolution

Login to PVA MN and forcefully unregister unavailable Virtualization nodes with

~# vzagroup removeSlave --force NODE_NAME_HERE

Search Words

pva eats ram

cpu

consume resource

pva eats cpu

pvaagentd

resource usage

resource

hog

pva

ram

319940068c5fa20655215d590b7be29b 2897d76d56d2010f4e3a28f864d69223 0889ab60fa6494de107aa7338c3c38b6

Email subscription for changes to this article
Save as PDF