I have two almost identical installations of latest zenoss running under 
Scientific Linux.
The first installation monitors 50 devices, the second 25.
After one week of running the first zenoss hangs completely with 100% 
cpu  and 100% memory usage. As i have checked, memory utilization rises 
up always after reboot until memory and swap are full. This happens only 
for the first setup and does not happen for the other.
This two setups were cloned from the same virtual machine so I don't 
expect to much difference between them.
The only difference I know about is the event transform I use for 
capturing linkup|down traps and changing this info in interface status.
This is a code I use for it

import transaction
trans=transaction.get()
evt.component = evt.ifIndex
description = ''
if device:
    for iface in device.os.interfaces():
        if evt.ifIndex and iface.ifindex == evt.ifIndex:
            descr = iface.description
            iface.operStatus=1
            evt.component=iface.id
            evt.portdescription=iface.description
evt.summary = 'Link up to %s' % (descr)
trans.commit()

Do I have some errors in it? Can anybody help, please?

P.S. Memory is eated by zope.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to