Poller runtime varying very much
Moderators: Developers, Moderators
Poller runtime varying very much
Hi,
we just upgraded cacti from version 0.8.6h to 0.8.7b and everything seems to be running smoothly.
My only concern is the poller runtime which is varying very much for some reason.
Any ideas?
we just upgraded cacti from version 0.8.6h to 0.8.7b and everything seems to be running smoothly.
My only concern is the poller runtime which is varying very much for some reason.
Any ideas?
- Attachments
-
- Poller Runtime.png (27.88 KiB) Viewed 3721 times
Look in your log file for details of whats going on. Change the logging level to medium. Are devices getting reindexed/recached during those spikes? Number of rrds changing?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Poller runtime varying very much
How was it before? Some specs of the server would perhaps help (memory constraint?)Christian wrote:Hi,
we just upgraded cacti from version 0.8.6h to 0.8.7b and everything seems to be running smoothly.
My only concern is the poller runtime which is varying very much for some reason.
Any ideas?
Reinhard
I'm using ss_pollerpeecee wrote:Aside from the actual times, how are you doing that graph? Is there some option I need to enable to have that created? I'd like to know my poller times as well. We're having issues with timeouts, and I am trying to figure out why. Our old system is running in parallel and is not having the problem.
I'll crawl through the log next monday when I'm at work again. But why should the number of rrds change? Recaching statistics say, that there's recaching occuring for 1 host or so.BSOD2600 wrote:Look in your log file for details of whats going on. Change the logging level to medium. Are devices getting reindexed/recached during those spikes? Number of rrds changing?
The poller runtime was constantly about 40s to 60s before I did the upgrade.gandalf wrote:How was it before? Some specs of the server would perhaps help (memory constraint?)
Reinhard
The server queries 200 hosts creating 6000 rrds. CPU is AMD Athlon(tm) 64 Processor 3200+. Memory is 1 GiB and the OS is ubuntu.
What's even more confusing me is that the server seems only to be really doing something the first 40s-60s of the polling run. During this time processor load is very high. After this time the server seems to be waiting for something and is nearly idle.
Installed plugins are Weathermap 0.941, Thold 0.3.9 and Settings 0.3, by the way. There are no weathermaps yet though.
That's all I can tell you right now. I appreciate your support and I'll give you more information next monday.
Christian
Last edited by Christian on Mon Feb 18, 2008 5:37 am, edited 3 times in total.
Here are more accurate information:
The server queries 200 hosts creating 6000 rrds. CPU is AMD Athlon(tm) 64 Processor 3200+. Memory is 1 GiB and the OS is ubuntu.
I set threads to 15, but this didn't change anything.
I even couldn't detect any re-indexing going on.
During the polling process the amount of free memory is sometimes as low as 6 MiB. But I didn't notice the amount of free memory being lower at the peaks.
Additionally here are 2 lines of my log which I don't understand:
Can somebody tell me what cacti is doing during the 4 minutes between the poller being finished and the system stats being displayed?
The server queries 200 hosts creating 6000 rrds. CPU is AMD Athlon(tm) 64 Processor 3200+. Memory is 1 GiB and the OS is ubuntu.
I set threads to 15, but this didn't change anything.
I even couldn't detect any re-indexing going on.
During the polling process the amount of free memory is sometimes as low as 6 MiB. But I didn't notice the amount of free memory being lower at the peaks.
Additionally here are 2 lines of my log which I don't understand:
Code: Select all
02/18/2008 01:34:14 PM - SYSTEM STATS: Time:253.4111 Method:spine Processes:1 Threads:60 Hosts:207 HostsPerProcess:207 DataSources:14800 RRDsProcessed:5236
02/18/2008 01:30:28 PM - CACTID: Poller[0] Time: 26.8180 s, Threads: 60, Hosts: 207
Last edited by Christian on Tue Feb 19, 2008 5:06 am, edited 3 times in total.
cacti: 0.8.7g
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
CACTID is spine, isn't it?
I just want to know what cacti is doing or not doing for about 3 minutes between these 2 messages.
Can a lack of physical memory be the cause and are these peaks and steps in polling times normal?
I just want to know what cacti is doing or not doing for about 3 minutes between these 2 messages.
Can a lack of physical memory be the cause and are these peaks and steps in polling times normal?
cacti: 0.8.7g
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
Oh great. Now you've got me confused
So am I correct that I've got 2 pollers running simultaneously?
If so, what could possibly be the cause for this? I've only got one cron job for cacti.
So am I correct that I've got 2 pollers running simultaneously?
If so, what could possibly be the cause for this? I've only got one cron job for cacti.
cacti: 0.8.7g
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
Sorry, I just saw in DEBUG log that I forgot to change the path to the new spine version. Sorry for the inconvenience.
The spikes stille aren't gone though, polling times are the same.
The spikes stille aren't gone though, polling times are the same.
Last edited by Christian on Fri Feb 22, 2008 6:01 am, edited 2 times in total.
cacti: 0.8.7g
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
Who is online
Users browsing this forum: No registered users and 6 guests