mysqld: The table 'poller_output' is full

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
toni2816
Posts: 7
Joined: Mon Dec 20, 2021 3:03 am

mysqld: The table 'poller_output' is full

Post by toni2816 »

Hi All,

I;m face problem about table poller_output is full on mariadb, how to fix this issue ??

Thank you
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: mysqld: The table 'poller_output' is full

Post by macan »

is your poller finishing on time?
More advices is here

http://forums.cacti.net/viewtopic.php?t=61651
Let the Cacti grow!
toni2816
Posts: 7
Joined: Mon Dec 20, 2021 3:03 am

Re: mysqld: The table 'poller_output' is full

Post by toni2816 »

I see the poller status idle and I was use spine
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: mysqld: The table 'poller_output' is full

Post by macan »

Logs->choose Type Stats and show few lines
Let the Cacti grow!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: mysqld: The table 'poller_output' is full

Post by TheWitness »

Code: Select all

ALTER TABLE poller_output ENGINE=InnoDB;
Then, edit /etc/my.cnf.d/server.cnf and increase max_heap_table_size=Bigger#, then restart MariaDB/MySQL and after that:

Code: Select all

ALTER TABLE poller_output ENGINE=MEMORY;
With the memory table, the poller is real fast, but you have to ensure your server has enough memory to handle the data in it, and if you are in a growing spert (more graphs and data sources), you have to be careful that you don't exceed the limit.

If you system is going to always be small, you can keep it in InnoDB.
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?
toni2816
Posts: 7
Joined: Mon Dec 20, 2021 3:03 am

Re: mysqld: The table 'poller_output' is full

Post by toni2816 »

TheWitness wrote: Sat Aug 12, 2023 10:24 am

Code: Select all

ALTER TABLE poller_output ENGINE=InnoDB;
Then, edit /etc/my.cnf.d/server.cnf and increase max_heap_table_size=Bigger#, then restart MariaDB/MySQL and after that:

Code: Select all

ALTER TABLE poller_output ENGINE=MEMORY;
With the memory table, the poller is real fast, but you have to ensure your server has enough memory to handle the data in it, and if you are in a growing spert (more graphs and data sources), you have to be careful that you don't exceed the limit.

If you system is going to always be small, you can keep it in InnoDB.

Thank you, but how to calculate max_heap_table_size value ?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: mysqld: The table 'poller_output' is full

Post by TheWitness »

You can go to Console > Utilities > System Utilities > View Boost Status while in Memory Engine and see how much memory and the row size. You basically multiply your number of data sources by the average row size and then I would add 100% just to be safe. Start out with something 3x what you already had though so you don't crash it.
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?
toni2816
Posts: 7
Joined: Mon Dec 20, 2021 3:03 am

Re: mysqld: The table 'poller_output' is full

Post by toni2816 »

TheWitness wrote: Sat Aug 12, 2023 5:20 pm You can go to Console > Utilities > System Utilities > View Boost Status while in Memory Engine and see how much memory and the row size. You basically multiply your number of data sources by the average row size and then I would add 100% just to be safe. Start out with something 3x what you already had though so you don't crash it.
Thanks in advance for the support, I was monitor this case in last 2 weeks and isn't appear anymore.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: mysqld: The table 'poller_output' is full

Post by TheWitness »

Good to hear. Having the poller_output table as a memory table is a key performance requirement for high levels of scalability not so much any more for the poller_output_boost as we no longer delete records from it as a general practice (RRDtool 1.5+ and above a requirement there).

Anyway, to reduce the memory footprint of the poller_output table, avoiding data input methods that have very wide outputs is also important as the 'output' column's width in the poller_output table should be minimized as much as possible to allow more records to be held without blowing out the memory buffer.

The reason that the boost view was important (or I thought it was) was that it would give you a good look at the average and more importantly, the max width of the output column. But looking at it today, it's not showing the 'max'. So, something to fix or enhance in the future.
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?
toni2816
Posts: 7
Joined: Mon Dec 20, 2021 3:03 am

Re: mysqld: The table 'poller_output' is full

Post by toni2816 »

TheWitness wrote: Wed Aug 23, 2023 7:38 am Good to hear. Having the poller_output table as a memory table is a key performance requirement for high levels of scalability not so much any more for the poller_output_boost as we no longer delete records from it as a general practice (RRDtool 1.5+ and above a requirement there).

Anyway, to reduce the memory footprint of the poller_output table, avoiding data input methods that have very wide outputs is also important as the 'output' column's width in the poller_output table should be minimized as much as possible to allow more records to be held without blowing out the memory buffer.

The reason that the boost view was important (or I thought it was) was that it would give you a good look at the average and more importantly, the max width of the output column. But looking at it today, it's not showing the 'max'. So, something to fix or enhance in the future.
I'm using InnoDB by the way, and I saw couple graphs has gap/blank graph but I don't know it's happen cause this tuning or something else, maybe any suggestions
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests