connections.
Version: '5.6.47-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
2020-04-30 18:29:17 24013 [Note] Plugin 'FEDERATED' is disabled.
2020-04-30 18:29:17 24013 [Note] InnoDB: Using atomics to ref count buffer pool pages
2020-04-30 18:29:17 24013 [Note] InnoDB: The InnoDB memory heap is disabled
2020-04-30 18:29:17 24013 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-04-30 18:29:17 24013 [Note] InnoDB: Memory barrier is not used
2020-04-30 18:29:17 24013 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-04-30 18:29:17 24013 [Note] InnoDB: Using Linux native AIO
2020-04-30 18:29:17 24013 [Note] InnoDB: Using CPU crc32 instructions
2020-04-30 18:29:17 24013 [Note] InnoDB: Initializing buffer pool, size = 384.0M
InnoDB: mmap(412090368 bytes) failed; errno 12
2020-04-30 18:29:17 24013 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2020-04-30 18:29:17 24013 [ERROR] Plugin 'InnoDB' init function returned error.
2020-04-30 18:29:17 24013 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2020-04-30 18:29:17 24013 [ERROR] Unknown/unsupported storage engine: InnoDB
2020-04-30 18:29:17 24013 [ERROR] Aborting
2020-04-30 18:29:17 24013 [Note] Binlog end
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'partition'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_METRICS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMPMEM'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_CMP'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_LOCKS'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'INNODB_TRX'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'BLACKHOLE'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'ARCHIVE'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'MRG_MYISAM'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'MyISAM'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'MEMORY'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'CSV'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'sha256_password'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'mysql_old_password'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'mysql_native_password'
2020-04-30 18:29:17 24013 [Note] Shutting down plugin 'binlog'
2020-04-30 18:29:17 24013 [Note] /www/server/mysql/bin/mysqld: Shutdown complete
2020-04-30 18:34:04 25580 [Note] Plugin 'FEDERATED' is disabled.
2020-04-30 18:34:04 25580 [Note] InnoDB: Using atomics to ref count buffer pool pages
2020-04-30 18:34:04 25580 [Note] InnoDB: The InnoDB memory heap is disabled
2020-04-30 18:34:04 25580 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-04-30 18:34:04 25580 [Note] InnoDB: Memory barrier is not used
2020-04-30 18:34:04 25580 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-04-30 18:34:04 25580 [Note] InnoDB: Using Linux native AIO
2020-04-30 18:34:04 25580 [Note] InnoDB: Using CPU crc32 instructions
2020-04-30 18:34:04 25580 [Note] InnoDB: Initializing buffer pool, size = 384.0M
2020-04-30 18:34:04 25580 [Note] InnoDB: Completed initialization of buffer pool
2020-04-30 18:34:04 25580 [Note] InnoDB: Highest supported file format is Barracuda.
2020-04-30 18:34:04 25580 [Note] InnoDB: Log scan progressed past the checkpoint lsn 2283826487
2020-04-30 18:34:04 25580 [Note] InnoDB: Database was not shutdown normally!
2020-04-30 18:34:04 25580 [Note] InnoDB: Starting crash recovery.
2020-04-30 18:34:04 25580 [Note] InnoDB: Reading tablespace information from the .ibd files...
2020-04-30 18:34:04 25580 [Note] InnoDB: Restoring possible half-written data pages
2020-04-30 18:34:04 25580 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 2284679023
InnoDB: Transaction 5392454 was in the XA prepared state.
InnoDB: 1 transaction(s) which must be rolled back or cleaned up
InnoDB: in total 0 row operations to undo
InnoDB: Trx id counter is 5392896
2020-04-30 18:34:04 25580 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 25205150, file name mysql-bin.000020
2020-04-30 18:34:05 25580 [Note] InnoDB: 128 rollback segment(s) are active.
InnoDB: Starting in background the rollback of uncommitted transactions
2020-04-30 18:34:05 2b54e0b6a700 InnoDB: Rollback of non-prepared transactions completed
2020-04-30 18:34:05 25580 [Note] InnoDB: Waiting for purge to start
2020-04-30 18:34:05 25580 [Note] InnoDB: 5.6.47 started; log sequence number 2284679023
2020-04-30 18:34:05 25580 [Note] Recovering after a crash using mysql-bin
2020-04-30 18:34:05 25580 [Note] Starting crash recovery...
2020-04-30 18:34:05 2b54a0f5bcc0 InnoDB: Starting recovery for XA transactions...
2020-04-30 18:34:05 2b54a0f5bcc0 InnoDB: Transaction 5392454 in prepared state after recovery
2020-04-30 18:34:05 2b54a0f5bcc0 InnoDB: Transaction contains changes to 1 rows
2020-04-30 18:34:05 2b54a0f5bcc0 InnoDB: 1 transactions in prepared state after recovery
2020-04-30 18:34:05 25580 [Note] Found 1 prepared transaction(s) in InnoDB
2020-04-30 18:34:05 25580 [Note] Crash recovery finished.
2020-04-30 18:34:05 25580 [Note] RSA private key file not found: /www/server/data//private_key.pem. Some authentication plugins will not work.
2020-04-30 18:34:05 25580 [Note] RSA public key file not found: /www/server/data//public_key.pem. Some authentication plugins will not work.
2020-04-30 18:34:05 25580 [Note] Server hostname (bind-address): '*'; port: 3306
2020-04-30 18:34:05 25580 [Note] IPv6 is available.
2020-04-30 18:34:05 25580 [Note] - '::' resolves to '::';
2020-04-30 18:34:05 25580 [Note] Server socket created on IP: '::'.
2020-04-30 18:34:05 25580 [Note] Event Scheduler: Loaded 0 events
2020-04-30 18:34:05 25580 [Note] /www/server/mysql/bin/mysqld: ready for connections.
Version: '5.6.47-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
uj5u.com熱心網友回復:
根據你的記憶體資源情況設定一下快取配置:query_cache_size=3072M
binlog_cache_size=3072M
key_buffer_size=3072M
innodb_log_file_size=1G
innodb_file_per_table=1
innodb_buffer_pool_instances=8
innodb_read_io_threads=16
innodb_write_io_threads=16
innodb_flush_method=O_DIRECT
innodb_buffer_pool_size=3G
uj5u.com熱心網友回復:
記憶體不足,看下系統的記憶體設定和shm大小轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/19868.html
標籤:MySQL
上一篇:mysql資料庫連接報錯
