Hi, I have run into an issue with my ecommerce website database. A restore had to be performed some time ago and it is my belief that I have been experiencing this ever since. It has grown my error log to nearly 2GB.

This is the email that I started to get recently and I do not know what may have changed to cause an issue.

I would appreciate any help in direction as to how I may be able to resolve the issue. It appears that the DB or cache files may be corrupt. I have run CHECK TABLE for all of the mysql and website databases to no avail. I tried to check the MyISAM tables as well:
myisamchk --silent --force */*.MYI
myisamchk: error: 140 when opening MyISAM-table...

"Cpanel::Exception:atabase::Error/(XID ss6qy5) The system received an error from the MySQL database mysql: 2013 (Lost connection to MySQL server during query) at /usr/local/cpanel/Cpanel/Exception/CORE.pm line 336.
Cpanel::Exception::create("Database::Error", ARRAY(0x30e5208)) called at /usr/local/cpanel/Cpanel/Exception.pm line 46
Cpanel::Exception::__ANON__(__CPANEL_HIDDEN__, ARRAY(0x30e5208)) called at /usr/local/cpanel/Cpanel/DBI.pm line 200
Cpanel:BI::_create_exception(Cpanel:BI::Mysql::st=HASH(0x30d3aa0), "DBD::mysql::st execute failed: Lost connection to MySQL serve"..., undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188
Cpanel:BI::_error_handler("DBD::mysql::st execute failed: Lost connection to MySQL serve"..., Cpanel:BI::Mysql::st=HASH(0x30d3aa0), undef) called at bin/update_db_cache.pl line 333
Script::Update:B::Cache::can_get_mysql_usage(HASH(0xff6ea0), HASH(0x10651b0), Cpanel:B::Map::Collection::Index=HASH(0x3098128)) called at bin/update_db_cache.pl line 60
Script::Update:B::Cache::script("Script::Update:B::Cache") called at bin/update_db_cache.pl line 35"

--------------------------

More info:
It tends to crash ever 2-4 hours and no changes out of the ordinary are being made to my knowledge.

# Environment
CentOS, WHM/CPanel, PHP7, MySQL 5.6.38, eCommerce Website (Magento)

# Below from website.err file:
...
InnoDB: End of page dump
2017-11-12 08:31:38 7fece4bb5700 InnoDB: uncompressed page, stored checksum in field1 1940515531, calculated checksums for field1: crc32 1062689690, innodb 4217881636, none 3735928559, stored checksum in field2 0, calculated checksums for field2: crc32 1062689690, innodb 145366930, none 3735928559, page LSN 6 2465970045, low 4 bytes of LSN at page end 0, page number (if stored to page already) 1, space id (if created with >= MySQL-4.1.1 and stored already) 84948
InnoDB: Page may be an insert buffer bitmap page
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 1.
InnoDB: You may have to recover from a backup.
InnoDB: It is also possible that your operating
InnoDB: system has corrupted its own file cache
InnoDB: and rebooting your computer removes the
InnoDB: error.
InnoDB: If the corrupt page is an index page
InnoDB: you can also try to fix the corruption
InnoDB: by dumping, dropping, and reimporting
InnoDB: the corrupt table. You can use CHECK
InnoDB: TABLE to scan your table for corruption.
InnoDB: See also 301 Moved Permanently
InnoDB: about forcing recovery.
InnoDB: Error: Unable to read tablespace 84948 page no 1 into the buffer pool after 100 attempts
InnoDB: The most probable cause of this error may be that the table has been corrupted.
InnoDB: You can try to fix this problem by using innodb_force_recovery.
InnoDB: Please see reference manual for more details.
InnoDB: Aborting...
2017-11-12 08:31:38 7fece4bb5700 InnoDB: Assertion failure in thread 140655426492160 in file buf0buf.cc line 2740
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to 301 Moved Permanently.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: 301 Moved Permanently
InnoDB: about forcing recovery.
13:31:38 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=5
max_threads=151
thread_count=1
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68108 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x3885780
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7fece4bb4e48 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x35)[0x8d7265]
/usr/sbin/mysqld(handle_fatal_signal+0x494)[0x664b84]
/lib64/libpthread.so.0(+0xf7e0)[0x7fecf5e587e0]
/lib64/libc.so.6(gsignal+0x35)[0x7fecf4b03495]
/lib64/libc.so.6(abort+0x175)[0x7fecf4b04c75]
/usr/sbin/mysqld[0xa84b0d]
/usr/sbin/mysqld[0x9970fe]
/usr/sbin/mysqld[0x99d4f0]
/usr/sbin/mysqld[0xa8094f]
/usr/sbin/mysqld[0xa96124]
/usr/sbin/mysqld[0xa9656b]
/usr/sbin/mysqld[0xa84771]
/usr/sbin/mysqld[0xa6db06]
/usr/sbin/mysqld[0xa15029]
/usr/sbin/mysqld[0x982985]
/usr/sbin/mysqld[0x983b0b]
/usr/sbin/mysqld(_ZN7handler7ha_openEP5TABLEPKcii+0x3e)[0x5aa35e]
/usr/sbin/mysqld(_Z21open_table_from_shareP3THDP11TABLE_SHAREPKcjjjP5TABLEb+0x684)[0x76cda4]
/usr/sbin/mysqld(_Z10open_tableP3THDP10TABLE_LISTP18Open_table_context+0x1c8)[0x69b838]
/usr/sbin/mysqld(_Z11open_tablesP3THDPP10TABLE_LISTPjjP19Prelocking_strategy+0xc9f)[0x69e0cf]
/usr/sbin/mysqld(_Z30open_normal_and_derived_tablesP3THDP10TABLE_LISTj+0x4f)[0x69e1ff]
/usr/sbin/mysqld[0x71892c]
/usr/sbin/mysqld(_Z14get_all_tablesP3THDP10TABLE_LISTP4Item+0x6c0)[0x71f580]
/usr/sbin/mysqld(_Z24get_schema_tables_resultP4JOIN23enum_schema_table_state+0x2f1)[0x70c8f1]
/usr/sbin/mysqld(_ZN4JOIN14prepare_resultEPP4ListI4ItemE+0x9d)[0x700d8d]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x142)[0x6bf192]
/usr/sbin/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_P10SQL_I_ListI8st_orderESB_S7_yP13select_ resultP18st_select_lex_unitP13st_select_lex+0x250)[0x702810]
/usr/sbin/mysqld(_Z13handle_selectP3THDP13select_resultm+0x19f)[0x7030af]
/usr/sbin/mysqld[0x6de3fd]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1952)[0x6e11e2]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x378)[0x6e4628]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x111e)[0x6e57ee]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0xcf)[0x6b1ddf]
/usr/sbin/mysqld(handle_one_connection+0x47)[0x6b1f07]
/lib64/libpthread.so.0(+0x7aa1)[0x7fecf5e50aa1]
/lib64/libc.so.6(clone+0x6d)[0x7fecf4bb9bcd]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7fec98004bb0): is an invalid pointer
Connection ID (thread ID): 29
Status: NOT_KILLED

The manual page at 301 Moved Permanently contains
information that should help you find out what is causing the crash.

------------end--------------

Thank you ahead!