High CPU on Cacti
Moderators: Developers, Moderators
High CPU on Cacti
I am using the ONTAP SDK scripts to capture storage data. As soon as I configure 10 or more data sources, the CPU of Cacti host goes upto 100% and the processes consuming CPU are the Cacti perl scripts.
Is there any way or any customized configuration which could be done, to reduce CPU consumption ?
Appreciate any help on this.
Is there any way or any customized configuration which could be done, to reduce CPU consumption ?
Appreciate any help on this.
Hello gandalf,
Thanks for the reply.
What i have noticed is the OnTap scripts for VOlume Latency are taking up the CPU. As soon as I disable these scripts, and enable only the Volume IO scripts of OnTap, the CPU consumption is low.
For now, I have disabled the Volume Latency scripts. Pls let me knowif you have any idea.
THanks,
G1
Thanks for the reply.
What i have noticed is the OnTap scripts for VOlume Latency are taking up the CPU. As soon as I disable these scripts, and enable only the Volume IO scripts of OnTap, the CPU consumption is low.
For now, I have disabled the Volume Latency scripts. Pls let me knowif you have any idea.
THanks,
G1
If that kind of information is necessary, would you try putting the routine measuring job to another machine and place the output (may be a simple text file) on cacti server then use some simple method to read input from that file?
I've applied this kind of asynchronous operation for some measurements that take a considerable time like a series of pings and observe the packet loss to several targets worldwide. I did that with MRTG but we can apply the same concept with cacti.
I've applied this kind of asynchronous operation for some measurements that take a considerable time like a series of pings and observe the packet loss to several targets worldwide. I did that with MRTG but we can apply the same concept with cacti.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The Ontap scripts are CPU intensive. I prefer using snmp to monitor the NetApps. NetApp has a fairly comprehensive agent. However, the quality of the Agent depends on it's age.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hi TheWitness/All,
It is observed that as soon as more than 10 or 15 data sources are configured, the resource utilization shoots up. CPU reaches 100%. If I leave it as it is then after a day or so, the system is hung giving out of memory message on console.
There may be a memory leak in the script or some more RAM is needed.
Any inputs appreciated.
Using ONTap SDK script which internally uses the volume.xml script.
Pls help.
REgards,
It is observed that as soon as more than 10 or 15 data sources are configured, the resource utilization shoots up. CPU reaches 100%. If I leave it as it is then after a day or so, the system is hung giving out of memory message on console.
There may be a memory leak in the script or some more RAM is needed.
Any inputs appreciated.
Using ONTap SDK script which internally uses the volume.xml script.
Pls help.
REgards,
Last edited by G1 on Mon Aug 30, 2010 9:54 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 3 guests