Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

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

Moderators: Developers, Moderators

Post Reply
AdamAlbertAllen
Posts: 3
Joined: Mon Jun 19, 2023 12:05 pm

Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by AdamAlbertAllen »

The sudden error message:
->CMDPHP WARNING: cmd.php poller has run over its polling interval and therefore is ending
->PHPSVR Maximum runtime of 300 seconds exceeded for the Script Server. Exiting.
->POLLER: Poller[Main Poller] PID[5960] WARNING: There are 1 processes detected as overrunning a polling cycle, please investigate

Originally everything was normal and the system kept running, but an error message began to appear on 2023.06.18 (00:00), and the observation chart did not display any data.
How do you guys solve this problem?
20230621.PNG
20230621.PNG (599.42 KiB) Viewed 539 times
Version Informations:
OS: CentOS 7
PHP: 5.4.16
Apache: 2.4.6 (cCentOS)
MariaDB: 15.1
Cacti: 1.2.23
RRDtool Version: 1.4+


Cacti Configuration Settings informations:
Poller Type:cmd.php
Number of PHP Script Servers:1
Poller Command Concurrent Processes: 1 process
Data Collector Processes: 1
Threads per Process: 1
Number of DSStats Processes: 1 process
Number of RRDfile Check Processes: 1 process
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by macan »

Try to sort your devices by polling time and resolve the worst polling time hosts. Restart problematic device could help.

Increase log level - it could help to find specific problem.
Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by TheWitness »

Increase processes, use spine. Make sure your devices are actually reachable.
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?
AdamAlbertAllen
Posts: 3
Joined: Mon Jun 19, 2023 12:05 pm

Re: Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by AdamAlbertAllen »

macan wrote: Tue Jun 20, 2023 1:48 am Try to sort your devices by polling time and resolve the worst polling time hosts. Restart problematic device could help.

Increase log level - it could help to find specific problem.
Thank you for your response. Could you please provide me with specific instructions on how to sort the devices by polling time and identify the hosts with the worst polling time? I am currently unsure which host has the highest polling time. Additionally, I have noticed that this issue resolves itself automatically without any configuration changes, but it occurs approximately every four to five days.
AdamAlbertAllen
Posts: 3
Joined: Mon Jun 19, 2023 12:05 pm

Re: Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by AdamAlbertAllen »

TheWitness wrote: Mon Jun 26, 2023 8:06 am Increase processes, use spine. Make sure your devices are actually reachable.
Thank you for your suggestion. I have installed the Spine plugin, but when I switch the polling type from cmd.php to Spine, all the data on the graphs disappears. As a result, I am currently using cmd.php for polling. Could you please provide me with guidance on how to resolve this issue? I would like to be able to smoothly switch from cmd.php to Spine without losing any data on the graphs.
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Issue-POLLER: Poller WARNING&CMDPHP WARNING: cmd.php poller has run over

Post by macan »

you have to configure spine:
https://docs.cacti.net/Spine.md
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest