AllCdnBoy
Sun 9th Jan '05, 6:33pm
1. Dedicated Server
2.
- Duel Xeon 2.4
- 2 GB RAM
- 2 x 73 GB HD, IDE
- redhat enterprise w/ Ensim 3.7
- apache 2.0
- php 4.3.2 (in the process of upgrading to 4.3.10)
- mysql 4.0.18
3. innodb enabled
4. not sure where to find this - some help should maybe be posted in the sticky on what to include here
5. TOP:
23:10:34 up 79 days, 23:09, 2 users, load average: 4.49, 5.27, 4.29
267 processes: 264 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 22.5% 0.0% 2.7% 0.1% 0.3% 4.2% 69.9%
cpu00 25.0% 0.0% 3.7% 0.3% 0.5% 7.5% 62.6%
cpu01 16.0% 0.0% 2.1% 0.1% 0.1% 0.5% 80.7%
cpu02 27.0% 0.0% 2.5% 0.0% 0.1% 8.3% 61.8%
cpu03 21.8% 0.0% 2.3% 0.0% 0.3% 0.5% 74.7%
Mem: 2061552k av, 1880004k used, 181548k free, 0k shrd, 34372k buff
1207696k actv, 175388k in_d, 27032k in_c
Swap: 2048276k av, 82052k used, 1966224k free 868728k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
846 apache 15 0 16016 15M 5000 S 1.7 0.7 0:02 1 httpd
2748 apache 15 0 16284 15M 5096 S 1.2 0.7 0:01 2 httpd
3449 apache 15 0 15412 14M 5056 S 1.2 0.7 0:00 1 httpd
757 apache 15 0 15356 14M 5160 S 1.0 0.7 0:01 2 httpd
915 apache 15 0 18528 17M 5632 S 1.0 0.8 0:02 0 httpd
2752 apache 15 0 15100 14M 5180 S 0.8 0.7 0:01 2 httpd
2830 apache 15 0 15952 15M 5160 S 0.8 0.7 0:01 0 httpd
32310 apache 15 0 16216 15M 5244 S 0.7 0.7 0:03 0 httpd
32690 apache 16 0 16256 15M 5208 S 0.7 0.7 0:14 3 httpd
3700 apache 15 0 14800 14M 4992 S 0.7 0.7 0:00 3 httpd
2754 apache 15 0 14920 14M 4988 S 0.6 0.7 0:00 0 httpd
6.
[mysqld]
socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock
datadir=/var/lib/mysql
skip-locking
#skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=500
interactive_timeout=100
wait_timeout=14400
connect_timeout=10
thread_cache_size=128
key_buffer=150M
join_buffer=1M
max_allowed_packet=16M
table_cache=1500
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=4
myisam_sort_buffer_size=64M
log-bin
server-id=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqldump]
quick
max_allowed_packet = 16M
[safe_mysqld]
open_files_limit = 8192
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[client]
socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock
[myisamchk]
key_buffer = 16M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
7. sorry, but i just restarted mysql to enable innodb (but haven't changed any tables yet)
+--------------------------+------------+
| Variable_name | Value |
+--------------------------+------------+
| Aborted_clients | 0 |
| Aborted_connects | 1 |
| Bytes_received | 21874278 |
| Bytes_sent | 1425392373 |
| Com_admin_commands | 0 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 7611 |
| 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 | 210 |
| Com_delete_multi | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_flush | 0 |
| Com_grant | 0 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_insert | 3128 |
| Com_insert_select | 30 |
| 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 | 225 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 25283 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 2 |
| Com_show_databases | 3 |
| Com_show_fields | 4 |
| Com_show_grants | 0 |
| Com_show_keys | 1 |
| 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 | 3 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 104 |
| Com_show_variables | 6 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 9105 |
| Connections | 7283 |
| Created_tmp_disk_tables | 23 |
| Created_tmp_tables | 1360 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 358 |
| Handler_read_first | 3804 |
| Handler_read_key | 899205 |
| Handler_read_next | 713352 |
| Handler_read_prev | 10546 |
| Handler_read_rnd | 263783 |
| Handler_read_rnd_next | 4700865 |
| Handler_rollback | 0 |
| Handler_update | 11668 |
| Handler_write | 81775 |
| Key_blocks_used | 19217 |
| Key_read_requests | 2260870 |
| Key_reads | 19164 |
| Key_write_requests | 6310 |
| Key_writes | 5691 |
| Max_used_connections | 44 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 1033 |
| Open_files | 1756 |
| Open_streams | 0 |
| Opened_tables | 1039 |
| Questions | 83249 |
| Qcache_queries_in_cache | 2816 |
| Qcache_inserts | 25005 |
| Qcache_hits | 30256 |
| Qcache_lowmem_prunes | 786 |
| Qcache_not_cached | 278 |
| Qcache_free_memory | 5008184 |
| Qcache_free_blocks | 1221 |
| Qcache_total_blocks | 8091 |
| Rpl_status | NULL |
| Select_full_join | 6 |
| Select_full_range_join | 19 |
| Select_range | 4516 |
| Select_range_check | 0 |
| Select_scan | 4973 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 8 |
| Sort_merge_passes | 0 |
| Sort_range | 4408 |
| Sort_rows | 3123589 |
| Sort_scan | 2224 |
| Table_locks_immediate | 74671 |
| Table_locks_waited | 401 |
| Threads_cached | 42 |
| Threads_created | 45 |
| Threads_connected | 3 |
| Threads_running | 1 |
| Uptime | 1244 |
+--------------------------+------------+
8. there are about 40 sites - 30 of them are vB
9. avg. 500, max 800 or 900 concurrent users - 900 seconds
10. http://www.abnehmen.com/ip.php
11.
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
12.
vB.303 & 305
2.
- Duel Xeon 2.4
- 2 GB RAM
- 2 x 73 GB HD, IDE
- redhat enterprise w/ Ensim 3.7
- apache 2.0
- php 4.3.2 (in the process of upgrading to 4.3.10)
- mysql 4.0.18
3. innodb enabled
4. not sure where to find this - some help should maybe be posted in the sticky on what to include here
5. TOP:
23:10:34 up 79 days, 23:09, 2 users, load average: 4.49, 5.27, 4.29
267 processes: 264 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 22.5% 0.0% 2.7% 0.1% 0.3% 4.2% 69.9%
cpu00 25.0% 0.0% 3.7% 0.3% 0.5% 7.5% 62.6%
cpu01 16.0% 0.0% 2.1% 0.1% 0.1% 0.5% 80.7%
cpu02 27.0% 0.0% 2.5% 0.0% 0.1% 8.3% 61.8%
cpu03 21.8% 0.0% 2.3% 0.0% 0.3% 0.5% 74.7%
Mem: 2061552k av, 1880004k used, 181548k free, 0k shrd, 34372k buff
1207696k actv, 175388k in_d, 27032k in_c
Swap: 2048276k av, 82052k used, 1966224k free 868728k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
846 apache 15 0 16016 15M 5000 S 1.7 0.7 0:02 1 httpd
2748 apache 15 0 16284 15M 5096 S 1.2 0.7 0:01 2 httpd
3449 apache 15 0 15412 14M 5056 S 1.2 0.7 0:00 1 httpd
757 apache 15 0 15356 14M 5160 S 1.0 0.7 0:01 2 httpd
915 apache 15 0 18528 17M 5632 S 1.0 0.8 0:02 0 httpd
2752 apache 15 0 15100 14M 5180 S 0.8 0.7 0:01 2 httpd
2830 apache 15 0 15952 15M 5160 S 0.8 0.7 0:01 0 httpd
32310 apache 15 0 16216 15M 5244 S 0.7 0.7 0:03 0 httpd
32690 apache 16 0 16256 15M 5208 S 0.7 0.7 0:14 3 httpd
3700 apache 15 0 14800 14M 4992 S 0.7 0.7 0:00 3 httpd
2754 apache 15 0 14920 14M 4988 S 0.6 0.7 0:00 0 httpd
6.
[mysqld]
socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock
datadir=/var/lib/mysql
skip-locking
#skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=500
interactive_timeout=100
wait_timeout=14400
connect_timeout=10
thread_cache_size=128
key_buffer=150M
join_buffer=1M
max_allowed_packet=16M
table_cache=1500
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=4
myisam_sort_buffer_size=64M
log-bin
server-id=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqldump]
quick
max_allowed_packet = 16M
[safe_mysqld]
open_files_limit = 8192
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[client]
socket=/home/virtual/FILESYSTEMTEMPLATE/.mysqlsock/mysql.sock
[myisamchk]
key_buffer = 16M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
7. sorry, but i just restarted mysql to enable innodb (but haven't changed any tables yet)
+--------------------------+------------+
| Variable_name | Value |
+--------------------------+------------+
| Aborted_clients | 0 |
| Aborted_connects | 1 |
| Bytes_received | 21874278 |
| Bytes_sent | 1425392373 |
| Com_admin_commands | 0 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 7611 |
| 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 | 210 |
| Com_delete_multi | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_flush | 0 |
| Com_grant | 0 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_insert | 3128 |
| Com_insert_select | 30 |
| 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 | 225 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 25283 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 2 |
| Com_show_databases | 3 |
| Com_show_fields | 4 |
| Com_show_grants | 0 |
| Com_show_keys | 1 |
| 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 | 3 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 104 |
| Com_show_variables | 6 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 9105 |
| Connections | 7283 |
| Created_tmp_disk_tables | 23 |
| Created_tmp_tables | 1360 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 358 |
| Handler_read_first | 3804 |
| Handler_read_key | 899205 |
| Handler_read_next | 713352 |
| Handler_read_prev | 10546 |
| Handler_read_rnd | 263783 |
| Handler_read_rnd_next | 4700865 |
| Handler_rollback | 0 |
| Handler_update | 11668 |
| Handler_write | 81775 |
| Key_blocks_used | 19217 |
| Key_read_requests | 2260870 |
| Key_reads | 19164 |
| Key_write_requests | 6310 |
| Key_writes | 5691 |
| Max_used_connections | 44 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 1033 |
| Open_files | 1756 |
| Open_streams | 0 |
| Opened_tables | 1039 |
| Questions | 83249 |
| Qcache_queries_in_cache | 2816 |
| Qcache_inserts | 25005 |
| Qcache_hits | 30256 |
| Qcache_lowmem_prunes | 786 |
| Qcache_not_cached | 278 |
| Qcache_free_memory | 5008184 |
| Qcache_free_blocks | 1221 |
| Qcache_total_blocks | 8091 |
| Rpl_status | NULL |
| Select_full_join | 6 |
| Select_full_range_join | 19 |
| Select_range | 4516 |
| Select_range_check | 0 |
| Select_scan | 4973 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 8 |
| Sort_merge_passes | 0 |
| Sort_range | 4408 |
| Sort_rows | 3123589 |
| Sort_scan | 2224 |
| Table_locks_immediate | 74671 |
| Table_locks_waited | 401 |
| Threads_cached | 42 |
| Threads_created | 45 |
| Threads_connected | 3 |
| Threads_running | 1 |
| Uptime | 1244 |
+--------------------------+------------+
8. there are about 40 sites - 30 of them are vB
9. avg. 500, max 800 or 900 concurrent users - 900 seconds
10. http://www.abnehmen.com/ip.php
11.
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
12.
vB.303 & 305