Erick, AB:

There was an embarrassing leak of database connections. This has been fixed. Since I know you are trying to work with the appliance, I've attached a patch you can apply. Copy the attached file to the appliance and do this:

   # conary update patch
   # su - zenoss
   $ cd $ZENHOME
   $ patch -p0 < patch

Thanks!

-Eric

Erick Baum wrote:
This must be a problem with the VMWare build then.  I installed it on
another server with the same results... runs okay for a little while then
all those services fail.

Erick


On 10/1/06, Ade <[EMAIL PROTECTED]> wrote:

On 01/10/06, Erick Baum <[EMAIL PROTECTED]> wrote:
> I just installed the latest VMware appliance and after a short while,
the
> following components fail, zenagios, zentrap, zenstatus, zenprocess, and
> zenxevent.  Everything works fine for a little while, the graphs are
> graphing and everything seems fine.  Then I see all these heartbeat
failure
> events and the graphing stops.  Any idea where to go to try and figure
this
> out?
>
> Erick

Just to say that Im getting this as well - the SNMP stuff wont run for
more than 1 hour.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users



------------------------------------------------------------------------

_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

--- Products/ZenEvents/EventManagerBase.py.orig 2006-10-02 12:07:35.000000000 
+0000
+++ Products/ZenEvents/EventManagerBase.py      2006-10-02 12:07:39.000000000 
+0000
@@ -506,6 +506,7 @@
                 statusCache.reverse()
                 if limit:
                     statusCache = statusCache[:limit]
+               db.close()
             except:
                 log.exception(select)
                 raise
@@ -550,10 +551,12 @@
             sel += "where DATE_ADD(lastTime, INTERVAL timeout SECOND) <= 
NOW();"
                     
         statusCache = self.checkCache(sel)
+        cleanup = lambda : None
         if not statusCache:
             statusCache = []
             if db is None:
                 db = self.connect()
+               cleanup = db.close
             curs = db.cursor()
             curs.execute(sel)
             res = list(curs.fetchall())
@@ -569,6 +572,7 @@
                 statusCache.append([alink, comp, dtime])
             if limit:
                 statusCache = statusCache[:limit]
+           cleanup()
         return statusCache
 
         
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to