Specifications

14
Chapter 4. Performance Tuning
After installing Zenoss, you can optimize its performance by:
Packing the ZODB
Editing archived event data storage settings
Setting memory caching values
Tuning MySQL
Increasing maximum file descriptors
Note
Performance tuning procedures assume an RPM installation. If you are using an alternate installation method,
details (such as path information) likely will differ.
4.1. Packing the ZODB
The Zope Object Database (ZODB) keeps records of all transactions performed. As these records accumulate, the
database file grows over time.
To keep the database running efficiently, Zenoss Core runs a weekly cron job to regularly remove old transactions.
You also can initiate this process at any time; as the zenoss user, use the following command:
$ZENHOME/bin/zenossdbpack
4.2. Editing Archived Event Data Storage Settings
You can edit the default settings for archived event data to improve Zenoss Core performance. Changing these settings
to values that are reasonable for your implementation will prevent the database from filling up your hard drive. An
extremely large database also can have a negative impact on performance.
To change the settings for length of time Zenoss Core archives event data:
1. Select Advanced, and then select Events from the left panel.
The Event Configuration page appears.
2. Adjust values as desired for these configuration settings:
Delete Archived Events Older Than (days) - By default, this is set to 90 days. Accepted values are between
1 and 1000 days.
Event Time Purge Interval (days) - By default, this is set to 7 days. Accepted values are between 1 and 250 days.
3. Click Save to save your changes.
4.3. Memory Caching
Zenoss recommends that you set the CACHESIZE value in/etc/sysconfig/memcached to a minimum of 1024, and
ideally double the size of the cache-local-mb value in zope.conf.