Archived community.zenoss.org | full text search
Skip navigation
5743 Views 7 Replies Latest reply: Aug 22, 2012 1:04 AM by Daniel Robbins RSS
jcurry ZenossMaster 1,021 posts since
Apr 15, 2008
Currently Being Moderated

Mar 20, 2012 2:46 PM

Virtual appliance sucks with 2GB

I have the VM appliance - 4.1.70-1455.  It is setup with 2GB RAM.  It quickly becomes unusable, even with only about 10 devices.  I have currently upped the memory to 3.5 GB - see how that works.

 

BTW - the great thing about Zenoss was always - no java process.  Now I have a java process running jetty which is the usual java CPU / memory hog!!  This is serious retrograde step!

 

Cheers,

Jane

  • bbibeault ZenossEmployee 142 posts since
    May 19, 2009
    Currently Being Moderated
    1. Mar 20, 2012 3:01 PM (in response to jcurry)
    Re: Virtual appliance sucks with 2GB

    Jane, the memory requirements of Zenoss have significantly changed vs. older versions.  Our minimum commercial installation requirement is 8 gigabytes of memory.  As for the inclusion of Java now, as I understand it, our event processing system has been completely rewritten in the java framework for higher performance - I hope that in your testing you find this to be net beneficial.

  • Simon Jakesch Rank: Green Belt 84 posts since
    Aug 2, 2007
    Currently Being Moderated
    3. Mar 28, 2012 5:35 PM (in response to jcurry)
    Re: Virtual appliance sucks with 2GB

    Thanks for the feedback, I completely understand your concerns here, I've raised this and we're working on addressing this issue. Keep an eye out for these changes to make it into the appliances within the next 1-2 weeks.

  • geotek Rank: White Belt 81 posts since
    Jun 11, 2007
    Currently Being Moderated
    4. Aug 20, 2012 7:02 AM (in response to Simon Jakesch)
    Re: Virtual appliance sucks with 2GB

    The Installation manual for Zenoss 4.2.0 states a minimum memory requirement of 4 GB for up to 250 devices.

     

    Clipboard01.jpg

     

    This seems to be outright wrong since our 4.2 VM repeatably locks up with an out of memory condition after a few hours. We have imported 120 devices on a machine with 6 GB RAM,  2 GB Swap and 2 CPUs.

     

    Java/zenweventserver alone grabs constantly 3.4 GB and zenmodeler uses a whopping 2,4 GB. :-(

     

    The monitored memory consumtion of the zenoss daemons does not increase over time, but what puzzles me is that immediately before the machine becomes unresponsible I can see an increaing number of multiple instances of zenjobs, zenhubworker and WindowsMonor daemons that eat up all the memory. Is this normal?

     

    Just upgraded to 8 GB and waiting what happens...

  • Voorhees Rank: White Belt 24 posts since
    Apr 26, 2012
    Currently Being Moderated
    5. Aug 20, 2012 8:45 AM (in response to jcurry)
    Re: Virtual appliance sucks with 2GB

    Hey Folks - It's possible to scale the java heapsize back by doing the following. It shouldnt impact performance to much with a low number of devices.

     

    1. vi /opt/zenoss/bin/zeneventserver. Append an -Xmx512m option to the DEFAULT_ZEP_JVM_ARGS. So that it looks like this:

        DEFAULT_ZEP_JVM_ARGS=${DEFAULT_ZEP_JVM_ARGS:-"-server -Xmx512m"}

     

    2. zeneventserver restart as the zenoss user to apply these new settings.

     

     

     

    There is also script called mysql tuner that might help with your mysql pain Jane.

    wget http://mysqltuner.com/mysqltuner.pl

  • geotek Rank: White Belt 81 posts since
    Jun 11, 2007
    Currently Being Moderated
    6. Aug 21, 2012 4:34 AM (in response to Voorhees)
    Re: Virtual appliance sucks with 2GB

    Hi Foorhees, thanks for the tip how to limit java memory. It brought down zeneventserver memory consumtion from 3.4 to 2 GB and with a total of 8 GBytes of RAM the machine seems to be at least stable now.

  • Rank: Green Belt 70 posts since
    Jan 24, 2012
    Currently Being Moderated
    7. Aug 22, 2012 1:04 AM (in response to jcurry)
    Re: Virtual appliance sucks with 2GB

    Optimizing Memory Usage for Zenoss 4: http://wiki.zenoss.org/Optimizing_Memory_Usage

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points