Re: Server just hanging (More Information)
Over the weekend and again just now my server was hanging. The queries (mentioned in my first post) were causing the system to hang for that database. The Key Buffer Usage was only at 26MB out of 256 but the hitrate was maxed out at 100% according to MySQL administrator. (This is the same symptoms I exlained happen above.
This time just after the "FLUSH TABLES" (or while it was flushing) I outputted the status VARs. Next time I will try to output the status BEFORE flushing the tables!
Aborted_clients 80
Aborted_connects 0
Bytes_received 519476581
Bytes_sent 2438439221
Com_admin_commands 86
Com_alter_table 0
Com_analyze 0
Com_backup_table 0
Com_begin 63
Com_change_db 79439
Com_change_master 0
Com_check 0
Com_commit 60
Com_create_db 0
Com_create_function 0
Com_create_index 0
Com_create_table 0
Com_delete 2917
Com_delete_multi 0
Com_drop_db 0
Com_drop_function 0
Com_drop_index 0
Com_drop_table 0
Com_flush 1
Com_grant 0
Com_ha_close 0
Com_ha_open 0
Com_ha_read 0
Com_insert 16952
Com_insert_select 10
Com_kill 80
Com_load 5
Com_load_master_data 0
Com_load_master_table 0
Com_lock_tables 0
Com_optimize 0
Com_purge 0
Com_rename_table 0
Com_repair 0
Com_replace 19629
Com_replace_select 0
Com_reset 0
Com_restore_table 0
Com_revoke 0
Com_rollback 0
Com_savepoint 0
Com_select 230509
Com_set_option 2
Com_show_binlog_events 0
Com_show_binlogs 0
Com_show_create 8
Com_show_databases 7
Com_show_fields 69
Com_show_grants 0
Com_show_keys 10
Com_show_logs 0
Com_show_master_status 0
Com_show_new_master 0
Com_show_open_tables 0
Com_show_processlist 194
Com_show_slave_hosts 0
Com_show_slave_status 0
Com_show_status 155
Com_show_innodb_status 154
Com_show_tables 76
Com_show_variables 2
Com_slave_start 0
Com_slave_stop 0
Com_truncate 0
Com_unlock_tables 0
Com_update 140404
Com_update_multi 0
Connections 63938
Created_tmp_disk_tables 278
Created_tmp_tables 40582
Created_tmp_files 3
Delayed_insert_threads 0
Delayed_writes 0
Delayed_errors 0
Flush_commands 2
Handler_commit 0
Handler_delete 19806
Handler_read_first 64676
Handler_read_key 29679360
Handler_read_next 159621174
Handler_read_prev 15136
Handler_read_rnd 1770115
Handler_read_rnd_next 98928083
Handler_rollback 0
Handler_update 7568940
Handler_write 12404262
Key_blocks_used 24627
Key_read_requests 63963872
Key_reads 23959
Key_write_requests 123288
Key_writes 80365
Max_used_connections 198
Not_flushed_key_blocks 0
Not_flushed_delayed_rows 0
Open_tables 388
Open_files 542
Open_streams 0
Opened_tables 1987
Questions 3020019
Qcache_queries_in_cache 1297
Qcache_inserts 203083
Qcache_hits 2463919
Qcache_lowmem_prunes 0
Qcache_not_cached 27380
Qcache_free_memory 103036568
Qcache_free_blocks 1
Qcache_total_blocks 2737
Rpl_status NULL
Select_full_join 538
Select_full_range_join 2
Select_range 4728
Select_range_check 11
Select_scan 67072
Slave_open_temp_tables 0
Slave_running OFF
Slow_launch_threads 0
Slow_queries 594
Sort_merge_passes 0
Sort_range 19365
Sort_rows 2165736
Sort_scan 44006
Table_locks_immediate 1843755
Table_locks_waited 7553
Threads_cached 62
Threads_created 212
Threads_connected 116
Threads_running 54
Uptime 73811
I know enough to be dangerous. Thanks for being patient!
Subject
Views
Written By
Posted
27472
August 11, 2005 11:25AM
23614
August 12, 2005 09:07AM
18920
August 12, 2005 01:06PM
18398
August 22, 2005 09:46AM
16483
August 24, 2005 03:27PM
12945
August 24, 2005 04:05PM
13635
August 26, 2005 11:02AM
7410
August 26, 2005 11:05AM
6794
August 26, 2005 11:45AM
6572
August 26, 2005 05:46PM
6840
August 26, 2005 10:34PM
6441
August 25, 2005 01:08PM
5840
August 26, 2005 11:07AM
5644
August 27, 2005 09:09AM
Re: Server just hanging (More Information)
5963
August 29, 2005 11:50AM
5890
August 29, 2005 12:04PM
5249
August 29, 2005 12:55PM
5133
August 29, 2005 05:26PM
5107
August 29, 2005 06:34PM
4735
August 29, 2005 08:40PM
4621
August 29, 2005 08:47PM
4486
August 29, 2005 09:00PM
4686
August 30, 2005 10:05AM
4561
August 30, 2005 10:18AM
5077
August 30, 2005 10:20AM
6093
August 29, 2005 08:53PM
4953
August 29, 2005 09:50PM
4794
August 29, 2005 10:01PM
5229
August 30, 2005 08:53AM
4646
August 30, 2005 11:22AM
5187
August 30, 2005 11:33AM
4859
August 30, 2005 11:59AM
24320
August 31, 2005 02:32PM
6489
August 31, 2005 02:49PM
5173
August 31, 2005 02:56PM
5025
August 31, 2005 03:06PM
8262
December 07, 2006 10:30AM
4969
August 31, 2005 03:10PM
4838
August 31, 2005 03:32PM
17681
August 31, 2005 07:15PM
5080
September 01, 2005 03:05AM
7799
September 15, 2005 04:31PM
5520
September 01, 2005 04:39AM
4424
September 08, 2005 09:53AM
4781
September 08, 2005 11:25AM
4562
September 26, 2005 11:52AM
4474
September 26, 2005 12:13PM
4409
September 27, 2005 09:55AM
4186
September 27, 2005 10:18AM
4080
September 28, 2005 10:29AM
4228
September 28, 2005 10:34AM
4400
September 28, 2005 10:52AM
4866
September 28, 2005 10:58AM
9639
September 23, 2005 01:56AM
4927
September 23, 2005 07:11AM
4902
October 05, 2005 04:58AM
5104
October 05, 2005 04:52PM
6105
October 05, 2005 11:49PM
5373
October 06, 2005 01:34AM
6681
October 06, 2005 04:57PM
4617
December 13, 2005 10:28AM
4604
December 13, 2005 10:34AM
4509
November 17, 2005 09:39AM
4874
January 08, 2007 12:12PM
4746
December 12, 2005 02:13PM
4592
December 14, 2005 11:43PM
4186
December 15, 2005 08:37AM
4257
December 15, 2005 11:18AM
4171
December 15, 2005 11:27AM
4290
December 15, 2005 11:32AM
4042
December 15, 2005 11:43AM
3999
December 15, 2005 11:43AM
4172
December 15, 2005 11:48AM
4062
December 15, 2005 11:51AM
4457
December 15, 2005 02:14PM
4108
December 15, 2005 02:18PM
3976
December 15, 2005 02:27PM
4482
December 15, 2005 02:43PM
4024
December 15, 2005 08:46AM
5014
January 26, 2006 12:38PM
4135
January 26, 2006 01:48PM
4217
January 26, 2006 01:48PM
3998
January 26, 2006 01:52PM
4144
January 27, 2006 04:46PM
4018
January 29, 2006 11:21AM
4357
January 30, 2006 09:42AM
4390
February 27, 2006 02:17PM
4075
February 27, 2006 02:23PM
4306
March 05, 2006 04:56AM
4124
March 06, 2006 08:09AM
4092
April 05, 2006 01:03PM
4276
September 27, 2006 08:43AM
4229
November 19, 2006 04:42AM
4377
December 14, 2006 05:45PM
4197
February 01, 2007 04:40AM
4866
November 11, 2007 01:24PM
5073
December 20, 2007 10:40AM
6507
January 21, 2008 10:14AM
5848
January 21, 2008 10:53AM
5308
May 19, 2008 09:41AM
5518
February 05, 2008 10:27AM
6064
March 12, 2008 08:37AM
5382
May 19, 2008 03:02AM
6119
November 14, 2008 12:31AM
7132
March 06, 2009 03:36PM