rhq-agent keep crashing
mazz at redhat.com
Fri Jun 25 13:26:12 UTC 2010
OK, looks like its a JNA problem - based on this:
C [libc.so.6+0x6d83a] cfree+0x7a
C [jna331537674748900792.tmp+0x573b] Java_com_sun_jna_Memory_free+0x1b
Its trying to free memory which causes a segfault - most likely its a
bug in JNA with their native memory management code. As Ian said, the
only place JNA is used is in certain plugins (the agent core does not
use JNA native stuff).
However, you can't purge agent plugins as per Ian's instructions (that
is only for SERVER side plugins - you can't purge agent plugins today).
If you are using the latest beta, you CAN however DISABLE plugins. See
this bugzilla issue:
If you are using the latest code, shutdown your agents, disable the
plugins you don't need that use JNA, then restart your agents and see if
the problem goes away. I'm not sure of the exact steps here, but I think
if you shutdown the agents, then disable plugins, then restart agents,
it should remove those plugins from getting deployed in the agents.
If you track down the JNA bug, let us know and we'll see if we can work
around it. Perhaps its just an issue where we should upgrade the version
of JNA we use - if so, we can upgrade that and rebuild the plugins.
More information about the rhq-users