TECHZEN Zenoss User Community ARCHIVE  

Zenpython Daemon Crashing Frequently after upgrade to Windows 2.2.0

Subject: Zenpython Daemon Crashing Frequently after upgrade to Windows 2.2.0
Author: [Not Specified]
Posted: 2015-01-02 08:28

Since I upgraded to the Windows 2.2.0 Zenpack, I have been getting frequent Zenpython daemon crashes. Data collection/graphing will stop and I have to start the daemon back up. It happens every 3-4 days.

I'm seeing the following error in the Zenpython log, it happens roughly around the same time that graphing stops.

2015-01-02 06:06:01,863 ERROR zen.MicrosoftWindows: Failed collection [Failure instance: Traceback: : [Errno 12] Cannot allocate memory /opt/zenoss/lib/python/twisted/internet/defer.py:388:errback /opt/zenoss/lib/python/twisted/internet/defer.py:455:_startRunCallbacks /opt/zenoss/lib/python/twisted/internet/defer.py:542:_runCallbacks /opt/zenoss/lib/python/twisted/internet/defer.py:1076:gotResult --- --- /opt/zenoss/lib/python/twisted/internet/defer.py:1018:_inlineCallbacks /opt/zenoss/lib/python/twisted/python/failure.py:350:throwExceptionIntoGenerator /opt/zenoss/ZenPacks/ZenPacks.zenoss.Microsoft.Windows-2.2.0.egg/ZenPacks/zenoss/Microsoft/Windows/datasources/ShellDataSource.py:624:collect ] on 10.100.0.25 2015-01-02 06:06:02,131 WARNING zen.windows: 36 missing counters for 10.100.0.27 - see debug for details 2015-01-02 06:06:02,145 WARNING zen.windows: failed to stop Get-Counter on 10.100.0.27: [Errno 12] Cannot allocate memory



Subject: [Errno 12] Cannot allocate
Author: Jan Garaj
Posted: 2015-01-02 10:41

[Errno 12] Cannot allocate memory => you have a problem with a memory. Analyze memory usage per process on your Zenoss server and then you should to see who is responsible for your problems.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: Thanks, I will look into the
Author: [Not Specified]
Posted: 2015-01-07 12:14

Thanks, I will look into the per process memory usage.

It is interesting to note that the entire zenoss server is only using around 50% of the available ram (50% is not used, buffered, or cached). Something must be artificially limiting processes from grabbing more memory.



Subject: Also having issues with Zenpython crashing
Author: [Not Specified]
Posted: 2015-02-17 11:20

I too upgraded my Microsoft Pack to 2.2.0 and have been experiencing the same crashes and graphs stop graphing. The WMI collectors work just fine. I blame the software, because it started to fail after the update.



< Previous
custom zenpython datasource issue
  Next
MSSQL queries in ZenOss 4.2.5
>