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
I have a problem since a few days that after the data purge cron which is executed at 2am the centeron-broker gets a connection problem with an error message every 15 seconds.
From this point on no more performance data is written to the data_bin or to the logs table.
All other data is written without problems.
The problem is solved after a simple restart of the broker.
I have also tried to delete the oldest partition of the data_bin via SQL and the result is the same within a few seconds I get the same problem in the broker
###Logs
/var/log/centreon/centreon-purge.log
[Fri, 15 Nov 24 02:00:01 +0100] PURGE STARTED
[Fri, 15 Nov 24 02:00:01 +0100] Purging table data_bin...
[Fri, 15 Nov 24 02:00:01 +0100] Partition will be delete p20240518
[Fri, 15 Nov 24 02:00:01 +0100] Partitions deleted
[Fri, 15 Nov 24 02:00:01 +0100] Table data_bin purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table logs...
[Fri, 15 Nov 24 02:00:01 +0100] Table logs purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table log_archive_host...
[Fri, 15 Nov 24 02:00:01 +0100] Table log_archive_host purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table log_archive_service...
[Fri, 15 Nov 24 02:00:01 +0100] Table log_archive_service purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table comments...
[Fri, 15 Nov 24 02:00:01 +0100] Table comments purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table downtimes...
[Fri, 15 Nov 24 02:00:01 +0100] Table downtimes purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging table log_action...
[Fri, 15 Nov 24 02:00:01 +0100] Table log_action purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging index_data...
[Fri, 15 Nov 24 02:00:01 +0100] index_data purged
[Fri, 15 Nov 24 02:00:01 +0100] Purging log_action_modification...
[Fri, 15 Nov 24 02:00:01 +0100] log_action_modification purged
[Fri, 15 Nov 24 02:00:01 +0100] PURGE COMPLETED
central-broker-master.log
[2024-11-14T15:52:10.557+01:00] [core] [info] New incoming connection 'central-broker-master-input-2'
[2024-11-14T15:52:10.558+01:00] [core] [info] multiplexing: 'central-broker-master-input-2' starts with 0 in queue and the queue file is disable
[2024-11-14T15:52:10.560+01:00] [core] [info] Available connections cleaning: Operation canceled
[2024-11-14T15:52:10.560+01:00] [core] [warning] Poller '' with id 0 already known as connected. Replacing it with ''
[2024-11-14T15:52:10.560+01:00] [core] [info] New incoming connection 'central-broker-master-input-3'
[2024-11-14T15:52:10.560+01:00] [core] [info] multiplexing: 'central-broker-master-input-3' starts with 0 in queue and the queue file is disable
[2024-11-15T02:00:08.584+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:00:08.584+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:00:23.572+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:00:23.573+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:00:38.575+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:00:38.576+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:00:53.572+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:00:53.573+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:01:08.572+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:01:08.573+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:01:23.573+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:01:23.574+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:01:38.574+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:01:38.575+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:01:53.573+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:01:53.575+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
[2024-11-15T02:02:08.574+01:00] [sql] [error] connection fail to execute statement 0x7f914c020b00: error: errno=0
[2024-11-15T02:02:08.575+01:00] [sql] [error] mysql_connection 0x7f914c020b00 attempts 2: error: errno=0
The broker configuration is standard:
My workaround is restarting the broker daemon after the purge cron on 02:00 and the partitioning cron at 04:00.
What could be the problem here ?
Thanks for help
The text was updated successfully, but these errors were encountered:
I found the problem. The latest update on MariaDB 10.5.27 causes the problem. After a downgrade is working again.
Same issue on an other system. With 10.5.26 is working. With 10.5.27 not
Versions
Operating System
Oracle Linux 8
How the the component has been installed and versions
Version: --
Additional environment details (AWS, VirtualBox, physical, etc.):
Description
I have a problem since a few days that after the data purge cron which is executed at 2am the centeron-broker gets a connection problem with an error message every 15 seconds.
From this point on no more performance data is written to the data_bin or to the logs table.
All other data is written without problems.
The problem is solved after a simple restart of the broker.
I have also tried to delete the oldest partition of the data_bin via SQL and the result is the same within a few seconds I get the same problem in the broker
###Logs
/var/log/centreon/centreon-purge.log
central-broker-master.log
The broker configuration is standard:
My workaround is restarting the broker daemon after the purge cron on 02:00 and the partitioning cron at 04:00.
What could be the problem here ?
Thanks for help
The text was updated successfully, but these errors were encountered: