You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding 500+ devices poller.php continues to run long after spine has finished
the poller.php proccesses continue to mount up and poller.php never exists
Strace output shows the poller just flipping between two statments
When I comment out this block of code everything works fine
/* determine the number of active profiles to improve poller performance
* under some circumstances. Save this data for spine and cmd.php.
*/
/* $active_profiles = db_fetch_cell('SELECT COUNT(DISTINCT data_source_profile_id)
FROM data_template_data
WHERE local_data_id > 0');
set_config_option('active_profiles', $active_profiles);
*/
However I dont think thats where the problem is I belive its somewhere around here
/* assume a scheduled task of either 60 or 300 seconds */
if (!empty($poller_interval)) {
$poller_runs = intval($cron_interval / $poller_interval);
if ($active_profiles != 1) {
$sql_where = "WHERE rrd_next_step - $poller_interval <= 0 AND poller_id = $poller_id";
} else {
$sql_where = "WHERE poller_id = $poller_id";
Manually running SELECT COUNT(DISTINCT data_source_profile_id)
FROM data_template_data
WHERE local_data_id > 0 returns the proper value of 1 on the primary poller
This only affects the primary poller remote pollers do not see this issue as far as I can tell
The text was updated successfully, but these errors were encountered:
While adding 500+ devices poller.php continues to run long after spine has finished
the poller.php proccesses continue to mount up and poller.php never exists
Strace output shows the poller just flipping between two statments
When I comment out this block of code everything works fine
However I dont think thats where the problem is I belive its somewhere around here
Manually running SELECT COUNT(DISTINCT data_source_profile_id)
FROM data_template_data
WHERE local_data_id > 0 returns the proper value of 1 on the primary poller
This only affects the primary poller remote pollers do not see this issue as far as I can tell
The text was updated successfully, but these errors were encountered: