mvigod
Tue 5th Feb '02, 8:08pm
Well...everything was running ok. I was on a 800Mhz server w/1GB RAM running PHP 4.06 and mysql 3.23.33.
I then had upgraded my hardware to a dual processor 1Ghz and 1.5GB RAM. Changed nothing else.
Now, about once a day my server becomes inaccesible. I can get to the other websites I have apache running (very little traffic on these) but not to vbulletin. All I have to do is stop and start mysql for it to come back. Usually I catch this 3-6 hours after it happens so we are down all the time and the 3500+ users are starting to get unruly.
Getting mysql error number 2003 emailed to me...link id can't connect to mydomain.com....
Here is my status output after restarting:
mysql Ver 11.12 Distrib 3.23.33, for pc-linux-gnu (i686)
Connection id: 3302
Current database:
Current user: root@localhost
Current pager: stdout
Using outfile: ''
Server version: 3.23.33-log
Protocol version: 10
Connection: Localhost via UNIX socket
Client characterset: latin1
Server characterset: latin1
UNIX socket: /var/lib/mysql/mysql.sock
Uptime: 36 min 17 sec
Threads: 2 Questions: 130002 Slow queries: 0 Opens: 74 Flush tables: 1 Open tables: 68 Queries per second avg: 59.716
--------------
Extended status output:
+--------------------------+-----------+
| Variable_name | Value |
+--------------------------+-----------+
| Aborted_clients | 0 |
| Aborted_connects | 63 |
| Bytes_received | 20112150 |
| Bytes_sent | 271574528 |
| Connections | 4783 |
| Created_tmp_disk_tables | 0 |
| Created_tmp_tables | 2717 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_delete | 433 |
| Handler_read_first | 3391 |
| Handler_read_key | 765284 |
| Handler_read_next | 7168080 |
| Handler_read_prev | 0 |
| Handler_read_rnd | 1040406 |
| Handler_read_rnd_next | 12474800 |
| Handler_update | 26490 |
| Handler_write | 325403 |
| Key_blocks_used | 2838 |
| Key_read_requests | 3630720 |
| Key_reads | 2822 |
| Key_write_requests | 4561 |
| Key_writes | 4213 |
| Max_used_connections | 14 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 69 |
| Open_files | 109 |
| Open_streams | 0 |
| Opened_tables | 75 |
| Questions | 138711 |
| Select_full_join | 4 |
| Select_full_range_join | 0 |
| Select_range | 37498 |
| Select_range_check | 0 |
| Select_scan | 23857 |
| Slave_running | OFF |
| Slave_open_temp_tables | 0 |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 31916 |
| Sort_rows | 1057533 |
| Sort_scan | 8879 |
| Table_locks_immediate | 147937 |
| Table_locks_waited | 79 |
| Threads_cached | 10 |
| Threads_created | 15 |
| Threads_connected | 5 |
| Threads_running | 1 |
| Uptime | 2305 |
+--------------------------+-----------+
I then had upgraded my hardware to a dual processor 1Ghz and 1.5GB RAM. Changed nothing else.
Now, about once a day my server becomes inaccesible. I can get to the other websites I have apache running (very little traffic on these) but not to vbulletin. All I have to do is stop and start mysql for it to come back. Usually I catch this 3-6 hours after it happens so we are down all the time and the 3500+ users are starting to get unruly.
Getting mysql error number 2003 emailed to me...link id can't connect to mydomain.com....
Here is my status output after restarting:
mysql Ver 11.12 Distrib 3.23.33, for pc-linux-gnu (i686)
Connection id: 3302
Current database:
Current user: root@localhost
Current pager: stdout
Using outfile: ''
Server version: 3.23.33-log
Protocol version: 10
Connection: Localhost via UNIX socket
Client characterset: latin1
Server characterset: latin1
UNIX socket: /var/lib/mysql/mysql.sock
Uptime: 36 min 17 sec
Threads: 2 Questions: 130002 Slow queries: 0 Opens: 74 Flush tables: 1 Open tables: 68 Queries per second avg: 59.716
--------------
Extended status output:
+--------------------------+-----------+
| Variable_name | Value |
+--------------------------+-----------+
| Aborted_clients | 0 |
| Aborted_connects | 63 |
| Bytes_received | 20112150 |
| Bytes_sent | 271574528 |
| Connections | 4783 |
| Created_tmp_disk_tables | 0 |
| Created_tmp_tables | 2717 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_delete | 433 |
| Handler_read_first | 3391 |
| Handler_read_key | 765284 |
| Handler_read_next | 7168080 |
| Handler_read_prev | 0 |
| Handler_read_rnd | 1040406 |
| Handler_read_rnd_next | 12474800 |
| Handler_update | 26490 |
| Handler_write | 325403 |
| Key_blocks_used | 2838 |
| Key_read_requests | 3630720 |
| Key_reads | 2822 |
| Key_write_requests | 4561 |
| Key_writes | 4213 |
| Max_used_connections | 14 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 69 |
| Open_files | 109 |
| Open_streams | 0 |
| Opened_tables | 75 |
| Questions | 138711 |
| Select_full_join | 4 |
| Select_full_range_join | 0 |
| Select_range | 37498 |
| Select_range_check | 0 |
| Select_scan | 23857 |
| Slave_running | OFF |
| Slave_open_temp_tables | 0 |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 31916 |
| Sort_rows | 1057533 |
| Sort_scan | 8879 |
| Table_locks_immediate | 147937 |
| Table_locks_waited | 79 |
| Threads_cached | 10 |
| Threads_created | 15 |
| Threads_connected | 5 |
| Threads_running | 1 |
| Uptime | 2305 |
+--------------------------+-----------+