Hey Guys how are you?
First, i want to say thanks to all the people here help me in the last time. ( a lot of knowledge here in this forum )
So... again C-Panel and his updates ( Specially MariaDB / MySql ).
i move my server from California to Virginia with the same configuration before (don't was any problem like this before).
The first problem start when you start do commend line to restart MySql in the WHM>TERMINAL
command line: service mysql restart
and this what hepend:
SCREENSHOT:
AND THIS CREATE ERROR IN THE LOGS AS WELL AND SOMETIME
HAVE A NOTE TO USE "NATIVE AIO" ( i will put my.cnf configuration at the end of the explanation for more info ):
SCREENSHOT:

NOW WHEN I RESTART THE MySql:
WHM > Restart Services > SQL Server
and restart the server from the interface everything is fine and i don't get any errors... is very wired.
So i start hacking deeper to the problem and i download a tuner... the tuner show overload on the memory on 1GB Pool and my server is 4GB Physical...
something didn't hepend in the old server... ( The old server showed 40% and the potential was 84% with the same configuration)
SCREENSHOT:

BUT AGAIN! SO WIRED! WHEN YOU GO TO:
WHM > SERVICE STATUS
EVERYTHING LOOK FINE! LIKE TO THE SERVER DONT HAVE ANY OVERLOAD....!
SCREENSHOT:

_____________________________________________________________________
AFTER THIS I START TO LOSE IT, I CALLED TO MY HOSTING PROVIDER TRY TO SOLVE THE PROBLEM...
we try to update MariaDB to see what hepend:
SCREENSHOT:

AND WE GOT ONE ERROR, BUT MARIADB SHOW EVERYTHING IS FINE AFTER ( BUT IT IS NOT OK AT ALL ):
SCREENSHOT:

We check MariaDB Create config:
SCREENSHOT:

BUT AGAIN! I NOTE IN THE SCREENSHOT LIKE YOU SEE GUYS! WE HAVE DUPLICATE CONFIG! WHEN YOU LOOK "NANO" YOU SEE MARIADB COPY MY.CNF!
SOMETHING MARIADB DIDNT DID BEFORE IN ANY UPDATE... ( WIRED!?? )
So again... chacking, even permissions of the folder:
SCREENSHOT:

like you see i mark everything and mysql:mysql
like should be is ok...
and still... server is in overload when you run "commend tuner" to analyze the database and every 4 - 3 days the database
shut down... like today, and this the 2 errors he shows me in the log after the shut down:
SCREENSHOT:

And i got this from the c-panel notification in my email after the Database server shutdown:
WHAT TO DO GUYS??!? PLEASE I STUCK WITH THAT OVER A MONTH AND MY SERVER PROVIDER DONT KNOW WHAT THE PROBLEM TO AND HOW TO FIX IT
BECAUSE IS RELATED TO THE NEW UPDATES FROM C-PANEL... PLEASE HELP ME GUYS, BY THE WAY, THIS IS THE CONFIGURATION OF MY.CNF:
(WANT TO NOTIFIED BEFORE YOU LOOK ON THAT! I EVEN TRIED THE DEFAULT CONFIGURATION FROM C-PANEL AND THE PROBLEM IS STILL THE SAME)
___________________________________________________________________________________________________________________________________________________________________
[mysql]
port = 3306
#socket = /var/lib/mysql/mysql.sock
[mysqld]
# Addons (must be in the top)
performance_schema = ON
# Required Settings
basedir = /usr
bind_address = 127.0.0.1 # Change to 0.0.0.0 to allow remote connections
datadir = /var/lib/mysql
max_allowed_packet = 256M
max_connect_errors = 100000
#pid_file = /var/run/mysqld/mysqld.pid
port = 3306
# SKIP
skip_external_locking
#skip-federated
#skip-pbxt
#skip-pbxt_statistics
#skip-archive
#skip_name_resolve
#old_passwords
# MYSQL SOCKET MAIN SOCKET (ALL OUR THE SAME)
#socket = /var/lib/mysql/mysql.sock
# Enable for b/c with databases created in older MySQL/MariaDB versions (e.g. when using null dates)
#sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES
tmpdir = /tmp
user = mysql
# InnoDB Settings
default_storage_engine = InnoDB
innodb_use_native_aio = 0
innodb_buffer_pool_instances = 1 # Use 1 instance per 1GB of InnoDB pool size
innodb_buffer_pool_size = 1G
#innodb-buffer-pool-chunk-size = 256M
# Use up to 70-80% of RAM
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 0
innodb_flush_method = O_DIRECT
innodb_log_buffer_size = 16M
innodb_log_file_size = 256M
innodb_log_files_in_group = 1
innodb_stats_on_metadata = 0
#innodb_temp_data_file_path = ibtmp1:64M:autoextend:max:20G # Control the maximum size for the ibtmp1 file
#innodb_thread_concurrency = 4 # Optional: Set to the number of CPUs on your system (minus 1 or 2) to better
# contain CPU usage. E.g. if your system has 8 CPUs, try 6 or 7 and check
# the overall load produced by MySQL/MariaDB.
innodb_read_io_threads = 32
innodb_write_io_threads = 32
# MyISAM Settings
#query_cache_limit = 1M # UPD - Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
query_cache_size = 0 # UPD - Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
query_cache_type = 0 # Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
key_buffer_size = 32M # UPD
myisam_sort_buffer_size = 32M
low_priority_updates = 1
concurrent_insert = 2
# Connection Settings
max_connections = 100 # UPD
max_user_connections = 75
back_log = 256
thread_cache_size = 100
thread_stack = 192K
interactive_timeout = 180
wait_timeout = 180
# For MySQL 5.7+ only (disabled by default)
#max_execution_time = 30000 # Set a timeout limit for SELECT statements (value in milliseconds).
# This option may be useful to address aggressive crawling on large sites,
# For MariaDB 10.1.1+ only (disabled by default)
#max_statement_time = 30 # The equivalent of "max_execution_time" in MySQL 5.7+ (set above)
# The variable is of type double, thus you can use subsecond timeout.
# Buffer Settings
join_buffer_size = 2M # UPD
read_buffer_size = 1M # UPD
read_rnd_buffer_size = 2M # UPD
sort_buffer_size = 2M # UPD
#max_length_for_sort_data = 2M # Centminmod
net_buffer_length = 16K # Centminmod
# Table Settings
table_definition_cache = 20000 # UPD
#table_open_cache = 20000 # UPD
open_files_limit = 40000 # UPD - This can be 2x to 3x the table_open_cache value or match the system's
# open files limit usually set in /etc/sysctl.conf or /etc/security/limits.conf
# In systemd managed systems this limit must also be set in:
# /etc/systemd/system/mysqld.service.d/override.conf (for MySQL 5.7+) and
# /etc/systemd/system/mariadb.service.d/override.conf (for MariaDB)
max_heap_table_size = 128M
tmp_table_size = 128M
# Search Settings
ft_min_word_len = 3 # Minimum length of words to be indexed for search results
# Logging
log_error = /var/lib/mysql/mysql_error.log
log_queries_not_using_indexes = 1
long_query_time = 5
slow_query_log = 0 # Disabled for production
slow_query_log_file = /var/lib/mysql/mysql_slow.log
[mysqldump]
# Variable reference
quick
quote_names
max_allowed_packet = 64M
___________________________________________________________________________________________________________________________________________________________________
Please, guys, help... i know is long but is detailed with a screenshot to see what i actually see throw my eyes... please help is
DAMAGE SEO AND UPTIME OF ALL MY WEBSITES
It is an emergency, my friends, i will apricate any good advice you have.
First, i want to say thanks to all the people here help me in the last time. ( a lot of knowledge here in this forum )
So... again C-Panel and his updates ( Specially MariaDB / MySql ).
i move my server from California to Virginia with the same configuration before (don't was any problem like this before).
The first problem start when you start do commend line to restart MySql in the WHM>TERMINAL
command line: service mysql restart
and this what hepend:
SCREENSHOT:

AND THIS CREATE ERROR IN THE LOGS AS WELL AND SOMETIME
HAVE A NOTE TO USE "NATIVE AIO" ( i will put my.cnf configuration at the end of the explanation for more info ):
SCREENSHOT:

NOW WHEN I RESTART THE MySql:
WHM > Restart Services > SQL Server
and restart the server from the interface everything is fine and i don't get any errors... is very wired.
So i start hacking deeper to the problem and i download a tuner... the tuner show overload on the memory on 1GB Pool and my server is 4GB Physical...
something didn't hepend in the old server... ( The old server showed 40% and the potential was 84% with the same configuration)
SCREENSHOT:

BUT AGAIN! SO WIRED! WHEN YOU GO TO:
WHM > SERVICE STATUS
EVERYTHING LOOK FINE! LIKE TO THE SERVER DONT HAVE ANY OVERLOAD....!
SCREENSHOT:

_____________________________________________________________________
AFTER THIS I START TO LOSE IT, I CALLED TO MY HOSTING PROVIDER TRY TO SOLVE THE PROBLEM...
we try to update MariaDB to see what hepend:
SCREENSHOT:

AND WE GOT ONE ERROR, BUT MARIADB SHOW EVERYTHING IS FINE AFTER ( BUT IT IS NOT OK AT ALL ):
SCREENSHOT:

We check MariaDB Create config:
SCREENSHOT:

BUT AGAIN! I NOTE IN THE SCREENSHOT LIKE YOU SEE GUYS! WE HAVE DUPLICATE CONFIG! WHEN YOU LOOK "NANO" YOU SEE MARIADB COPY MY.CNF!
SOMETHING MARIADB DIDNT DID BEFORE IN ANY UPDATE... ( WIRED!?? )
So again... chacking, even permissions of the folder:
SCREENSHOT:

like you see i mark everything and mysql:mysql
like should be is ok...
and still... server is in overload when you run "commend tuner" to analyze the database and every 4 - 3 days the database
shut down... like today, and this the 2 errors he shows me in the log after the shut down:
SCREENSHOT:

And i got this from the c-panel notification in my email after the Database server shutdown:
The cPanel & WHM update process failed for the following reason: | |||||||
| |||||||
Copyright© 2020 cPanel, L.L.C. |
WHAT TO DO GUYS??!? PLEASE I STUCK WITH THAT OVER A MONTH AND MY SERVER PROVIDER DONT KNOW WHAT THE PROBLEM TO AND HOW TO FIX IT
BECAUSE IS RELATED TO THE NEW UPDATES FROM C-PANEL... PLEASE HELP ME GUYS, BY THE WAY, THIS IS THE CONFIGURATION OF MY.CNF:
(WANT TO NOTIFIED BEFORE YOU LOOK ON THAT! I EVEN TRIED THE DEFAULT CONFIGURATION FROM C-PANEL AND THE PROBLEM IS STILL THE SAME)
___________________________________________________________________________________________________________________________________________________________________
[mysql]
port = 3306
#socket = /var/lib/mysql/mysql.sock
[mysqld]
# Addons (must be in the top)
performance_schema = ON
# Required Settings
basedir = /usr
bind_address = 127.0.0.1 # Change to 0.0.0.0 to allow remote connections
datadir = /var/lib/mysql
max_allowed_packet = 256M
max_connect_errors = 100000
#pid_file = /var/run/mysqld/mysqld.pid
port = 3306
# SKIP
skip_external_locking
#skip-federated
#skip-pbxt
#skip-pbxt_statistics
#skip-archive
#skip_name_resolve
#old_passwords
# MYSQL SOCKET MAIN SOCKET (ALL OUR THE SAME)
#socket = /var/lib/mysql/mysql.sock
# Enable for b/c with databases created in older MySQL/MariaDB versions (e.g. when using null dates)
#sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES
tmpdir = /tmp
user = mysql
# InnoDB Settings
default_storage_engine = InnoDB
innodb_use_native_aio = 0
innodb_buffer_pool_instances = 1 # Use 1 instance per 1GB of InnoDB pool size
innodb_buffer_pool_size = 1G
#innodb-buffer-pool-chunk-size = 256M
# Use up to 70-80% of RAM
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 0
innodb_flush_method = O_DIRECT
innodb_log_buffer_size = 16M
innodb_log_file_size = 256M
innodb_log_files_in_group = 1
innodb_stats_on_metadata = 0
#innodb_temp_data_file_path = ibtmp1:64M:autoextend:max:20G # Control the maximum size for the ibtmp1 file
#innodb_thread_concurrency = 4 # Optional: Set to the number of CPUs on your system (minus 1 or 2) to better
# contain CPU usage. E.g. if your system has 8 CPUs, try 6 or 7 and check
# the overall load produced by MySQL/MariaDB.
innodb_read_io_threads = 32
innodb_write_io_threads = 32
# MyISAM Settings
#query_cache_limit = 1M # UPD - Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
query_cache_size = 0 # UPD - Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
query_cache_type = 0 # Option supported by MariaDB & up to MySQL 5.7, remove this line on MySQL 8.x
key_buffer_size = 32M # UPD
myisam_sort_buffer_size = 32M
low_priority_updates = 1
concurrent_insert = 2
# Connection Settings
max_connections = 100 # UPD
max_user_connections = 75
back_log = 256
thread_cache_size = 100
thread_stack = 192K
interactive_timeout = 180
wait_timeout = 180
# For MySQL 5.7+ only (disabled by default)
#max_execution_time = 30000 # Set a timeout limit for SELECT statements (value in milliseconds).
# This option may be useful to address aggressive crawling on large sites,
# For MariaDB 10.1.1+ only (disabled by default)
#max_statement_time = 30 # The equivalent of "max_execution_time" in MySQL 5.7+ (set above)
# The variable is of type double, thus you can use subsecond timeout.
# Buffer Settings
join_buffer_size = 2M # UPD
read_buffer_size = 1M # UPD
read_rnd_buffer_size = 2M # UPD
sort_buffer_size = 2M # UPD
#max_length_for_sort_data = 2M # Centminmod
net_buffer_length = 16K # Centminmod
# Table Settings
table_definition_cache = 20000 # UPD
#table_open_cache = 20000 # UPD
open_files_limit = 40000 # UPD - This can be 2x to 3x the table_open_cache value or match the system's
# open files limit usually set in /etc/sysctl.conf or /etc/security/limits.conf
# In systemd managed systems this limit must also be set in:
# /etc/systemd/system/mysqld.service.d/override.conf (for MySQL 5.7+) and
# /etc/systemd/system/mariadb.service.d/override.conf (for MariaDB)
max_heap_table_size = 128M
tmp_table_size = 128M
# Search Settings
ft_min_word_len = 3 # Minimum length of words to be indexed for search results
# Logging
log_error = /var/lib/mysql/mysql_error.log
log_queries_not_using_indexes = 1
long_query_time = 5
slow_query_log = 0 # Disabled for production
slow_query_log_file = /var/lib/mysql/mysql_slow.log
[mysqldump]
# Variable reference
quick
quote_names
max_allowed_packet = 64M
___________________________________________________________________________________________________________________________________________________________________
Please, guys, help... i know is long but is detailed with a screenshot to see what i actually see throw my eyes... please help is
DAMAGE SEO AND UPTIME OF ALL MY WEBSITES
It is an emergency, my friends, i will apricate any good advice you have.