Skip to content

Instantly share code, notes, and snippets.

@seckcoder
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seckcoder/50312c013f078af20541 to your computer and use it in GitHub Desktop.
Save seckcoder/50312c013f078af20541 to your computer and use it in GitHub Desktop.
mysql error

screen shot of top and mtop: Inline-style: alt text

mysql status when cpu is 190%:

+------------------------------------------+-------------+
| Variable_name                            | Value       |
+------------------------------------------+-------------+
| Bytes_received                           | 190         |
| Bytes_sent                               | 678         |
| Compression                              | OFF         |
| Connections                              | 89          |
| Created_tmp_files                        | 5           |
| Created_tmp_tables                       | 2           |
| Flush_commands                           | 1           |
| Handler_write                            | 7           |
| Innodb_buffer_pool_pages_data            | 100014      |
| Innodb_buffer_pool_pages_dirty           | 1           |
| Innodb_buffer_pool_pages_flushed         | 3           |
| Innodb_buffer_pool_pages_free            | 162129      |
| Innodb_buffer_pool_pages_misc            | 1           |
| Innodb_buffer_pool_pages_total           | 262144      |
| Innodb_buffer_pool_read_ahead_rnd        | 0           |
| Innodb_buffer_pool_read_ahead            | 0           |
| Innodb_buffer_pool_read_ahead_evicted    | 0           |
| Innodb_buffer_pool_read_requests         | 1451574     |
| Innodb_buffer_pool_reads                 | 100009      |
| Innodb_buffer_pool_wait_free             | 0           |
| Innodb_buffer_pool_write_requests        | 529         |
| Innodb_data_fsyncs                       | 47          |
| Innodb_data_pending_fsyncs               | 0           |
| Innodb_data_pending_reads                | 6           |
| Innodb_data_pending_writes               | 0           |
| Innodb_data_read                         | 1640828928  |
| Innodb_data_reads                        | 100029      |
| Innodb_data_writes                       | 47          |
| Innodb_data_written                      | 124928      |
| Innodb_dblwr_pages_written               | 3           |
| Innodb_dblwr_writes                      | 3           |
| Innodb_have_atomic_builtins              | ON          |
| Innodb_log_waits                         | 0           |
| Innodb_log_write_requests                | 11          |
| Innodb_log_writes                        | 36          |
| Innodb_os_log_fsyncs                     | 41          |
| Innodb_os_log_pending_fsyncs             | 0           |
| Innodb_os_log_pending_writes             | 0           |
| Innodb_os_log_written                    | 24064       |
| Innodb_page_size                         | 16384       |
| Innodb_pages_created                     | 0           |
| Innodb_pages_read                        | 100008      |
| Innodb_pages_written                     | 3           |
| Innodb_row_lock_current_waits            | 0           |
| Innodb_row_lock_time                     | 0           |
| Innodb_row_lock_time_avg                 | 0           |
| Innodb_row_lock_time_max                 | 0           |
| Innodb_row_lock_waits                    | 0           |
| Innodb_rows_deleted                      | 0           |
| Innodb_rows_inserted                     | 0           |
| Innodb_rows_read                         | 26992       |
| Innodb_rows_updated                      | 0           |
| Innodb_truncated_status_writes           | 0           |
| Key_blocks_not_flushed                   | 0           |
| Key_blocks_unused                        | 13396       |
| Key_blocks_used                          | 0           |
| Key_read_requests                        | 0           |
| Key_reads                                | 0           |
| Key_write_requests                       | 0           |
| Key_writes                               | 0           |
| Last_query_cost                          | 0.000000    |
| Max_used_connections                     | 52          |
| Not_flushed_delayed_rows                 | 0           |
| Open_files                               | 49          |
| Open_streams                             | 0           |
| Open_table_definitions                   | 42          |
| Open_tables                              | 91          |
| Opened_files                             | 388         |
| Opened_table_definitions                 | 0           |
| Opened_tables                            | 0           |
| Performance_schema_cond_classes_lost     | 0           |
| Performance_schema_cond_instances_lost   | 0           |
| Performance_schema_file_classes_lost     | 0           |
| Performance_schema_file_handles_lost     | 0           |
| Performance_schema_file_instances_lost   | 0           |
| Performance_schema_locker_lost           | 0           |
| Performance_schema_mutex_classes_lost    | 0           |
| Performance_schema_mutex_instances_lost  | 0           |
| Performance_schema_rwlock_classes_lost   | 0           |
| Performance_schema_rwlock_instances_lost | 0           |
| Performance_schema_table_handles_lost    | 0           |
| Performance_schema_table_instances_lost  | 0           |
| Performance_schema_thread_classes_lost   | 0           |
| Performance_schema_thread_instances_lost | 0           |
| Prepared_stmt_count                      | 41          |
| Qcache_free_blocks                       | 1           |
| Qcache_free_memory                       | 16759696    |
| Qcache_hits                              | 0           |
| Qcache_inserts                           | 0           |
| Qcache_lowmem_prunes                     | 0           |
| Qcache_not_cached                        | 135538      |
| Qcache_queries_in_cache                  | 0           |
| Qcache_total_blocks                      | 1           |
| Queries                                  | 406477      |
| Questions                                | 5           |
| Rpl_status                               | AUTH_MASTER |
| Select_full_join                         | 0           |
| Select_full_range_join                   | 0           |
| Select_range                             | 0           |
| Select_range_check                       | 0           |
| Select_scan                              | 2           |
| Slave_heartbeat_period                   | 0.000       |
| Slave_open_temp_tables                   | 0           |
| Slave_received_heartbeats                | 0           |
| Slave_retried_transactions               | 0           |
| Slave_running                            | OFF         |
| Slow_launch_threads                      | 0           |
| Slow_queries                             | 0           |
| Sort_merge_passes                        | 0           |
| Sort_range                               | 0           |
| Sort_rows                                | 0           |
| Sort_scan                                | 0           |
| Ssl_accept_renegotiates                  | 0           |
| Ssl_accepts                              | 0           |
| Ssl_callback_cache_hits                  | 0           |
| Ssl_cipher                               |             |
| Ssl_cipher_list                          |             |
| Ssl_client_connects                      | 0           |
| Ssl_connect_renegotiates                 | 0           |
| Ssl_ctx_verify_depth                     | 0           |
| Ssl_ctx_verify_mode                      | 0           |
| Ssl_default_timeout                      | 0           |
| Ssl_finished_accepts                     | 0           |
| Ssl_finished_connects                    | 0           |
| Ssl_session_cache_hits                   | 0           |
| Ssl_session_cache_misses                 | 0           |
| Ssl_session_cache_mode                   | NONE        |
| Ssl_session_cache_overflows              | 0           |
| Ssl_session_cache_size                   | 0           |
| Ssl_session_cache_timeouts               | 0           |
| Ssl_sessions_reused                      | 0           |
| Ssl_used_session_cache_entries           | 0           |
| Ssl_verify_depth                         | 0           |
| Ssl_verify_mode                          | 0           |
| Ssl_version                              |             |
| Table_locks_immediate                    | 540916      |
| Table_locks_waited                       | 0           |
| Tc_log_max_pages_used                    | 0           |
| Tc_log_page_size                         | 0           |
| Tc_log_page_waits                        | 0           |
| Threads_cached                           | 0           |
| Threads_connected                        | 52          |
| Threads_created                          | 52          |
| Threads_running                          | 9           |
| Uptime                                   | 115         |
| Uptime_since_flush_status                | 115         |
+------------------------------------------+-------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment