Hello,
I've just upgraded from 0.88h to 1.2.23 in a new VM.
My problem is the poller (cmd) never finishes on time, but almost all graphs are updated. I have less than 45 devices
My poller configuration is
data collector set to 8. There are 4 cores
Thread process 12
Collection setting processes 4
No bust working
Well, When I was trying debugging running php poller.php --force -d and enable settings and I only see this kind o messages
Waiting on 1 of 4 pollers.
Waiting on 1 of 4 pollers.
Waiting on 1 of 4 pollers.
Waiting on 1 of 4 pollers.
Waiting on 1 of 4 pollers
Processing Poller Output with 40000 maximum items to be processed
Processing Poller Output with 40000 maximum items to be processed
Processing Poller Output with 40000 maximum items to be processed
Processing Poller Output with 40000 maximum items to be processed
Any help for debugging the problem is appreciated?
Should I install spine?
Cheers
Maximum runtime of 298 seconds (poller.php)
Moderators: Developers, Moderators
Re: Maximum runtime of 298 seconds (poller.php)
Spine isn't necessary for 45 devices.
Check log file for errors.
If you can try spine, you should use 1.2.24 version. 1.2.23 has few problems
https://github.com/Cacti/spine/tree/1.2.x
Check log file for errors.
If you can try spine, you should use 1.2.24 version. 1.2.23 has few problems
https://github.com/Cacti/spine/tree/1.2.x
Let the Cacti grow!
Re: Maximum runtime of 298 seconds (poller.php)
Hello,
Thank you for your response
Here are the messages (attached)
Thank you in advance
Thank you for your response
Here are the messages (attached)
Thank you in advance
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Maximum runtime of 298 seconds (poller.php)
Run spine manually with the following options to ensure spine is working
Code: Select all
./spine -V 3 -S -R
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?
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?
Re: Maximum runtime of 298 seconds (poller.php)
Hello TheWitness,
Using spine it works(ten seconds)!
2023-02-23 15:20:31 - SYSTEM STATS: Time:10.6378 Method:spine Processes:4 Threads:2 Hosts:43 HostsPerProcess:11 DataSources:4466 RRDsProcessed:2122
Total[10.6507] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_commands.php' --poller=1]
Total[10.6568] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/cacti/poller_reports.php]
Total[10.6586] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_spikekill.php']
Total[10.6605] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_automation.php' -M]
Total[10.6763] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_maintenance.php']
--Manel
Using spine it works(ten seconds)!
2023-02-23 15:20:31 - SYSTEM STATS: Time:10.6378 Method:spine Processes:4 Threads:2 Hosts:43 HostsPerProcess:11 DataSources:4466 RRDsProcessed:2122
Total[10.6507] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_commands.php' --poller=1]
Total[10.6568] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/cacti/poller_reports.php]
Total[10.6586] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_spikekill.php']
Total[10.6605] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_automation.php' -M]
Total[10.6763] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q '/var/www/cacti/poller_maintenance.php']
--Manel
Who is online
Users browsing this forum: No registered users and 0 guests