What did I do wrong to make cmd.php faster that cactid?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
CoreIP
Posts: 3
Joined: Tue Nov 30, 2004 10:10 pm

What did I do wrong to make cmd.php faster that cactid?

Post by CoreIP »

Ok guys and gals, came someone please help me determine what I did to mess everything up on a good working cacti setup? I have been running cacti 8.6j now for a few weeks and all were going well. Lately I was taking a peak at my localhost graphs and the time it takes cacti to do all of it's duty and am seeing where cactid use to make it's runs at around 20-25 seconds. Well, for the past few weeks it has been running at around 244 seconds and I cannot tell what caused this jump in time.
When I change the poller to the cmd.php it lowers the time by vast amounts but not quite what is use to be. Can anyone give me any clues as to what may be going on?

Thanks in advance
Gene

09/09/2007 07:56:15 AM - SYSTEM STATS: Time:75.1338 Method:cmd.php Processes:4 Threads:N/A Hosts:33 HostsPerProcess:9 DataSources:2250 RRDsProcessed:865
09/09/2007 07:51:16 AM - SYSTEM STATS: Time:75.6382 Method:cmd.php Processes:4 Threads:N/A Hosts:33 HostsPerProcess:9 DataSources:2250 RRDsProcessed:865
09/09/2007 07:45:49 AM - SYSTEM STATS: Time:49.0745 Method:cmd.php Processes:4 Threads:N/A Hosts:33 HostsPerProcess:9 DataSources:2250 RRDsProcessed:865
09/09/2007 07:44:03 AM - SYSTEM STATS: Time:243.5675 Method:cactid Processes:2 Threads:4 Hosts:33 HostsPerProcess:17 DataSources:2250 RRDsProcessed:865
09/09/2007 07:39:04 AM - SYSTEM STATS: Time:243.9921 Method:cactid Processes:2 Threads:4 Hosts:33 HostsPerProcess:17 DataSources:2250 RRDsProcessed:865
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Which version of cactid, please?
Reinhard
CoreIP
Posts: 3
Joined: Tue Nov 30, 2004 10:10 pm

Post by CoreIP »

Sorry, should have added that, it is 8.6i.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Are there lots of scripts? Upping cactid process count to 4 and threads to 15 does change the value? Did you already consider using PollPerf plugin to find the bottleneck?
Reinhard
CoreIP
Posts: 3
Joined: Tue Nov 30, 2004 10:10 pm

Post by CoreIP »

k, thanks for the suggestion. I will look for the plugin and post my results.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests