From: Greiner M. <mar...@ci...> - 2015-07-01 16:58:28
|
Okay, so I have to wait till this is patched in spine?! At the end of the "run" I can see the poller.php working hard, and two spine processes are running. Any hints how to get out which script took as much time? Martin -----Ursprüngliche Nachricht----- Von: Gandalf [mailto:ga...@ca...] Gesendet: Mittwoch, 01. Juli 2015 18:50 An: Support requests/questions about cacti Betreff: [MASSMAIL]Re: [cacti-user] Performance The "weight" is determinded by counting datasources. Each datasource is counted as "1". In case of a "pure SNMP only" system, this might be a quite good approach. But it is clear, that runtime of e.g. scripts will cause quite different runtimes of spine processes. And this is obviously what you see. To do better, this would need a per-datasource runtime counter instead of "1". Patches against spine to implement this are appreciated. Reinhard Am 01.07.2015 um 18:18 schrieb Greiner Martin: > Hi > > We are allready using spine, > but the balancing from hosts to processes/threads seems not to be the best. > > The first 20 seconds, the system will be under heavy load, but later > only two spine processes are running and it will already take about 230 seconds to complete one run. > > Do you have any suggestions about optimization? > > Technical Support > General Information > Date Wed, 01 Jul 2015 17:59:34 +0200 > Cacti Version 0.8.8c > Cacti OS unix > SNMP Version NET-SNMP version: 5.4.3 > RRDTool Version RRDTool 1.4.x > Hosts 1252 > Graphs 22991 > Data Sources Script/Command: 1467 > SNMP: 4369 > SNMP Query: 24725 > Script Query: 73 > Script - Script Server (PHP): 3 > Script Query - Script Server: 575 > Total: 31212 > Poller Information > Interval 300 > Type SPINE 0.8.8c Copyright 2002-2014 by The Cacti Group > Items Action[0]: 42417 > Action[1]: 1696 > Action[2]: 1169 > Total: 45282 > Concurrent Processes 4 > Max Threads 16 > PHP Servers 10 > Script Timeout 25 > Max OID 20 > Last Run Statistics Time:231.4831 Method:spine Processes:4 Threads:16 Hosts:1252 HostsPerProcess:313 DataSources:45282 RRDsProcessed:29851 > PHP Information > PHP Version 5.3.3-7+squeeze23 > PHP OS Linux > PHP uname Linux cacti.noc 3.16.0-vmware20150330-1-amd64 #1 SMP Debian 3.16.7-1~vmware20150330 (2015-03-30) x86_64 > PHP SNMP Installed > max_execution_time 30 > memory_limit 512M > > > regards > Martin Greiner > > > ---------------------------------------------------------------------- > -------- Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > _______________________________________________ > cacti-user mailing list > cac...@li... > https://lists.sourceforge.net/lists/listinfo/cacti-user > ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ cacti-user mailing list cac...@li... https://lists.sourceforge.net/lists/listinfo/cacti-user |