Poller is slower since upgrade to Cacti 0.8.6h

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
elnino
Cacti User
Posts: 205
Joined: Tue Mar 08, 2005 9:51 pm

Poller is slower since upgrade to Cacti 0.8.6h

Post by elnino »

I upgraded from Cacti 0.8.6g to 0.8.6h today and I noticed that the CACTID poller runs slower. Before I upgraded, it would take between 3.1 and 4.7 seconds for the poller to run. Now it takes atleast 7 seconds and quite a few times it'll jup to 12 - 19 seconds and then go back to 7 seconds. What should I look at to see what is taking longer?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I thought you where going to say like 4:23 to 5:30.... You are talking seconds here....

Have you updated cactid yet?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
elnino
Cacti User
Posts: 205
Joined: Tue Mar 08, 2005 9:51 pm

Post by elnino »

Yeah, I know I'm only talking seconds here and I'm probably thinking about it too much, but it was at a constant time before the upgrade. I just thought that upgrading would be faster or more stable since it uses the snmpbulkget. Now the times will spike for no apparent reason because the load average stays about the same. As I start to add more devices to cacti and more items to poll, it only seems to me that it's going to get worse.

I believe that I'm running Cactid 0.8.6e. Are there any improvements in newer versions? I can try upgrading that in the next day or two.
rvisintine
Posts: 12
Joined: Mon Dec 19, 2005 9:51 am

Post by rvisintine »

I've noticed that cmd.php in 0.8.6h is slower as well. When running 0.8.6g my poller times were 20-25 seconds now after upgrading polling times are 75-85 seconds.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Pointing Larry at this thread for review.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Both you guys, I need the following information on Cactid:

Polling Host:
Number of Processors
Amount of Memory
MIBDIRS Env Variable
MIBS Env Variable

Cactid:
Concurrent Processes
Threads
PHP Script Servers
Max OID Get Size

Polling:
# SNMP Polls
# Script Polls
# Script Server Polls
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?
plant
Posts: 1
Joined: Wed Aug 10, 2005 7:58 am

Post by plant »

Just completed an upgrade from 0.8.6f to 0.8.6h and experiencing the same problems with both cmd.php and cactid. When the poller runs, CPU rockets upto 85% and stays at this level until the poller completes (the php process takes up the majority of CPU). In my case neither cmd.php or cactid now completes within the 300 seconds.

Polling host:
CPU: 1.8Ghz (single processor)
Memory: 1Gb

Cactid:
Concurrent processes: 1
Threads: 3
PHP Script servers: 1

I'd gladly pass on more information, if someone could let me know how to get number of SNMP polls, script polls, MIBS Env Variable etc. According to the poller cache I have 544 items, and 2034 items in the SNMP cache.
rvisintine
Posts: 12
Joined: Mon Dec 19, 2005 9:51 am

Post by rvisintine »

TheWitness wrote:Both you guys, I need the following information on Cactid:
Witness, not running Cactid, having troubles that I still need to work out.


Polling Host:
Number of Processors = 2, 64bit Xeons
Amount of Memory = 2GB
MIBDIRS Env Variable = not set
MIBS Env Variable = not set


cmd.php
Concurrent Processes = 6
Threads = N/A
PHP Script Servers = 1
Max OID Get Size = 10

Polling:
# SNMP Polls = 3209 (datasources?)
# Script Polls = 3
# Script Server Polls = 0

01/26/2006 03:31:24 AM - SYSTEM STATS: Time:83.1802 Method:cmd.php Processes:6 Threads:N/A Hosts:30 HostsPerProcess:5 DataSources:3209 RRDsProcessed:1771
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests