poller_output table problem?
Moderators: Developers, Moderators
When I came in to work on Friday (a day after running my "meta-glue" script to update the RRDs) I ran into a whole slew of system problem (journal commit I/O errors, etc). After rebooting the machine, it came up with some SCSI errors, and the filesystem is now read only.TheWitness wrote:Magna,
If that patch I sent works for you, please post. Also, please post results of backing off of RRDtool 1.0.50. I believe that 1.0.48 was known good.
Larry
Luckily I had another server that I was able to migrate the platform over to. I swapped the file you gave me with the original, and things are now back to normal.
I have yet to try and downgrade the version of RRDTool to 1.0.48. I've been busy fighting fires and I'm looking for a minimal downtime for removing RRDTool 1.0.50 and then installing 1.0.48 (any suggestions?).
Larry, Thanks for your help.
Attached is the modified rrd.php file.
- Attachments
-
- rrd.zip
- Modified rrd.php
- (11.05 KiB) Downloaded 304 times
Same Problem
Hello to everybody,
I have the same problem with poller_output being not empty. My graphs still work, but they show missing data very often.
I've increased the amount of memory of PHP to 600MB, and tried the patch, but the problem is still happening...
Thanks!
I have the same problem with poller_output being not empty. My graphs still work, but they show missing data very often.
I've increased the amount of memory of PHP to 600MB, and tried the patch, but the problem is still happening...
Thanks!
Who is more foolish? The fool or the fool that
follows it?
follows it?
Hi again,
Now, after installing the patch, I've also upgraded the rrdtools from 1.0.49 to 1.2.12. Nice graphs, but still a lot of data in poller_output, and a lot of gaps in the graph's data
So, I've downgraded to version 1.0.48 of rrdtools, and still the same problem
Any hint? Am I missing something?
Thanks!
Now, after installing the patch, I've also upgraded the rrdtools from 1.0.49 to 1.2.12. Nice graphs, but still a lot of data in poller_output, and a lot of gaps in the graph's data
So, I've downgraded to version 1.0.48 of rrdtools, and still the same problem
Any hint? Am I missing something?
Thanks!
Who is more foolish? The fool or the fool that
follows it?
follows it?
Hi,
Yes, I've restarted the httpd service a couple of time since changing php.ini...
I've also discovered something quite strange: If I run poller.php from the console, poller_output gets empty. But when poller.php is executed by cron, entries start appearing in poller_output. First I tought that it could be a problem of permissions of cactiuser, but I've changed crontab making the root user execute poller.php instead of cactiuser, and poller_output continues growing...
Thanks for your response!
Yes, I've restarted the httpd service a couple of time since changing php.ini...
I've also discovered something quite strange: If I run poller.php from the console, poller_output gets empty. But when poller.php is executed by cron, entries start appearing in poller_output. First I tought that it could be a problem of permissions of cactiuser, but I've changed crontab making the root user execute poller.php instead of cactiuser, and poller_output continues growing...
Thanks for your response!
Who is more foolish? The fool or the fool that
follows it?
follows it?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
I had the same problem last week on a production server, running RedHat AS 4 Update 2, RRDtool 1.2.12 and Cacti 0.8.6h + the 4 patches.
The poller_output table contained 15 millions lines, and it took more than 4 minutes to truncate it
I had the same problem last week on a production server, running RedHat AS 4 Update 2, RRDtool 1.2.12 and Cacti 0.8.6h + the 4 patches.
The poller_output table contained 15 millions lines, and it took more than 4 minutes to truncate it
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Truncating the poller_output table fixed the problem, it goes back to 0 after each polling cycle.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Hi,
I think I'm isolating the origin of the problem. The holes in the graphs only appear when I'm monitoring two specific devices of my network. When I disable these two devices, the holes almost disappear. Now I'm working towards discovering what have both switches in common, and why Cacti doesn't like them.
It looks like the only thing these two devices have in common, is that they're a bit slow when replying to snmp requests. However, the snmp requests don't time out, the devices reply, and still, the global polling time remains in about 35 seconds. Of course, another thing I can't understand is the matter regarding that the poller output gets empty if I run the poller from de CLI, even using Cactiuser...
Any hint?
Thanks!
I think I'm isolating the origin of the problem. The holes in the graphs only appear when I'm monitoring two specific devices of my network. When I disable these two devices, the holes almost disappear. Now I'm working towards discovering what have both switches in common, and why Cacti doesn't like them.
It looks like the only thing these two devices have in common, is that they're a bit slow when replying to snmp requests. However, the snmp requests don't time out, the devices reply, and still, the global polling time remains in about 35 seconds. Of course, another thing I can't understand is the matter regarding that the poller output gets empty if I run the poller from de CLI, even using Cactiuser...
Any hint?
Thanks!
Who is more foolish? The fool or the fool that
follows it?
follows it?
Who is online
Users browsing this forum: No registered users and 0 guests