MySQL Problem - table poller_ouput
Moderators: Developers, Moderators
MySQL Problem - table poller_ouput
Hi !
When cacti is in use abaout 2 weeks, graphs no updating.
I use strace ( in linux ) to find this problem.
I use MySQL Administrator and MySQL Control Center to see the cacti database, and see that table poller_output not updating
I use strace ( in linux ) to find this problem.
The problem fix with empty the table poller_ouput.
This is a problem of mysql ?
When cacti is in use abaout 2 weeks, graphs no updating.
I use strace ( in linux ) to find this problem.
I use MySQL Administrator and MySQL Control Center to see the cacti database, and see that table poller_output not updating
I use strace ( in linux ) to find this problem.
The problem fix with empty the table poller_ouput.
This is a problem of mysql ?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Maybe, but not typically...
Try deleting all the rows in poller_output, this may fix your issue.
Try deleting all the rows in poller_output, this may fix your issue.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
This is the forth time that i empty the table.
Each 2 or 3 weeks, when arrive at work , i see the principal graphs and i see
that graph no updating.
After use Mysql administrador and look that the table poller_output , not updating and empty the table.
Is rare.
Any idea for fix that ?
Sorry for my English.
Each 2 or 3 weeks, when arrive at work , i see the principal graphs and i see
that graph no updating.
After use Mysql administrador and look that the table poller_output , not updating and empty the table.
Is rare.
Any idea for fix that ?
Sorry for my English.
-
- Cacti User
- Posts: 66
- Joined: Tue Mar 22, 2005 10:11 am
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
A crashed poller can cause this problem....
His exact issue, no, but more importantly, what is your issue?
His exact issue, no, but more importantly, what is your issue?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Cacti User
- Posts: 66
- Joined: Tue Mar 22, 2005 10:11 am
To be honest, I dont know for sure 100%... After about a 7-10 days of running without issues, my cacti stops updating the RRD files (it polls fine) I get tons (> 500,000) items in my poller_output table that I must "truncate" before things start working again.rony wrote:A crashed poller can cause this problem....
His exact issue, no, but more importantly, what is your issue?
I have a sneaky feeling that php was running out of memory, it was configured via the php.ini file to use only 8M, I've since increased it to 64M to see if the issue goes away.
I'm also looking into upgrading my cacti version from 0.8.6c to 0.8.6g. I was really curious if this had been resolved and in what version so I could take a look at it in the code.
Thanks,
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
That upgrade would be a very good idea, not only for security fixes, but features as well.
Remember to run a check/repair on your database before you upgrade.
Remember to run a check/repair on your database before you upgrade.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Cacti User
- Posts: 66
- Joined: Tue Mar 22, 2005 10:11 am
- pestilence
- Cacti User
- Posts: 207
- Joined: Fri Jul 25, 2003 10:37 am
- Location: Athens/Greece
- Contact:
A quick hack would be to create a shell script that would truncate the table every now and then untill the issue is resolved.jrichardson wrote:I'm not so worried about the security features, it's running in a pretty secure internal only env, I just want it to not stop updating after running for days.
/* * Oops. The kernel tried to access some bad page. We'll have to * terminate things with extreme prejudice. */ die_if_kernel("Oops", regs, error_code);
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I still suggest you upgrade, security issue or not.
Because, to be honest, it's probably an issue that has been resolved in later versions.
Because, to be honest, it's probably an issue that has been resolved in later versions.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Cacti User
- Posts: 66
- Joined: Tue Mar 22, 2005 10:11 am
Who is online
Users browsing this forum: No registered users and 3 guests