Skip to main content

mysql uptime - never more than 60 minutes

Comments

4 comments

  • cPanelMichael
    Hello :) Please check the MySQL error log (/var/lib/mysql/$hostname.err) and see if you notice any particular error messages before each restart. Thank you.
    0
  • felz
    thanks Michael, I found this, but I dont understand what is the meaning of this log 131022 8:38:16 InnoDB: highest supported file format is Barracuda. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 131022 8:38:16 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... 131022 8:38:16 InnoDB: Waiting for the background threads to start 131022 8:38:17 InnoDB: 5.5.30 started; log sequence number 3096099720 131022 8:38:17 [Note] Event Scheduler: Loaded 0 events 131022 8:38:17 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.30-cll' socket: '/var/lib/mysql/mysql.sock' port: 0 MySQL Community Server (GPL) 131022 08:41:32 mysqld_safe Number of processes running now: 0 131022 08:41:32 mysqld_safe mysqld restarted 131022 8:41:32 [Warning] option 'table_cache': unsigned value 16777216 adjusted to 524288 131022 8:41:32 [Warning] option 'table_open_cache': unsigned value 850000 adjusted to 524288 131022 8:41:32 [Warning] Could not increase number of max_open_files to more than 4000 (request: 1048616) 131022 8:41:32 [Note] Plugin 'FEDERATED' is disabled. 131022 8:41:32 InnoDB: The InnoDB memory heap is disabled 131022 8:41:32 InnoDB: Mutexes and rw_locks use InnoDB's own implementation 131022 8:41:32 InnoDB: Compressed tables use zlib 1.2.3 131022 8:41:32 InnoDB: Using Linux native AIO 131022 8:41:32 InnoDB: Initializing buffer pool, size = 128.0M 131022 8:41:32 InnoDB: Completed initialization of buffer pool 131022 8:41:32 InnoDB: highest supported file format is Barracuda. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 131022 8:41:32 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... 131022 8:41:32 InnoDB: Waiting for the background threads to start 131022 8:41:33 InnoDB: 5.5.30 started; log sequence number 3096099720 131022 8:41:33 [Note] Event Scheduler: Loaded 0 events 131022 8:41:33 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.30-cll' socket: '/var/lib/mysql/mysql.sock' port: 0 MySQL Community Server (GPL) 131022 09:08:27 mysqld_safe Number of processes running now: 0 131022 09:08:27 mysqld_safe mysqld restarted 131022 9:08:27 [Warning] option 'table_cache': unsigned value 16777216 adjusted to 524288 131022 9:08:27 [Warning] option 'table_open_cache': unsigned value 850000 adjusted to 524288 131022 9:08:27 [Warning] Could not increase number of max_open_files to more than 4000 (request: 1048616) 131022 9:08:27 [Note] Plugin 'FEDERATED' is disabled. 131022 9:08:27 InnoDB: The InnoDB memory heap is disabled 131022 9:08:27 InnoDB: Mutexes and rw_locks use InnoDB's own implementation 131022 9:08:27 InnoDB: Compressed tables use zlib 1.2.3 131022 9:08:27 InnoDB: Using Linux native AIO 131022 9:08:27 InnoDB: Initializing buffer pool, size = 128.0M 131022 9:08:27 InnoDB: Completed initialization of buffer pool 131022 9:08:27 InnoDB: highest supported file format is Barracuda. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 131022 9:08:27 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... 131022 9:08:27 InnoDB: Waiting for the background threads to start 131022 9:08:28 InnoDB: 5.5.30 started; log sequence number 3096099720 131022 9:08:28 [Note] Event Scheduler: Loaded 0 events 131022 9:08:28 [Note] /usr/sbin/mysqld: ready for connections. Version: '5.5.30-cll' socket: '/var/lib/mysql/mysql.sock' port: 0 MySQL Community Server (GPL)
    0
  • felz
    is there any somewhere else to track mysql log? Im afraid i can not produce solution base on the log above
    0
  • cPanelMichael
    You could also try running this command: mysqladmin processlist
    It can tell you if any databases are more active than normal. You may want to consult with a qualified system administrator to examine your system and determine if there are any issues with MySQL usage. Thank you.
    0

Please sign in to leave a comment.