Archived community.zenoss.org | full text search
Skip navigation
39104 Views 6 Replies Latest reply: Sep 10, 2009 3:34 PM by ewall RSS
ewall Rank: Green Belt 145 posts since
Nov 5, 2008
Currently Being Moderated

Sep 9, 2009 10:01 AM

Help! My Data.fs file is 37GB and Zope won't start

The disk is not full yet (%65), but it would seem that a 37GB Data.fs file would be a lot for Zenoss/Zope to have to read through. I have read many threads about trimming database sizes and tried many of the tricks, but neither my MySQL nor my Zope database have shrunk any.

Let me back up... yesterday and today I was getting crash messages from different pages of the Zenoss web interface, and I couldn't trace them to a specific service, so I rebooted the whole server. The web interface never came back.

`zopectl logtail` tells me this:

 

 

zenoss@monitor:~ bin/zopectl logtail
return self.loadEx(oid, version)[:2]
File "/usr/local/zenoss/zenoss/lib/python/ZEO/ClientStorage.py", line 774, in loadEx
self._cache.store(oid, ver, tid, None, data)
File "/usr/local/zenoss/zenoss/lib/python/ZEO/cache.py", line 293, in store
self.fc.add(o)
File "/usr/local/zenoss/zenoss/lib/python/ZEO/cache.py", line 980, in add
available = self._makeroom(size)
File "/usr/local/zenoss/zenoss/lib/python/ZEO/cache.py", line 915, in _makeroom
size, e = self.filemap.pop(ofs)
KeyError: 12


`zopeclt status` says "daemon manager not running". If I start it, it gives me a PID, and the status says "daemon manager running; daemon process not running". Moments later, the process is dead and we're back to "daemon manager not running". In either state, the log ends with the same not-very-helpful info (or maybe it's showing me the wrong logfile?).

Any suggestions for what I can do? We're very dependent on our Zenoss here, so I feel like I'm flying blind all of the sudden.
  • j053ph4 Rank: Green Belt 290 posts since
    Dec 19, 2008
    Currently Being Moderated
    2. Sep 9, 2009 3:45 PM (in response to ewall)
    RE: Help! My Data.fs file is 37GB and Zope won't start
    maybe zeopack?
  • jhelgesen Rank: White Belt 64 posts since
    Dec 10, 2007
    Currently Being Moderated
    5. Sep 10, 2009 12:08 PM (in response to ewall)
    check for existing cron jobs
    Greetings...

    Congrats on getting that zope db shrunk. It's amazing how big that thing can get.

    It's been noted in a number of threads that an existing cronjob set up to run zeopack was failing, for various reasons depending on your installation type.

    On my install (2.4.5 32-bit stack-installer on opensuse) the cronjobs ended up in /usr/local/zenoss/extras/etc/cron.weekly and cron.daily. [OK, that should be /etc/cron.weekly/zenoss and /etc/cron.daily/zenoss]

    I'm trying to remember where I saw the evidence of this failing, previously.... it's not in my notes. But, the cronjob is probably already there...

    --Jay

More Like This

  • Retrieving data ...