mysql报这是什么错?


我是采集,然后跑CRONTAB跑了多个进程,是因为连接数太多了吗?以下是错误信息。
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MEMORY'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MyISAM'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MRG_MYISAM'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'sha256_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'mysql_old_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'mysql_native_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'binlog'
2015-08-22 13:06:06 1644 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

150822 13:06:06 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ25z3ir398Z.pid ended
[root@iZ25z3ir398Z data]# cat iZ25z3ir398Z.err
150822 13:06:05 mysqld_safe Number of processes running now: 0
150822 13:06:05 mysqld_safe mysqld restarted
2015-08-22 13:06:05 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-22 13:06:06 1644 [Note] Plugin 'FEDERATED' is disabled.
2015-08-22 13:06:06 1644 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-22 13:06:06 1644 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-22 13:06:06 1644 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-22 13:06:06 1644 [Note] InnoDB: Using Linux native AIO
2015-08-22 13:06:06 1644 [Note] InnoDB: Using CPU crc32 instructions
2015-08-22 13:06:06 1644 [Note] InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
2015-08-22 13:06:06 1644 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2015-08-22 13:06:06 1644 [ERROR] Plugin 'InnoDB' init function returned error.
2015-08-22 13:06:06 1644 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2015-08-22 13:06:06 1644 [ERROR] Unknown/unsupported storage engine: InnoDB
2015-08-22 13:06:06 1644 [ERROR] Aborting

2015-08-22 13:06:06 1644 [Note] Binlog end
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'partition'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'ARCHIVE'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'BLACKHOLE'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_METRICS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_CMP'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'INNODB_TRX'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'CSV'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MEMORY'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MyISAM'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'MRG_MYISAM'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'sha256_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'mysql_old_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'mysql_native_password'
2015-08-22 13:06:06 1644 [Note] Shutting down plugin 'binlog'
2015-08-22 13:06:06 1644 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

mysqli 数据库 mysqldb mysql mysql优化

爱娜·萨哈林 9 years, 5 months ago

 InnoDB: mmap(137363456 bytes) failed; errno 12
2015-08-22 13:06:06 1644 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

内存不够用了。

robotky answered 9 years, 5 months ago

Your Answer