各位大佬,小弟采集了一个站,大约1万多篇文章。wordpress未作优化。最近数据库总是崩溃,日IP才两百多而已。被爬虫爬死的吗?
内存占用在1.8个G左右。
今日PV 今日UV 今日IP 今日流量 总流量 今日请求 总请求 蜘蛛
4,747 2,679 2,032 269.98 MB 65.28 GB 26,448 842,700 6,576
201116 17:51:10 [Note] Plugin 'FEDERATED' is disabled.
201116 17:51:10 InnoDB: The InnoDB memory heap is disabled
201116 17:51:10 InnoDB: Mutexes and rw_locks use GCC atomic builtins
201116 17:51:10 InnoDB: Compressed tables use zlib 1.2.11
201116 17:51:10 InnoDB: Using Linux native AIO
201116 17:51:10 InnoDB: Initializing buffer pool, size = 256.0M
201116 17:51:10 InnoDB: Completed initialization of buffer pool
201116 17:51:10 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 12489878704
201116 17:51:10 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 12489880752
201116 17:51:12 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 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 3200205, file name ./mysql-bin.000375
201116 17:51:12 InnoDB: Waiting for the background threads to start
201116 17:51:13 InnoDB: 5.5.62 started; log sequence number 12489880752
201116 17:51:13 [Note] Recovering after a crash using mysql-bin
201116 17:51:13 [Note] Starting crash recovery...
201116 17:51:13 [Note] Crash recovery finished.
201116 17:51:13 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
201116 17:51:13 [Note] - '0.0.0.0' resolves to '0.0.0.0';
201116 17:51:13 [Note] Server socket created on IP: '0.0.0.0'.
201116 17:51:14 [Note] Event Scheduler: Loaded 0 events
201116 17:51:14 [Note] /www/server/mysql/bin/mysqld: ready for connections.
Version: '5.5.62-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
201116 17:51:22 [Note] Plugin 'FEDERATED' is disabled.
201116 17:51:22 InnoDB: The InnoDB memory heap is disabled
201116 17:51:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
201116 17:51:22 InnoDB: Compressed tables use zlib 1.2.11
201116 17:51:22 InnoDB: Using Linux native AIO
201116 17:51:22 InnoDB: Initializing buffer pool, size = 256.0M
InnoDB: mmap(274726912 bytes) failed; errno 12
201116 17:51:22 InnoDB: Completed initialization of buffer pool
201116 17:51:22 InnoDB: Fatal error: cannot allocate memory for the buffer pool
201116 17:51:22 [ERROR] Plugin 'InnoDB' init function returned error.
201116 17:51:22 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
201116 17:51:22 [ERROR] Unknown/unsupported storage engine: InnoDB
201116 17:51:22 [ERROR] Aborting
201116 17:51:23 [Note] /www/server/mysql/bin/mysqld: Shutdown complete
|