为什么在Mariabackup期间发生mysqld错误

问题描述 投票:1回答:1

错误消息如下所示。

Using server version 10.4.8-MariaDB-logmariabackup based on MariaDB server 10.4.11-MariaDB Linux (x86_64)[00] 2020-01-11 11:05:41 uses posix_fadvise().[00] 2020-01-11 11:05:41 cd to /home/data/mysql/[00] 2020-01-11 11:05:41 open files limit requested 0, set to 1024[00] 2020-01-11 11:05:41 mariabackup: using the following InnoDB configuration:[00] 2020-01-11 11:05:41 innodb_data_home_dir =[00] 2020-01-11 11:05:41 innodb_data_file_path = ibdata1:12M:autoextend[00] 2020-01-11 11:05:41 innodb_log_group_home_dir = ./[00] 2020-01-11 11:05:41 InnoDB: Using Linux native AIO 2020-01-11 11:05:42 0 [Note] InnoDB: Number of pools: 1[00] 2020-01-11 11:05:42 mariabackup: Generating a list of tablespaces 2020-01-11 11:05:42 0 [Warning] InnoDB: Allocated tablespace ID 28 for UYeG_Cloud/HisItemCurrRMinute, old maximum was 02020-01-11 11:05:44 0 [ERROR] InnoDB: Operating system error number 24 in a file operation.2020-01-11 11:05:44 0 [ERROR] InnoDB: Error number 24 means 'Too many open files'2020-01-11 11:05:44 0 [Note] InnoDB: Some operating system error numbers are described at https://mariadb.com/kb/en/library/operating-system-error-codes/2020-01-11 11:05:44 0 [ERROR] InnoDB: File ./UYeG_Cloud/HisAvg#P#p731.ibd: 'open' returned OS error 224.2020-01-11 11:05:44 0x7fd75730d8c0 InnoDB: Assertion failure in file /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.4.11/storage/innobase/fil/fil0fil.cc line 576InnoDB: Failing assertion: successInnoDB: We intentionally generate a memory trap.InnoDB: Submit a detailed bug report to https://jira.mariadb.org/InnoDB: If you get repeated assertion failures or crashes, evenInnoDB: immediately after the mysqld startup, there may beInnoDB: corruption in the InnoDB tablespace. Please refer toInnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/InnoDB: about forcing recovery.200111 11:05:44 [ERROR] mysqld got signal 6 ; ' 这可能是因为您遇到了错误。此二进制文件也可能或与之链接的库之一已损坏,构建不当,或配置错误。硬件故障也可能导致此错误。 `

`要报告此错误,请参阅https://mariadb.com/kb/en/reporting-bugs

我们将尽力收集一些信息,希望对您有所帮助诊断问题,但由于我们已经崩溃,肯定有问题,这可能会失败。 `

Server version: 10.4.11-MariaDBkey_buffer_size=0read_buffer_size=131072max_used_connections=0max_threads=1thread_count=0It is possible that mysqld could use up tokey_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 5919 K bytes of memoryHope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x0Attempting 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 = 0x0 thread_stack 0x49000mariabackup(my_print_stacktrace+0x2e)[0x55c966dcf37e]mariabackup(handle_fatal_signal+0x30f)[0x55c9668cbb5f]/lib64/libpthread.so.0(+0xf5f0)[0x7fd756ef95f0]/lib64/libc.so.6(gsignal+0x37)[0x7fd7551ca337]/lib64/libc.so.6(abort+0x148)[0x7fd7551cba28]mariabackup(+0x5b0574)[0x55c966537574]mariabackup(+0xad4c41)[0x55c966a5bc41]mariabackup(+0xad9eb7)[0x55c966a60eb7]mariabackup(+0x5e40c5)[0x55c96656b0c5]mariabackup(+0x5e33ad)[0x55c96656a3ad]mariabackup(+0x5e3849)[0x55c96656a849]mariabackup(+0x5e63ec)[0x55c96656d3ec]mariabackup(main+0x185)[0x55c96653a7d5]/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fd7551b6505]mariabackup(+0x5dc554)[0x55c966563554]The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains information that should help you find out what is causing the crash. Writing a core file...Working directory at /home/data/mysql중지됨------------------------------------------------------------------------

What are the causes and measures?

memory mariadb database-backups mariasql mariadb-10.3
1个回答
0
投票

将open_file_limit修改为90160。

ulimit -n 90160

Mariabackup应该可以正常工作,没有任何问题。

谢谢您的帮助。

© www.soinside.com 2019 - 2024. All rights reserved.