danpeg
Wed 21st Jun '06, 7:03pm
Forum extremely slow. Any help would be appreciated.
1. VPS:
http://servint.com/vps/details.php#ult
2.
Intel Dual Xeon 3.06Ghz
8GB Registered ECC DDR RAM
73GB 15,000rpm U320 SCSI drives in Hardware RAID 10
Linux Apache v1.3.33
php 4.4.0
mysql 4.1.19-standard
3. I don't know.
4. I don't know
5.
16:38:17 up 7 days, 5:30, 1 user, load average: 2.71, 2.63, 2.62
78 processes: 77 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user 0.1% system 0.0% nice 99.0% iowait 0.0% idle
CPU1 states: 4.0% user 0.1% system 0.0% nice 94.0% iowait 0.0% idle
CPU2 states: 2.0% user 0.1% system 0.0% nice 96.0% iowait 0.0% idle
CPU3 states: 0.0% user 0.0% system 0.0% nice 100.0% iowait 0.0% idle
Mem: 8238816k av, 8227944k used, 10872k free, 0k shrd, 143648k buff
5695652k active, 918908k inactive
Swap: 8385888k av, 2515392k used, 5870496k free 2276820k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1 root 16 0 1308 448 1276 S 0.0 0.0 0:00 2 init
26184 root 15 0 1372 532 1320 S 0.0 0.0 0:00 0 syslogd
26218 nobody 16 0 4272 1452 3680 S 0.0 0.0 0:00 3 proftpd
26245 named 16 0 19912 2420 4676 S 0.0 0.0 0:00 1 named
26284 root 16 0 3668 1256 3396 S 0.0 0.0 0:00 0 sshd
26337 root 16 0 1976 744 1684 S 0.0 0.0 0:00 2 xinetd
30005 root 15 0 9356 2704 2628 S 0.0 0.0 0:00 0 chkservd
30130 mailnull 15 0 6640 1700 6008 S 0.0 0.0 0:00 0 exim
30139 mailnull 16 0 6604 1640 6008 S 0.0 0.0 0:00 2 exim
30160 root 15 0 2756 1312 2344 S 0.0 0.0 0:00 0 antirelayd
30629 root 15 0 24152 7092 3488 S 0.0 0.0 0:00 0 spamd
31781 root 16 0 24368 12M 3488 S 0.0 0.1 0:00 3 spamd
32103 root 18 0 11920 5620 10724 S 0.0 0.0 0:00 0 httpd
32114 root 15 0 1364 576 1316 S 0.0 0.0 0:00 0 crond
32757 root 34 19 16488 11M 4176 S N 0.0 0.1 0:00 0 cpanellogd
1366 root 16 0 9928 3088 7628 S 0.0 0.0 0:00 3 cppop
1389 nobody 18 0 3588 1304 2440 S 0.0 0.0 0:00 1 entropychat
1401 nobody 18 0 1516 352 1308 S 0.0 0.0 0:00 1 melange
1991 mailman 16 0 7320 2648 4448 S 0.0 0.0 0:00 1 mailmanctl
2012 mailman 16 0 7300 2704 4396 S 0.0 0.0 0:00 2 python
2013 mailman 16 0 7308 2760 4396 S 0.0 0.0 0:00 2 python
2014 mailman 16 0 7304 2556 4396 S 0.0 0.0 0:00 0 python
2015 mailman 16 0 7300 2644 4396 S 0.0 0.0 0:00 2 python
2017 mailman 16 0 7340 2652 4396 S 0.0 0.0 0:00 2 python
2018 mailman 16 0 7380 2836 4396 S 0.0 0.0 0:00 3 python
2021 mailman 15 0 7296 2532 4396 S 0.0 0.0 0:00 0 python
2022 mailman 15 0 7300 2488 4396 S 0.0 0.0 0:00 2 python
3125 root 16 0 1464 640 1400 S 0.0 0.0 0:00 2 portsentry
5363 postgres 15 0 7464 1468 6904 S 0.0 0.0 0:00 3 postmaster
6.
[mysqld]
skip-networking
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
set-variable = table_cache=256
set-variable = max_delayed_threads=5
set-variable = max_tmp_tables=32
set-variable = query_cache_type=1
set-variable = query_cache_size=4M
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
7. +---------------------------------+------------------------------------------+
| Variable_name | Value |
+---------------------------------+------------------------------------------+
| back_log | 50 |
| basedir | / |
| binlog_cache_size | 32768 |
| bulk_insert_buffer_size | 8388608 |
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
| collation_connection | latin1_swedish_ci |
| collation_database | latin1_swedish_ci |
| collation_server | latin1_swedish_ci |
| concurrent_insert | ON |
| connect_timeout | 5 |
| datadir | /var/lib/mysql/ |
| date_format | %Y-%m-%d |
| datetime_format | %Y-%m-%d %H:%i:%s |
| default_week_format | 0 |
| delay_key_write | ON |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| expire_logs_days | 0 |
| flush | OFF |
| flush_time | 0 |
| ft_boolean_syntax | + -><()~*:""&| |
| ft_max_word_len | 84 |
| ft_min_word_len | 4 |
| ft_query_expansion_limit | 20 |
| ft_stopword_file | (built-in) |
| group_concat_max_len | 1024 |
| have_archive | NO |
| have_bdb | NO |
| have_blackhole_engine | NO |
| have_compress | YES |
| have_crypt | YES |
| have_csv | NO |
| have_example_engine | NO |
| have_geometry | YES |
| have_innodb | YES |
| have_isam | NO |
| have_ndbcluster | NO |
| have_openssl | NO |
| have_query_cache | YES |
| have_raid | NO |
| have_rtree_keys | YES |
| have_symlink | YES |
| init_connect | |
| init_file | |
| init_slave | |
| innodb_additional_mem_pool_size | 1048576 |
| innodb_autoextend_increment | 8 |
| innodb_buffer_pool_awe_mem_mb | 0 |
| innodb_buffer_pool_size | 8388608 |
| innodb_data_file_path | ibdata1:10M:autoextend |
| innodb_data_home_dir | |
| innodb_fast_shutdown | ON |
| innodb_file_io_threads | 4 |
| innodb_file_per_table | OFF |
| innodb_flush_log_at_trx_commit | 1 |
| innodb_flush_method | |
| innodb_force_recovery | 0 |
| innodb_lock_wait_timeout | 50 |
| innodb_locks_unsafe_for_binlog | OFF |
| innodb_log_arch_dir | |
| innodb_log_archive | OFF |
| innodb_log_buffer_size | 1048576 |
| innodb_log_file_size | 5242880 |
| innodb_log_files_in_group | 2 |
| innodb_log_group_home_dir | ./ |
| innodb_max_dirty_pages_pct | 90 |
| innodb_max_purge_lag | 0 |
| innodb_mirrored_log_groups | 1 |
| innodb_open_files | 300 |
| innodb_table_locks | ON |
| innodb_thread_concurrency | 8 |
| interactive_timeout | 28800 |
| join_buffer_size | 131072 |
| key_buffer_size | 8388600 |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |
| language | /usr/share/mysql/english/ |
| large_files_support | ON |
| license | GPL |
| local_infile | ON |
| locked_in_memory | OFF |
| log | OFF |
| log_bin | OFF |
| log_error | |
| log_slave_updates | OFF |
| log_slow_queries | OFF |
| log_update | OFF |
| log_warnings | 1 |
| long_query_time | 10 |
| low_priority_updates | OFF |
| lower_case_file_system | OFF |
| lower_case_table_names | 0 |
| max_allowed_packet | 1048576 |
| max_binlog_cache_size | 4294967295 |
| max_binlog_size | 1073741824 |
| max_connect_errors | 10 |
| max_connections | 100 |
| max_delayed_threads | 5 |
| max_error_count | 64 |
| max_heap_table_size | 16777216 |
| max_insert_delayed_threads | 5 |
| max_join_size | 4294967295 |
| max_length_for_sort_data | 1024 |
| max_prepared_stmt_count | 16382 |
| max_relay_log_size | 0 |
| max_seeks_for_key | 4294967295 |
| max_sort_length | 1024 |
| max_tmp_tables | 32 |
| max_user_connections | 0 |
| max_write_lock_count | 4294967295 |
| myisam_data_pointer_size | 4 |
| myisam_max_extra_sort_file_size | 2147483648 |
| myisam_max_sort_file_size | 2147483647 |
| myisam_recover_options | OFF |
| myisam_repair_threads | 1 |
| myisam_sort_buffer_size | 8388608 |
| myisam_stats_method | nulls_unequal |
| net_buffer_length | 16384 |
| net_read_timeout | 30 |
| net_retry_count | 10 |
| net_write_timeout | 60 |
| new | OFF |
| old_passwords | OFF |
| open_files_limit | 10000 |
| pid_file | /var/lib/mysql/s1.investorsiraq.com.pid |
| port | 0 |
| preload_buffer_size | 32768 |
| prepared_stmt_count | 0 |
| protocol_version | 10 |
| query_alloc_block_size | 8192 |
| query_cache_limit | 1048576 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 4194304 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 131072 |
| read_only | OFF |
| read_rnd_buffer_size | 262144 |
| relay_log_purge | ON |
| relay_log_space_limit | 0 |
| rpl_recovery_rank | 0 |
| secure_auth | OFF |
| server_id | 0 |
| skip_external_locking | ON |
| skip_networking | ON |
| skip_show_database | OFF |
| slave_net_timeout | 3600 |
| slave_transaction_retries | 0 |
| slow_launch_time | 2 |
| socket | /var/lib/mysql/mysql.sock |
| sort_buffer_size | 2097144 |
| sql_mode | |
| sql_notes | ON |
| sql_warnings | ON |
| storage_engine | MyISAM |
| sync_binlog | 0 |
| sync_frm | ON |
| sync_replication | 0 |
| sync_replication_slave_id | 0 |
| sync_replication_timeout | 0 |
| system_time_zone | EDT |
| table_cache | 256 |
| table_type | MyISAM |
| thread_cache_size | 0 |
| thread_stack | 196608 |
| time_format | %H:%i:%s |
| time_zone | SYSTEM |
| tmp_table_size | 33554432 |
| tmpdir | |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| tx_isolation | REPEATABLE-READ |
| version | 4.1.19-standard |
| version_comment | MySQL Community Edition - Standard (GPL) |
| version_compile_machine | i686 |
| version_compile_os | pc-linux-gnu |
| wait_timeout | 28800 |
+---------------------------------+------------------------------------------+
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| Aborted_clients | 0 |
| Aborted_connects | 8 |
| Binlog_cache_disk_use | 0 |
| Binlog_cache_use | 0 |
| Bytes_received | 184699307 |
| Bytes_sent | 1065855158 |
| Com_admin_commands | 0 |
| Com_alter_db | 0 |
| Com_alter_table | 27 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 3 |
| Com_change_db | 84266 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_checksum | 0 |
| Com_commit | 3 |
| Com_create_db | 1 |
| Com_create_function | 0 |
| Com_create_index | 36 |
| Com_create_table | 19 |
| Com_dealloc_sql | 0 |
| Com_delete | 1358 |
| Com_delete_multi | 0 |
| Com_do | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_drop_user | 0 |
| Com_execute_sql | 0 |
| Com_flush | 3 |
| Com_grant | 19 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_help | 0 |
| Com_insert | 18844 |
| Com_insert_select | 47 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 650 |
| Com_optimize | 0 |
| Com_preload_keys | 0 |
| Com_prepare_sql | 0 |
| Com_purge | 0 |
| Com_purge_before_date | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 1992 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_revoke_all | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 210147 |
| Com_set_option | 189 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_charsets | 0 |
| Com_show_collations | 0 |
| Com_show_column_types | 0 |
| Com_show_create_db | 0 |
| Com_show_create_table | 0 |
| Com_show_databases | 1 |
| Com_show_errors | 0 |
| Com_show_fields | 0 |
| Com_show_grants | 0 |
| Com_show_innodb_status | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_ndb_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_privileges | 0 |
| Com_show_processlist | 164 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 4 |
| Com_show_storage_engines | 0 |
| Com_show_tables | 0 |
| Com_show_variables | 7 |
| Com_show_warnings | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_stmt_close | 0 |
| Com_stmt_execute | 0 |
| Com_stmt_prepare | 0 |
| Com_stmt_reset | 0 |
| Com_stmt_send_long_data | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 650 |
| Com_update | 34463 |
| Com_update_multi | 17 |
| Connections | 65288 |
| Created_tmp_disk_tables | 148 |
| Created_tmp_files | 26 |
| Created_tmp_tables | 8586 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 8653 |
| Handler_discover | 0 |
| Handler_read_first | 51012 |
| Handler_read_key | 8700084 |
| Handler_read_next | 5631966 |
| Handler_read_prev | 138355 |
| Handler_read_rnd | 511356 |
| Handler_read_rnd_next | 36814970 |
| Handler_rollback | 0 |
| Handler_update | 40121 |
| Handler_write | 1833773 |
| Key_blocks_not_flushed | 0 |
| Key_blocks_unused | 0 |
| Key_blocks_used | 7248 |
| Key_read_requests | 38066179 |
| Key_reads | 26371 |
| Key_write_requests | 29682 |
| Key_writes | 24194 |
| Max_used_connections | 85 |
| Not_flushed_delayed_rows | 0 |
| Open_files | 342 |
| Open_streams | 0 |
| Open_tables | 256 |
| Opened_tables | 588 |
| Qcache_free_blocks | 57 |
| Qcache_free_memory | 226712 |
| Qcache_hits | 216397 |
| Qcache_inserts | 208299 |
| Qcache_lowmem_prunes | 80517 |
| Qcache_not_cached | 1830 |
| Qcache_queries_in_cache | 182 |
| Qcache_total_blocks | 654 |
| Questions | 634580 |
| Rpl_status | NULL |
| Select_full_join | 359 |
| Select_full_range_join | 0 |
| Select_range | 63944 |
| Select_range_check | 0 |
| Select_scan | 39043 |
| Slave_open_temp_tables | 0 |
| Slave_retried_transactions | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 1 |
| Slow_queries | 296 |
| Sort_merge_passes | 11 |
| Sort_range | 34456 |
| Sort_rows | 5029120 |
| Sort_scan | 10886 |
| Table_locks_immediate | 526036 |
| Table_locks_waited | 3731 |
| Threads_cached | 0 |
| Threads_connected | 3 |
| Threads_created | 65287 |
| Threads_running | 1 |
| Uptime | 49021 |
+----------------------------+------------+
Uptime: 49021 Threads: 3 Questions: 634581 Slow queries: 296 Opens: 588 Flush tables: 1 Open t
ables: 256 Queries per second avg: 12.945
8. VB is the only significant resource user
9. Concurrent Average: 150, Max: 400
10. http://investorsiraq.com/phpinfo.php
12. 3.5.4
13. No giant files.
14.
Linux s1.investorsiraq.com 2.6.8-022stab070.9-enterprise #1 SMP Thu Apr 20 10:48:12 MSD 2006 i686 at
hlon i386 GNU/Linux
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 131072
virtual memory (kbytes, -v) unlimited
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3932.16
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3989.50
processor : 2
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3981.31
processor : 3
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3981.31
1. VPS:
http://servint.com/vps/details.php#ult
2.
Intel Dual Xeon 3.06Ghz
8GB Registered ECC DDR RAM
73GB 15,000rpm U320 SCSI drives in Hardware RAID 10
Linux Apache v1.3.33
php 4.4.0
mysql 4.1.19-standard
3. I don't know.
4. I don't know
5.
16:38:17 up 7 days, 5:30, 1 user, load average: 2.71, 2.63, 2.62
78 processes: 77 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user 0.1% system 0.0% nice 99.0% iowait 0.0% idle
CPU1 states: 4.0% user 0.1% system 0.0% nice 94.0% iowait 0.0% idle
CPU2 states: 2.0% user 0.1% system 0.0% nice 96.0% iowait 0.0% idle
CPU3 states: 0.0% user 0.0% system 0.0% nice 100.0% iowait 0.0% idle
Mem: 8238816k av, 8227944k used, 10872k free, 0k shrd, 143648k buff
5695652k active, 918908k inactive
Swap: 8385888k av, 2515392k used, 5870496k free 2276820k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1 root 16 0 1308 448 1276 S 0.0 0.0 0:00 2 init
26184 root 15 0 1372 532 1320 S 0.0 0.0 0:00 0 syslogd
26218 nobody 16 0 4272 1452 3680 S 0.0 0.0 0:00 3 proftpd
26245 named 16 0 19912 2420 4676 S 0.0 0.0 0:00 1 named
26284 root 16 0 3668 1256 3396 S 0.0 0.0 0:00 0 sshd
26337 root 16 0 1976 744 1684 S 0.0 0.0 0:00 2 xinetd
30005 root 15 0 9356 2704 2628 S 0.0 0.0 0:00 0 chkservd
30130 mailnull 15 0 6640 1700 6008 S 0.0 0.0 0:00 0 exim
30139 mailnull 16 0 6604 1640 6008 S 0.0 0.0 0:00 2 exim
30160 root 15 0 2756 1312 2344 S 0.0 0.0 0:00 0 antirelayd
30629 root 15 0 24152 7092 3488 S 0.0 0.0 0:00 0 spamd
31781 root 16 0 24368 12M 3488 S 0.0 0.1 0:00 3 spamd
32103 root 18 0 11920 5620 10724 S 0.0 0.0 0:00 0 httpd
32114 root 15 0 1364 576 1316 S 0.0 0.0 0:00 0 crond
32757 root 34 19 16488 11M 4176 S N 0.0 0.1 0:00 0 cpanellogd
1366 root 16 0 9928 3088 7628 S 0.0 0.0 0:00 3 cppop
1389 nobody 18 0 3588 1304 2440 S 0.0 0.0 0:00 1 entropychat
1401 nobody 18 0 1516 352 1308 S 0.0 0.0 0:00 1 melange
1991 mailman 16 0 7320 2648 4448 S 0.0 0.0 0:00 1 mailmanctl
2012 mailman 16 0 7300 2704 4396 S 0.0 0.0 0:00 2 python
2013 mailman 16 0 7308 2760 4396 S 0.0 0.0 0:00 2 python
2014 mailman 16 0 7304 2556 4396 S 0.0 0.0 0:00 0 python
2015 mailman 16 0 7300 2644 4396 S 0.0 0.0 0:00 2 python
2017 mailman 16 0 7340 2652 4396 S 0.0 0.0 0:00 2 python
2018 mailman 16 0 7380 2836 4396 S 0.0 0.0 0:00 3 python
2021 mailman 15 0 7296 2532 4396 S 0.0 0.0 0:00 0 python
2022 mailman 15 0 7300 2488 4396 S 0.0 0.0 0:00 2 python
3125 root 16 0 1464 640 1400 S 0.0 0.0 0:00 2 portsentry
5363 postgres 15 0 7464 1468 6904 S 0.0 0.0 0:00 3 postmaster
6.
[mysqld]
skip-networking
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
set-variable = table_cache=256
set-variable = max_delayed_threads=5
set-variable = max_tmp_tables=32
set-variable = query_cache_type=1
set-variable = query_cache_size=4M
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
7. +---------------------------------+------------------------------------------+
| Variable_name | Value |
+---------------------------------+------------------------------------------+
| back_log | 50 |
| basedir | / |
| binlog_cache_size | 32768 |
| bulk_insert_buffer_size | 8388608 |
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
| collation_connection | latin1_swedish_ci |
| collation_database | latin1_swedish_ci |
| collation_server | latin1_swedish_ci |
| concurrent_insert | ON |
| connect_timeout | 5 |
| datadir | /var/lib/mysql/ |
| date_format | %Y-%m-%d |
| datetime_format | %Y-%m-%d %H:%i:%s |
| default_week_format | 0 |
| delay_key_write | ON |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| expire_logs_days | 0 |
| flush | OFF |
| flush_time | 0 |
| ft_boolean_syntax | + -><()~*:""&| |
| ft_max_word_len | 84 |
| ft_min_word_len | 4 |
| ft_query_expansion_limit | 20 |
| ft_stopword_file | (built-in) |
| group_concat_max_len | 1024 |
| have_archive | NO |
| have_bdb | NO |
| have_blackhole_engine | NO |
| have_compress | YES |
| have_crypt | YES |
| have_csv | NO |
| have_example_engine | NO |
| have_geometry | YES |
| have_innodb | YES |
| have_isam | NO |
| have_ndbcluster | NO |
| have_openssl | NO |
| have_query_cache | YES |
| have_raid | NO |
| have_rtree_keys | YES |
| have_symlink | YES |
| init_connect | |
| init_file | |
| init_slave | |
| innodb_additional_mem_pool_size | 1048576 |
| innodb_autoextend_increment | 8 |
| innodb_buffer_pool_awe_mem_mb | 0 |
| innodb_buffer_pool_size | 8388608 |
| innodb_data_file_path | ibdata1:10M:autoextend |
| innodb_data_home_dir | |
| innodb_fast_shutdown | ON |
| innodb_file_io_threads | 4 |
| innodb_file_per_table | OFF |
| innodb_flush_log_at_trx_commit | 1 |
| innodb_flush_method | |
| innodb_force_recovery | 0 |
| innodb_lock_wait_timeout | 50 |
| innodb_locks_unsafe_for_binlog | OFF |
| innodb_log_arch_dir | |
| innodb_log_archive | OFF |
| innodb_log_buffer_size | 1048576 |
| innodb_log_file_size | 5242880 |
| innodb_log_files_in_group | 2 |
| innodb_log_group_home_dir | ./ |
| innodb_max_dirty_pages_pct | 90 |
| innodb_max_purge_lag | 0 |
| innodb_mirrored_log_groups | 1 |
| innodb_open_files | 300 |
| innodb_table_locks | ON |
| innodb_thread_concurrency | 8 |
| interactive_timeout | 28800 |
| join_buffer_size | 131072 |
| key_buffer_size | 8388600 |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |
| language | /usr/share/mysql/english/ |
| large_files_support | ON |
| license | GPL |
| local_infile | ON |
| locked_in_memory | OFF |
| log | OFF |
| log_bin | OFF |
| log_error | |
| log_slave_updates | OFF |
| log_slow_queries | OFF |
| log_update | OFF |
| log_warnings | 1 |
| long_query_time | 10 |
| low_priority_updates | OFF |
| lower_case_file_system | OFF |
| lower_case_table_names | 0 |
| max_allowed_packet | 1048576 |
| max_binlog_cache_size | 4294967295 |
| max_binlog_size | 1073741824 |
| max_connect_errors | 10 |
| max_connections | 100 |
| max_delayed_threads | 5 |
| max_error_count | 64 |
| max_heap_table_size | 16777216 |
| max_insert_delayed_threads | 5 |
| max_join_size | 4294967295 |
| max_length_for_sort_data | 1024 |
| max_prepared_stmt_count | 16382 |
| max_relay_log_size | 0 |
| max_seeks_for_key | 4294967295 |
| max_sort_length | 1024 |
| max_tmp_tables | 32 |
| max_user_connections | 0 |
| max_write_lock_count | 4294967295 |
| myisam_data_pointer_size | 4 |
| myisam_max_extra_sort_file_size | 2147483648 |
| myisam_max_sort_file_size | 2147483647 |
| myisam_recover_options | OFF |
| myisam_repair_threads | 1 |
| myisam_sort_buffer_size | 8388608 |
| myisam_stats_method | nulls_unequal |
| net_buffer_length | 16384 |
| net_read_timeout | 30 |
| net_retry_count | 10 |
| net_write_timeout | 60 |
| new | OFF |
| old_passwords | OFF |
| open_files_limit | 10000 |
| pid_file | /var/lib/mysql/s1.investorsiraq.com.pid |
| port | 0 |
| preload_buffer_size | 32768 |
| prepared_stmt_count | 0 |
| protocol_version | 10 |
| query_alloc_block_size | 8192 |
| query_cache_limit | 1048576 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 4194304 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 131072 |
| read_only | OFF |
| read_rnd_buffer_size | 262144 |
| relay_log_purge | ON |
| relay_log_space_limit | 0 |
| rpl_recovery_rank | 0 |
| secure_auth | OFF |
| server_id | 0 |
| skip_external_locking | ON |
| skip_networking | ON |
| skip_show_database | OFF |
| slave_net_timeout | 3600 |
| slave_transaction_retries | 0 |
| slow_launch_time | 2 |
| socket | /var/lib/mysql/mysql.sock |
| sort_buffer_size | 2097144 |
| sql_mode | |
| sql_notes | ON |
| sql_warnings | ON |
| storage_engine | MyISAM |
| sync_binlog | 0 |
| sync_frm | ON |
| sync_replication | 0 |
| sync_replication_slave_id | 0 |
| sync_replication_timeout | 0 |
| system_time_zone | EDT |
| table_cache | 256 |
| table_type | MyISAM |
| thread_cache_size | 0 |
| thread_stack | 196608 |
| time_format | %H:%i:%s |
| time_zone | SYSTEM |
| tmp_table_size | 33554432 |
| tmpdir | |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| tx_isolation | REPEATABLE-READ |
| version | 4.1.19-standard |
| version_comment | MySQL Community Edition - Standard (GPL) |
| version_compile_machine | i686 |
| version_compile_os | pc-linux-gnu |
| wait_timeout | 28800 |
+---------------------------------+------------------------------------------+
+----------------------------+------------+
| Variable_name | Value |
+----------------------------+------------+
| Aborted_clients | 0 |
| Aborted_connects | 8 |
| Binlog_cache_disk_use | 0 |
| Binlog_cache_use | 0 |
| Bytes_received | 184699307 |
| Bytes_sent | 1065855158 |
| Com_admin_commands | 0 |
| Com_alter_db | 0 |
| Com_alter_table | 27 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 3 |
| Com_change_db | 84266 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_checksum | 0 |
| Com_commit | 3 |
| Com_create_db | 1 |
| Com_create_function | 0 |
| Com_create_index | 36 |
| Com_create_table | 19 |
| Com_dealloc_sql | 0 |
| Com_delete | 1358 |
| Com_delete_multi | 0 |
| Com_do | 0 |
| Com_drop_db | 0 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 0 |
| Com_drop_user | 0 |
| Com_execute_sql | 0 |
| Com_flush | 3 |
| Com_grant | 19 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_help | 0 |
| Com_insert | 18844 |
| Com_insert_select | 47 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 650 |
| Com_optimize | 0 |
| Com_preload_keys | 0 |
| Com_prepare_sql | 0 |
| Com_purge | 0 |
| Com_purge_before_date | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 1992 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_revoke_all | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 210147 |
| Com_set_option | 189 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_charsets | 0 |
| Com_show_collations | 0 |
| Com_show_column_types | 0 |
| Com_show_create_db | 0 |
| Com_show_create_table | 0 |
| Com_show_databases | 1 |
| Com_show_errors | 0 |
| Com_show_fields | 0 |
| Com_show_grants | 0 |
| Com_show_innodb_status | 0 |
| Com_show_keys | 0 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_ndb_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_privileges | 0 |
| Com_show_processlist | 164 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 4 |
| Com_show_storage_engines | 0 |
| Com_show_tables | 0 |
| Com_show_variables | 7 |
| Com_show_warnings | 0 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_stmt_close | 0 |
| Com_stmt_execute | 0 |
| Com_stmt_prepare | 0 |
| Com_stmt_reset | 0 |
| Com_stmt_send_long_data | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 650 |
| Com_update | 34463 |
| Com_update_multi | 17 |
| Connections | 65288 |
| Created_tmp_disk_tables | 148 |
| Created_tmp_files | 26 |
| Created_tmp_tables | 8586 |
| Delayed_errors | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 8653 |
| Handler_discover | 0 |
| Handler_read_first | 51012 |
| Handler_read_key | 8700084 |
| Handler_read_next | 5631966 |
| Handler_read_prev | 138355 |
| Handler_read_rnd | 511356 |
| Handler_read_rnd_next | 36814970 |
| Handler_rollback | 0 |
| Handler_update | 40121 |
| Handler_write | 1833773 |
| Key_blocks_not_flushed | 0 |
| Key_blocks_unused | 0 |
| Key_blocks_used | 7248 |
| Key_read_requests | 38066179 |
| Key_reads | 26371 |
| Key_write_requests | 29682 |
| Key_writes | 24194 |
| Max_used_connections | 85 |
| Not_flushed_delayed_rows | 0 |
| Open_files | 342 |
| Open_streams | 0 |
| Open_tables | 256 |
| Opened_tables | 588 |
| Qcache_free_blocks | 57 |
| Qcache_free_memory | 226712 |
| Qcache_hits | 216397 |
| Qcache_inserts | 208299 |
| Qcache_lowmem_prunes | 80517 |
| Qcache_not_cached | 1830 |
| Qcache_queries_in_cache | 182 |
| Qcache_total_blocks | 654 |
| Questions | 634580 |
| Rpl_status | NULL |
| Select_full_join | 359 |
| Select_full_range_join | 0 |
| Select_range | 63944 |
| Select_range_check | 0 |
| Select_scan | 39043 |
| Slave_open_temp_tables | 0 |
| Slave_retried_transactions | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 1 |
| Slow_queries | 296 |
| Sort_merge_passes | 11 |
| Sort_range | 34456 |
| Sort_rows | 5029120 |
| Sort_scan | 10886 |
| Table_locks_immediate | 526036 |
| Table_locks_waited | 3731 |
| Threads_cached | 0 |
| Threads_connected | 3 |
| Threads_created | 65287 |
| Threads_running | 1 |
| Uptime | 49021 |
+----------------------------+------------+
Uptime: 49021 Threads: 3 Questions: 634581 Slow queries: 296 Opens: 588 Flush tables: 1 Open t
ables: 256 Queries per second avg: 12.945
8. VB is the only significant resource user
9. Concurrent Average: 150, Max: 400
10. http://investorsiraq.com/phpinfo.php
12. 3.5.4
13. No giant files.
14.
Linux s1.investorsiraq.com 2.6.8-022stab070.9-enterprise #1 SMP Thu Apr 20 10:48:12 MSD 2006 i686 at
hlon i386 GNU/Linux
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 131072
virtual memory (kbytes, -v) unlimited
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3932.16
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3989.50
processor : 2
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3981.31
processor : 3
vendor_id : AuthenticAMD
cpu family : 15
model : 33
model name : Dual Core AMD Opteron(tm) Processor 270
stepping : 2
cpu MHz : 1996.515
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mm
x fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 3981.31