› MySQL 5.5 Community Server
› MySQL 5.6 Community Server
› Percona Configuration Wizard
› XtraBackup 搭建主从复制
Great Sites on MySQL
› Percona
› MySQL Performance Blog
› Severalnines
推荐管理工具
› Sequel Pro
› phpMyAdmin
推荐书目
› MySQL Cookbook
MySQL 相关项目
› MariaDB
› Drizzle
参考文档
› http://mysql-python.sourceforge.net/MySQLdb.html
tonghuashuai
V2EX  ›  MySQL

MySQL 每 10 分钟 自动 Normal shutdown

  •  
  •   tonghuashuai ·
    tonghs · Apr 12, 2017 · 5194 views
    This topic created in 3459 days ago, the information mentioned may be changed or developed.

    非常确定没有 crontab 任务,实在找不到什么原因 log :

    Version: '5.6.30-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)
    2017-04-12 21:23:59 29062 [Note] /usr/sbin/mysqld: Normal shutdown
    
    2017-04-12 21:23:59 29062 [Note] Giving 0 client threads a chance to die gracefully
    2017-04-12 21:23:59 29062 [Note] Event Scheduler: Purging the queue. 0 events
    2017-04-12 21:23:59 29062 [Note] Shutting down slave threads
    2017-04-12 21:23:59 29062 [Note] Forcefully disconnecting 0 remaining clients
    2017-04-12 21:23:59 29062 [Note] Binlog end
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'partition'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_DELETED'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_METRICS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMPMEM'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMP_RESET'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_CMP'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_LOCKS'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'INNODB_TRX'
    2017-04-12 21:23:59 29062 [Note] Shutting down plugin 'InnoDB'
    2017-04-12 21:23:59 29062 [Note] InnoDB: FTS optimize thread exiting.
    2017-04-12 21:23:59 29062 [Note] InnoDB: Starting shutdown...
    2017-04-12 21:24:01 29062 [Note] InnoDB: Shutdown completed; log sequence number 1626143
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'BLACKHOLE'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'ARCHIVE'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'MRG_MYISAM'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'MyISAM'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'MEMORY'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'CSV'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'sha256_password'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'mysql_old_password'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'mysql_native_password'
    2017-04-12 21:24:01 29062 [Note] Shutting down plugin 'binlog'
    2017-04-12 21:24:01 29062 [Note] /usr/sbin/mysqld: Shutdown complete
    
    170412 21:24:01 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
    170412 21:24:01 mysqld_safe Starting mysqld daemon with databases from /backups/mysql
    2017-04-12 21:24:01 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2017-04-12 21:24:01 0 [Note] /usr/sbin/mysqld (mysqld 5.6.30-log) starting as process 31712 ...
    2017-04-12 21:24:01 31712 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)
    
    2017-04-12 21:24:01 31712 [Warning] Buffered warning: Changed limits: table_open_cache: 431 (requested 2000)
    
    2017-04-12 21:24:01 31712 [Note] Plugin 'FEDERATED' is disabled.
    2017-04-12 21:24:01 31712 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2017-04-12 21:24:01 31712 [Note] InnoDB: The InnoDB memory heap is disabled
    2017-04-12 21:24:01 31712 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2017-04-12 21:24:01 31712 [Note] InnoDB: Memory barrier is not used
    2017-04-12 21:24:01 31712 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2017-04-12 21:24:01 31712 [Note] InnoDB: Using Linux native AIO
    2017-04-12 21:24:01 31712 [Note] InnoDB: Not using CPU crc32 instructions
    2017-04-12 21:24:01 31712 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2017-04-12 21:24:01 31712 [Note] InnoDB: Completed initialization of buffer pool
    2017-04-12 21:24:01 31712 [Note] InnoDB: Highest supported file format is Barracuda.
    2017-04-12 21:24:01 31712 [Note] InnoDB: 128 rollback segment(s) are active.
    2017-04-12 21:24:01 31712 [Note] InnoDB: Waiting for purge to start
    2017-04-12 21:24:01 31712 [Note] InnoDB: 5.6.30 started; log sequence number 1626143
    2017-04-12 21:24:01 31712 [Note] Server hostname (bind-address): '*'; port: 3306
    2017-04-12 21:24:01 31712 [Note] IPv6 is available.
    2017-04-12 21:24:01 31712 [Note]   - '::' resolves to '::';
    2017-04-12 21:24:01 31712 [Note] Server socket created on IP: '::'.
    2017-04-12 21:24:01 31712 [Note] Event Scheduler: Loaded 0 events
    2017-04-12 21:24:01 31712 [Note] /usr/sbin/mysqld: ready for connections.
    Version: '5.6.30-log'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server (GPL)
    2017-04-12 21:27:15 31712 [Warning] IP address '119.23.140.203' could not be resolved: Name or service not known
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   789 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:59 · PVG 04:59 · LAX 13:59 · JFK 16:59
    ♥ Do have faith in what you're doing.