- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2016-3-6
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
1G1核阿里云ECS,wordpress程序,做了静态缓存,经常出现网站打不开,提示“连接数据库时出错”
日志如下
2016-03-05 04:20:05 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-03-05 04:20:05 1338 [Note] Plugin 'FEDERATED' is disabled.
2016-03-05 04:20:05 7f9bfbbcd720 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-03-05 04:20:05 1338 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-03-05 04:20:05 1338 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-05 04:20:05 1338 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-03-05 04:20:05 1338 [Note] InnoDB: Memory barrier is not used
2016-03-05 04:20:05 1338 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-03-05 04:20:05 1338 [Note] InnoDB: Using CPU crc32 instructions
2016-03-05 04:20:05 1338 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-03-05 04:20:05 1338 [Note] InnoDB: Completed initialization of buffer pool
2016-03-05 04:20:05 1338 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-05 04:20:05 1338 [Note] InnoDB: The log sequence numbers 1626024 and 1626024 in ibdata files do not match the log sequence number 1626054 in the ib_logfiles!
2016-03-05 04:20:05 1338 [Note] InnoDB: Database was not shutdown normally!
2016-03-05 04:20:05 1338 [Note] InnoDB: Starting crash recovery.
2016-03-05 04:20:05 1338 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-03-05 04:20:05 1338 [Note] InnoDB: Restoring possible half-written data pages
2016-03-05 04:20:05 1338 [Note] InnoDB: from the doublewrite buffer...
2016-03-05 04:20:06 1338 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-05 04:20:06 1338 [Note] InnoDB: Waiting for purge to start
2016-03-05 04:20:06 1338 [Note] InnoDB: 5.6.23 started; log sequence number 1626054
2016-03-05 04:20:06 1338 [Note] Recovering after a crash using mysql-bin
2016-03-05 04:20:06 1338 [Note] Starting crash recovery...
2016-03-05 04:20:06 1338 [Note] Crash recovery finished.
2016-03-05 04:20:06 1338 [Note] Server hostname (bind-address): '*'; port: 3306
2016-03-05 04:20:06 1338 [Note] IPv6 is not available.
2016-03-05 04:20:06 1338 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2016-03-05 04:20:06 1338 [Note] Server socket created on IP: '0.0.0.0'.
2016-03-05 04:20:07 1338 [Note] Event Scheduler: Loaded 0 events
2016-03-05 04:20:07 1338 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
160305 07:32:44 mysqld_safe Number of processes running now: 0
160305 07:32:44 mysqld_safe mysqld restarted
2016-03-05 07:32:45 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-03-05 07:32:45 1577 [Note] Plugin 'FEDERATED' is disabled.
2016-03-05 07:32:45 7f1670e27720 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-03-05 07:32:45 1577 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-03-05 07:32:45 1577 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-05 07:32:45 1577 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-03-05 07:32:45 1577 [Note] InnoDB: Memory barrier is not used
2016-03-05 07:32:45 1577 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-03-05 07:32:45 1577 [Note] InnoDB: Using CPU crc32 instructions
2016-03-05 07:32:45 1577 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-03-05 07:32:45 1577 [Note] InnoDB: Completed initialization of buffer pool
2016-03-05 07:32:45 1577 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-05 07:32:45 1577 [Note] InnoDB: The log sequence numbers 1626024 and 1626024 in ibdata files do not match the log sequence number 1626064 in the ib_logfiles!
2016-03-05 07:32:45 1577 [Note] InnoDB: Database was not shutdown normally!
2016-03-05 07:32:45 1577 [Note] InnoDB: Starting crash recovery.
2016-03-05 07:32:45 1577 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-03-05 07:32:45 1577 [Note] InnoDB: Restoring possible half-written data pages
2016-03-05 07:32:45 1577 [Note] InnoDB: from the doublewrite buffer...
2016-03-05 07:32:46 1577 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-05 07:32:46 1577 [Note] InnoDB: Waiting for purge to start
2016-03-05 07:32:46 1577 [Note] InnoDB: 5.6.23 started; log sequence number 1626064
2016-03-05 07:32:46 1577 [Note] Recovering after a crash using mysql-bin
2016-03-05 07:32:46 1577 [Note] Starting crash recovery...
2016-03-05 07:32:46 1577 [Note] Crash recovery finished.
2016-03-05 07:32:47 1577 [Note] Server hostname (bind-address): '*'; port: 3306
2016-03-05 07:32:47 1577 [Note] IPv6 is not available.
2016-03-05 07:32:47 1577 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2016-03-05 07:32:47 1577 [Note] Server socket created on IP: '0.0.0.0'.
2016-03-05 07:32:48 1577 [Note] Event Scheduler: Loaded 0 events
2016-03-05 07:32:48 1577 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
160305 07:32:51 mysqld_safe Number of processes running now: 0
160305 07:32:51 mysqld_safe mysqld restarted
2016-03-05 07:32:52 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-03-05 07:32:52 1618 [Note] Plugin 'FEDERATED' is disabled.
2016-03-05 07:32:52 7f96395ad720 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2016-03-05 07:32:52 1618 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-03-05 07:32:52 1618 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-05 07:32:52 1618 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-03-05 07:32:52 1618 [Note] InnoDB: Memory barrier is not used
2016-03-05 07:32:52 1618 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-03-05 07:32:52 1618 [Note] InnoDB: Using CPU crc32 instructions
2016-03-05 07:32:52 1618 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-03-05 07:32:52 1618 [Note] InnoDB: Completed initialization of buffer pool
2016-03-05 07:32:52 1618 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-05 07:32:52 1618 [Note] InnoDB: The log sequence numbers 1626024 and 1626024 in ibdata files do not match the log sequence number 1626074 in the ib_logfiles!
2016-03-05 07:32:52 1618 [Note] InnoDB: Database was not shutdown normally!
2016-03-05 07:32:52 1618 [Note] InnoDB: Starting crash recovery.
2016-03-05 07:32:52 1618 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-03-05 07:32:52 1618 [Note] InnoDB: Restoring possible half-written data pages
2016-03-05 07:32:52 1618 [Note] InnoDB: from the doublewrite buffer...
2016-03-05 07:32:52 1618 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-05 07:32:52 1618 [Note] InnoDB: Waiting for purge to start
2016-03-05 07:32:52 1618 [Note] InnoDB: 5.6.23 started; log sequence number 1626074
2016-03-05 07:32:52 1618 [Note] Recovering after a crash using mysql-bin
2016-03-05 07:32:52 1618 [Note] Starting crash recovery...
2016-03-05 07:32:52 1618 [Note] Crash recovery finished.
2016-03-05 07:32:52 1618 [Note] Server hostname (bind-address): '*'; port: 3306
2016-03-05 07:32:52 1618 [Note] IPv6 is not available.
2016-03-05 07:32:52 1618 [Note] - '0.0.0.0' resolves to '0.0.0.0';
2016-03-05 07:32:52 1618 [Note] Server socket created on IP: '0.0.0.0'.
2016-03-05 07:32:53 1618 [Note] Event Scheduler: Loaded 0 events
2016-03-05 07:32:53 1618 [Note] /usr/local/mysql/bin/mysqld: ready for connections.
Version: '5.6.23-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
日志没看出什么错误,翻看了论坛之前您回答的类似情况,做了一个定时检测数据库的脚本,今天没有再出现过。
数据库占用内存过高被系统K掉?1G1核就跑一个wordpress,做了静态缓存,缓存文件生成正常,按说数据库的压力不会很大,如果是这种情况,建议做那些优化,彻底解决这个问题 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|