diff --git a/lib/rrd.php b/lib/rrd.php index 7b294fd511..a052c21eb8 100644 --- a/lib/rrd.php +++ b/lib/rrd.php @@ -156,7 +156,7 @@ function rrdtool_execute($command_line, $log_to_stdout, $output_flag, $rrd_struc $efp = rrd_get_fd($rrd_struc, RRDTOOL_PIPE_STDERR_WRITE); $except_fd = array($efp); - if (false === ($num_changed_streams = @stream_select($read_fd, $write_fd = NULL, $except_fd, 2, 0))) { + if (false === ($num_changed_streams = @stream_select($read_fd, $write_fd = NULL, $except_fd, 15, 0))) { /* Error handling */ if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_HIGH) { cacti_log("RRD2CACTI: ERROR: RRD Did not Respond to RRDTool Command", $log_to_stdout, "POLLER");