cmd.php poller performance problem..

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

Moderators: Developers, Moderators

Post Reply
Borg
Posts: 4
Joined: Sat Aug 12, 2006 1:09 pm

cmd.php poller performance problem..

Post by Borg »

Hi.

I have problem w/ cmd.php poller performance.
Im not sure if I understand it correctly, but when adding more processes
to poller, it should work faster (generating bigger load on host)

Strange is.. but it doesnt. Increasing to 8 processes doesnt really
speed up gathering of data.. I get also two sideeffects of that:
- much bigger response times (70ms w/ 1 process; 500ms w/ 8 processes)
- bigger load (thats is clear why).

Any clues? Is there sth I dont understand? Poller will increase it seed w/ much more hosts?

cacti-0.8.6h
apache-1.3.37
php-4.4.3
mysql-4.1.21

here is a log:

08/12/2006 08:10:23 PM - SYSTEM STATS: Time:22.2954 Method:cmd.php Processes:1 Threads:N/A Hosts:15 HostsPerProcess:15 DataSources:555 RRDsProcessed:284
08/12/2006 08:05:23 PM - SYSTEM STATS: Time:22.2645 Method:cmd.php Processes:1 Threads:N/A Hosts:16 HostsPerProcess:16 DataSources:555 RRDsProcessed:284
08/12/2006 08:00:25 PM - SYSTEM STATS: Time:23.6149 Method:cmd.php Processes:1 Threads:N/A Hosts:15 HostsPerProcess:15 DataSources:555 RRDsProcessed:284
08/12/2006 07:55:23 PM - SYSTEM STATS: Time:22.3629 Method:cmd.php Processes:1 Threads:N/A Hosts:15 HostsPerProcess:15 DataSources:555 RRDsProcessed:284
08/12/2006 07:50:23 PM - SYSTEM STATS: Time:22.3264 Method:cmd.php Processes:1 Threads:N/A Hosts:15 HostsPerProcess:15 DataSources:555 RRDsProcessed:284
08/12/2006 07:45:23 PM - SYSTEM STATS: Time:21.7455 Method:cmd.php Processes:8 Threads:N/A Hosts:15 HostsPerProcess:2 DataSources:555 RRDsProcessed:284
08/12/2006 07:40:22 PM - SYSTEM STATS: Time:20.9075 Method:cmd.php Processes:8 Threads:N/A Hosts:15 HostsPerProcess:2 DataSources:555 RRDsProcessed:284
08/12/2006 07:35:22 PM - SYSTEM STATS: Time:20.8978 Method:cmd.php Processes:8 Threads:N/A Hosts:15 HostsPerProcess:2 DataSources:555 RRDsProcessed:284
08/12/2006 07:30:26 PM - SYSTEM STATS: Time:24.3315 Method:cmd.php Processes:8 Threads:N/A Hosts:15 HostsPerProcess:2 DataSources:555 RRDsProcessed:284
08/12/2006 07:25:23 PM - SYSTEM STATS: Time:21.5969 Method:cmd.php Processes:8 Threads:N/A Hosts:15 HostsPerProcess:2 DataSources:555 RRDsProcessed:284
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: cmd.php poller performance problem..

Post by gandalf »

Borg wrote:Hi.

I have problem w/ cmd.php poller performance.
Im not sure if I understand it correctly, but when adding more processes
to poller, it should work faster (generating bigger load on host)
The recommended settings for this parm is 1-2 times the number of processors. Higher values will yield lower performance. For better performance, please consider using cactid, which is faster by 4-8 times
Reinhard
Borg
Posts: 4
Joined: Sat Aug 12, 2006 1:09 pm

Post by Borg »

Thanks. Now it works good. poll time is a bit smaller and load not big.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests