Waiting on 1/1 pollers.
Moderators: Developers, Moderators
ok, fully patched, same result. any other thoughts?
i'll also add, running cmd.php on it's own with no parameters seems to work fine, it's only when i run poller.php that it gets into the loop of sql queries.
also, it fails at different points during the poller process it seems. could this be a side effect of a memory issue in the process (keeping in mind i run this with php in a 64mb limit)?
i'll also add, running cmd.php on it's own with no parameters seems to work fine, it's only when i run poller.php that it gets into the loop of sql queries.
also, it fails at different points during the poller process it seems. could this be a side effect of a memory issue in the process (keeping in mind i run this with php in a 64mb limit)?
ok, still stuck on this one, and i have time to address it now.
the poller_output table is completely empty.
RRD's aren't being autocreated.
poller.php is being run as root manually via the command line.
<cacti>/rra was tried with cactiuser's permissions, root's, and 777, still no dice.
just looking at the if statement that is causing this loop of failures:
this is obviously the issue i'd presume. is $process_file_number the physical number of RRD files? this is a bad loop if so, since it's not detecting zero files and trying to run since we've told it there's stuff to process AFA sources. strace only shows the "waiting on" lines being written and nothing else when this is happening, so it's definitely that if statement as far as i can tell.
two questions:
1. thoughts on this?
2. thoughts on why .rrd's are not created?
the poller_output table is completely empty.
RRD's aren't being autocreated.
poller.php is being run as root manually via the command line.
<cacti>/rra was tried with cactiuser's permissions, root's, and 777, still no dice.
just looking at the if statement that is causing this loop of failures:
Code: Select all
if (sizeof($polling_items) >= $process_file_number
two questions:
1. thoughts on this?
2. thoughts on why .rrd's are not created?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
set logging to medium, verify no warning in Settings->Paths, make sure cmd.php is the poller, open a shell, su to root, and run "php -q poller.php". What does your log say? What happened at the command prompt?
TheWitness
TheWitness
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Make sure that you are running spine 0.8.7a.
TheWitness
TheWitness
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?
i had same problem
and the log say;
a set the memory_limit 512M in my php.ini
check in my database
the output
how do i check my problem and solve it?
thanks
Code: Select all
Waiting on 1/1 pollers.
Code: Select all
f this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
a set the memory_limit 512M in my php.ini
check in my database
Code: Select all
SELECT * FROM `poller_output`
Code: Select all
rows 0 - 0 (1 total, Query took 0.0003 sec)
thanks
Who is online
Users browsing this forum: No registered users and 0 guests