Mickie D
Fri 12th Mar '04, 9:53pm
Hellos first of i have just moved to a dedicated server and had to learn for myself howto install everything :) but i think i may need your help to look if i have set it up ok.
1)
Dedicated Server
2)
SPECS:
CPU = celeron 2.4Ghz
RAM = 1gb
HD = 80GB 7200 IDE
REDHAT ENTERPRISE 3
APACHE 1.3.29
MYSQL 4.0.18
PHP 4.3.4
3)
i dont know what an innodb type databases/tables means ?
sorry
4)
i installed mysql from a RPM
5)
top stats
01:38:02 up 1:17, 1 user, load average: 0.00, 0.03, 0.04
115 processes: 112 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.3% 0.0% 0.0% 0.0% 0.0% 0.0% 99.6%
Mem: 1022476k av, 305336k used, 717140k free, 0k shrd, 19308k buff
136440k active, 123212k inactive
Swap: 1052248k av, 0k used, 1052248k free 197872k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
7045 root 15 0 1188 1188 900 R 0.1 0.1 0:02 0 top
7341 nobody 15 0 0 0 0 Z 0.1 0.0 0:00 0 httpd <defunct>
1 root 15 0 500 500 440 S 0.0 0.0 0:03 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
7 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand
8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
9 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
13 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
76 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 khubd
555 root 23 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
3012 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 eth0
6)
MYSQL my.cnf
[mysqld]
max_connections = 500
key_buffer = 16M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 64
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 32M
query_cache_type = 1
skip-innodb
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
please also note i copied your config from another optimization you done because my.cnf b4 this had just 2 lines in
7)
MYSQL Extended Status
+--------------------------+----------+
| Variable_name | Value |
+--------------------------+----------+
| Aborted_clients | 0 |
| Aborted_connects | 2 |
| Bytes_received | 767446 |
| Bytes_sent | 71837721 |
| Com_admin_commands | 0 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 234 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_commit | 0 |
| Com_create_db | 0 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 0 |
| Com_delete | 12 |
| 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 | 85 |
| Com_insert_select | 0 |
| Com_kill | 0 |
| Com_load | 0 |
| 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 | 13 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 1023 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 1 |
| Com_show_fields | 5 |
| Com_show_grants | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 0 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 2 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 0 |
| Com_show_variables | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 313 |
| Connections | 179 |
| Created_tmp_disk_tables | 11 |
| Created_tmp_tables | 117 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 49 |
| Handler_read_first | 170 |
| Handler_read_key | 56219 |
| Handler_read_next | 86401 |
| Handler_read_prev | 320 |
| Handler_read_rnd | 44665 |
| Handler_read_rnd_next | 525215 |
| Handler_rollback | 0 |
| Handler_update | 13082 |
| Handler_write | 17142 |
| Key_blocks_used | 1364 |
| Key_read_requests | 114162 |
| Key_reads | 1313 |
| Key_write_requests | 3598 |
| Key_writes | 134 |
| Max_used_connections | 1 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 69 |
| Open_files | 135 |
| Open_streams | 0 |
| Opened_tables | 80 |
| Questions | 2813 |
| Qcache_queries_in_cache | 184 |
| Qcache_inserts | 1020 |
| Qcache_hits | 950 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 3 |
| Qcache_free_memory | 30846840 |
| Qcache_free_blocks | 55 |
| Qcache_total_blocks | 508 |
| Rpl_status | NULL |
| Select_full_join | 10 |
| Select_full_range_join | 6 |
| Select_range | 227 |
| Select_range_check | 0 |
| Select_scan | 242 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 133 |
| Sort_rows | 110603 |
| Sort_scan | 149 |
| Table_locks_immediate | 2904 |
| Table_locks_waited | 1 |
| Threads_cached | 1 |
| Threads_created | 2 |
| Threads_connected | 1 |
| Threads_running | 1 |
| Uptime | 1391 |
+--------------------------+----------+
8)
yes vbulletin is the only thing on my server
well except qmail vpopmail
9)
users min is 12 max is 100 at different times of the day
10)
http://www.world-of-digital.com/info.php
11)
KeepAlive On
MaxKeepAliveRequests 115
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
12)
VB VERSION = VB3 RC4
thank you very much for taking the time to look at my server and tell me what can be done and hopefully help me out :(, the basic reason for conacting you is i had a problem and members could not get on my server for 2 hours because of server laod... i dont even know waht logs to check to see the server load so best i thought i ask you experts
Regards
Mickie
1)
Dedicated Server
2)
SPECS:
CPU = celeron 2.4Ghz
RAM = 1gb
HD = 80GB 7200 IDE
REDHAT ENTERPRISE 3
APACHE 1.3.29
MYSQL 4.0.18
PHP 4.3.4
3)
i dont know what an innodb type databases/tables means ?
sorry
4)
i installed mysql from a RPM
5)
top stats
01:38:02 up 1:17, 1 user, load average: 0.00, 0.03, 0.04
115 processes: 112 sleeping, 2 running, 1 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.3% 0.0% 0.0% 0.0% 0.0% 0.0% 99.6%
Mem: 1022476k av, 305336k used, 717140k free, 0k shrd, 19308k buff
136440k active, 123212k inactive
Swap: 1052248k av, 0k used, 1052248k free 197872k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
7045 root 15 0 1188 1188 900 R 0.1 0.1 0:02 0 top
7341 nobody 15 0 0 0 0 Z 0.1 0.0 0:00 0 httpd <defunct>
1 root 15 0 500 500 440 S 0.0 0.0 0:03 0 init
2 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kapmd
4 root 34 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd/0
7 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
5 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kswapd
6 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kscand
8 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kupdated
9 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 mdrecoveryd
13 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
76 root 25 0 0 0 0 SW 0.0 0.0 0:00 0 khubd
555 root 23 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
3012 root 15 0 0 0 0 SW 0.0 0.0 0:00 0 eth0
6)
MYSQL my.cnf
[mysqld]
max_connections = 500
key_buffer = 16M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 64
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 32M
query_cache_type = 1
skip-innodb
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
please also note i copied your config from another optimization you done because my.cnf b4 this had just 2 lines in
7)
MYSQL Extended Status
+--------------------------+----------+
| Variable_name | Value |
+--------------------------+----------+
| Aborted_clients | 0 |
| Aborted_connects | 2 |
| Bytes_received | 767446 |
| Bytes_sent | 71837721 |
| Com_admin_commands | 0 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 234 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_commit | 0 |
| Com_create_db | 0 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 0 |
| Com_delete | 12 |
| 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 | 85 |
| Com_insert_select | 0 |
| Com_kill | 0 |
| Com_load | 0 |
| 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 | 13 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 1023 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 1 |
| Com_show_fields | 5 |
| Com_show_grants | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 0 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 2 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 0 |
| Com_show_variables | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 313 |
| Connections | 179 |
| Created_tmp_disk_tables | 11 |
| Created_tmp_tables | 117 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 49 |
| Handler_read_first | 170 |
| Handler_read_key | 56219 |
| Handler_read_next | 86401 |
| Handler_read_prev | 320 |
| Handler_read_rnd | 44665 |
| Handler_read_rnd_next | 525215 |
| Handler_rollback | 0 |
| Handler_update | 13082 |
| Handler_write | 17142 |
| Key_blocks_used | 1364 |
| Key_read_requests | 114162 |
| Key_reads | 1313 |
| Key_write_requests | 3598 |
| Key_writes | 134 |
| Max_used_connections | 1 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 69 |
| Open_files | 135 |
| Open_streams | 0 |
| Opened_tables | 80 |
| Questions | 2813 |
| Qcache_queries_in_cache | 184 |
| Qcache_inserts | 1020 |
| Qcache_hits | 950 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 3 |
| Qcache_free_memory | 30846840 |
| Qcache_free_blocks | 55 |
| Qcache_total_blocks | 508 |
| Rpl_status | NULL |
| Select_full_join | 10 |
| Select_full_range_join | 6 |
| Select_range | 227 |
| Select_range_check | 0 |
| Select_scan | 242 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 0 |
| Sort_merge_passes | 0 |
| Sort_range | 133 |
| Sort_rows | 110603 |
| Sort_scan | 149 |
| Table_locks_immediate | 2904 |
| Table_locks_waited | 1 |
| Threads_cached | 1 |
| Threads_created | 2 |
| Threads_connected | 1 |
| Threads_running | 1 |
| Uptime | 1391 |
+--------------------------+----------+
8)
yes vbulletin is the only thing on my server
well except qmail vpopmail
9)
users min is 12 max is 100 at different times of the day
10)
http://www.world-of-digital.com/info.php
11)
KeepAlive On
MaxKeepAliveRequests 115
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
12)
VB VERSION = VB3 RC4
thank you very much for taking the time to look at my server and tell me what can be done and hopefully help me out :(, the basic reason for conacting you is i had a problem and members could not get on my server for 2 hours because of server laod... i dont even know waht logs to check to see the server load so best i thought i ask you experts
Regards
Mickie