Hi John

Yes looks like due to memory issues, agent, when it stopped working, has left the local inventory in the corrupted state

Is there a way to fix it? Or do I have to un-inventory the platform and add it again? (which I obviously wouldnt want to do as I will loose all the config stuff)


BTW what can be the reasons of memory issues? Are you aware of any memory leaks? Will it help if I configure JVM to automatically create a dump in case of OOME and send it to devs to investigate? What are the recommendations re heap size? (eg number of metrics -> heap max size)


Sorry about so many questions. Im just a newbie in RHQ, had not very successful experience with Hyperic and its way to split open source and commercial functionality, and very excited with the RHQ approach allowing to do a lot of stuff programmatically or with couple of mouse clicks (eg dynagroups) which makes it absolutely perfect to manage hundreds of our servers!


Regards
Alexey


On 25.06.2010 18:30, John Mazzitelli wrote:
This is what I see that indicates problems:

---
2010-06-25 14:59:30,215 INFO  [InventoryManager.discovery-1] 
(rhq.core.pc.inventory.InventoryManager)- Got unknown resource: 11938
---

this means the inventory is not in sync between agent and server and is 
very bad. When agents get in sync, it usually means something really 
wrong happened - because the agent and server have handshaking between 
themselves to keep themselves in sync.

and you can see the sync handshaking failed here:

---
2010-06-25 14:59:53,281 WARN  [InventoryManager.discovery-1] 
(rhq.core.pc.inventory.InventoryManager)- Failed to synchronize local 
inventory with Server inventory for Resource [11938] and its 
descendants: Can not connect http client invoker. 
org.hibernate.collection.PersistentMap. Response: OK/200.
---

Something really odd is happening - did you upgrade the server? change 
database endpoints? I can't think of how this could occur, but something 
out of the ordinary happened.

On 06/25/2010 10:27 AM, Alexey Kamenchuk wrote:
  
2010-06-25 14:59:30,215 INFO  [InventoryManager.discovery-1]
(rhq.core.pc.inventory.InventoryManager)- Got unknown resource: 11938
    
_______________________________________________
rhq-users mailing list
rhq-users@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-users