轻应用服务器,wp,宝塔面板,cpu 100%然后无法登陆,,但是宝塔面板可以使用,重启服务器后就可以撑2~3天后故障会再次重现; 有老哥知道怎么解决?
附上日志:
Events status:
LLA = Last Locked At LUA = Last Unlocked At
WOC = Waiting On Condition DL = Data Locked
Event scheduler status:
State : INITIALIZED
Thread id : 0
LLA : n/a:0
LUA : n/a:0
WOC : NO
Workers : 0
Executed : 0
Data locked: NO
Event queue status:
Element count : 0
Data locked : NO
Attempting lock : NO
LLA : init_queue:146
LUA : init_queue:156
WOC : NO
Next activation : neve
2021-04-19 11:33:29 20577 [Note] Plugin 'FEDERATED' is disabled.
2021-04-19 11:33:29 20577 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-04-19 11:33:29 20577 [Note] InnoDB: The InnoDB memory heap is disabled
2021-04-19 11:33:29 20577 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-04-19 11:33:29 20577 [Note] InnoDB: Memory barrier is not used
2021-04-19 11:33:29 20577 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-19 11:33:29 20577 [Note] InnoDB: Using Linux native AIO
2021-04-19 11:33:29 20577 [Note] InnoDB: Using CPU crc32 instructions
2021-04-19 11:33:29 20577 [Note] InnoDB: Initializing buffer pool, size = 384.0M
InnoDB: mmap(412090368 bytes) failed; errno 12
2021-04-19 11:33:29 20577 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2021-04-19 11:33:29 20577 [ERROR] Plugin 'InnoDB' init function returned error.
2021-04-19 11:33:29 20577 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-04-19 11:33:29 20577 [ERROR] Unknown/unsupported storage engine: InnoDB
2021-04-19 11:33:29 20577 [ERROR] Aborting
2021-04-19 11:33:29 20577 [Note] Binlog end
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'partition'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_METRICS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMPMEM'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_CMP'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_LOCKS'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'INNODB_TRX'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'BLACKHOLE'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'ARCHIVE'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'MRG_MYISAM'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'MyISAM'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'MEMORY'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'CSV'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'sha256_password'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'mysql_old_password'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'mysql_native_password'
2021-04-19 11:33:29 20577 [Note] Shutting down plugin 'binlog'
2021-04-19 11:33:29 20577 [Note] /www/server/mysql/bin/mysqld: Shutdown complete
2021-04-19 11:35:44 2502 [Note] Plugin 'FEDERATED' is disabled.
2021-04-19 11:35:44 2502 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-04-19 11:35:44 2502 [Note] InnoDB: The InnoDB memory heap is disabled
2021-04-19 11:35:44 2502 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-04-19 11:35:44 2502 [Note] InnoDB: Memory barrier is not used
2021-04-19 11:35:44 2502 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-04-19 11:35:44 2502 [Note] InnoDB: Using Linux native AIO
2021-04-19 11:35:44 2502 [Note] InnoDB: Using CPU crc32 instructions
2021-04-19 11:35:44 2502 [Note] InnoDB: Initializing buffer pool, size = 384.0M
2021-04-19 11:35:44 2502 [Note] InnoDB: Completed initialization of buffer pool
2021-04-19 11:35:44 2502 [Note] InnoDB: Highest supported file format is Barracuda.
2021-04-19 11:35:44 2502 [Note] InnoDB: The log sequence numbers 2207597397 and 2207597397 in ibdata files do not match the log sequence number 3616954537 in the ib_logfiles!
2021-04-19 11:35:44 2502 [Note] InnoDB: Database was not shutdown normally!
2021-04-19 11:35:44 2502 [Note] InnoDB: Starting crash recovery.
2021-04-19 11:35:44 2502 [Note] InnoDB: Reading tablespace information from the .ibd files...
2021-04-19 11:35:44 2502 [Note] InnoDB: Restoring possible half-written data pages
2021-04-19 11:35:44 2502 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Last MySQL binlog file position 0 3350568, file name mysql-bin.000150
2021-04-19 11:35:44 2502 [Note] InnoDB: 128 rollback segment(s) are active.
2021-04-19 11:35:44 2502 [Note] InnoDB: Waiting for purge to start
2021-04-19 11:35:44 2502 [Note] InnoDB: 5.6.50 started; log sequence number 3616954537
2021-04-19 11:35:44 2502 [Note] Recovering after a crash using mysql-bin
2021-04-19 11:35:44 2502 [Note] Starting crash recovery...
2021-04-19 11:35:44 2502 [Note] Crash recovery finished.
2021-04-19 11:35:44 2502 [Note] RSA private key file not found: /www/server/data//private_key.pem. Some authentication plugins will not work.
2021-04-19 11:35:44 2502 [Note] RSA public key file not found: /www/server/data//public_key.pem. Some authentication plugins will not work.
2021-04-19 11:35:44 2502 [Note] Server hostname (bind-address): '*'; port: 3306
2021-04-19 11:35:44 2502 [Note] IPv6 is available.
2021-04-19 11:35:44 2502 [Note] - '::' resolves to '::';
2021-04-19 11:35:44 2502 [Note] Server socket created on IP: '::'.
2021-04-19 11:35:45 2502 [Note] Event Scheduler: Loaded 0 events
2021-04-19 11:35:45 2502 [Note] /www/server/mysql/bin/mysqld: ready for connections.
Version: '5.6.50-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
相似问题