PDA

View Full Version : Server Optimization Request


wacnstac
Sat 14th Jan '06, 2:36am
1. Dedicated server
2.Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Pentium(R) 4 CPU 3.40GHz
Processor #1 speed: 3394.326 MHz
Processor #1 cache size: 1024 KB

Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Pentium(R) 4 CPU 3.40GHz
Processor #2 speed: 3394.326 MHz
Processor #2 cache size: 1024 KB
Memory: 3621284k/3668864k available (2189k kernel code, 47192k reserved, 745k data, 364k init, 2751360k highmem)
80G Hard Drive
Operating system Linux Service Status Click to View (http://www.michigan-sportsman.com:2082/frontend/x2/status.html) Kernel version 2.4.32 Machine Type i686 Apache version 1.3.33 (Unix) PERL version 5.6.1 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail Installed Perl Modules Click to View (http://www.michigan-sportsman.com:2082/frontend/x2/perlmodules.html) PHP version 4.3.10 MySQL version 4.0.22-standard cPanel Build 10.0.0-RELEASE 149
5. Top Stats:
 1:10am up 15 days, 16:06, 1 user, load average: 1.68, 1.64, 1.10
106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 3.0% user, 3.0% system, 1.0% nice, 92.0% idle
CPU1 states: 1.1% user, 8.0% system, 0.1% nice, 89.0% idle
Mem: 3621712K av, 3525240K used, 96472K free, 0K shrd, 40012K buff
Swap: 2097136K av, 892K used, 2096244K free 2833552K cached

 PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
20778 root 19 19 21884 21M 1860 D N 10.7 0.6 0:04 pkgacct
5 root 9 0 0 0 0 SW 1.9 0.0 3:37 kswapd
26899 nobody 9 0 12580 12M 4916 S 1.9 0.3 1:54 httpd
20644 nobody 9 0 8388 8388 4720 S 1.9 0.2 0:02 httpd
21089 root 10 0 1060 1060 820 R 1.9 0.0 0:00 top
1 root 8 0 476 476 416 S 0.0 0.0 0:14 init
2 root 8 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:02 ksoftirqd_CPU0
4 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
6 root 9 0 0 0 0 SW 0.0 0.0 2:22 bdflush
7 root 9 0 0 0 0 SW 0.0 0.0 3:38 kupdated
11 root -1 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd
91 root 9 0 0 0 0 SW 0.0 0.0 0:00 khubd
754 root 9 0 552 552 460 S 0.0 0.0 0:45 syslogd
759 root 9 0 456 456 388 S 0.0 0.0 0:00 klogd
872 nobody 8 0 2044 2044 1760 S 0.0 0.0 0:08 proftpd
891 root 9 0 1244 1244 1124 S 0.0 0.0 0:07 sshd
925 root 9 0 912 912 736 S 0.0 0.0 0:00 xinetd
961 root 8 0 2660 2660 1432 S 0.0 0.0 0:11 chkservd
1023 mailnull 8 0 1552 1552 1280 S 0.0 0.0 0:10 exim
1028 mailnull 9 0 1512 1512 1260 S 0.0 0.0 0:00 exim
1036 root 9 0 1344 1344 1092 S 0.0 0.0 1:17 antirelayd
1124 root 8 0 4448 4448 3984 S 0.0 0.1 1:53 httpd
1180 named 9 0 3608 3608 1952 S 0.0 0.0 0:00 named
1182 named 9 0 3608 3608 1952 S 0.0 0.0 0:06 named
1183 named 9 0 3608 3608 1952 S 0.0 0.0 0:43 named
1184 named 9 0 3608 3608 1952 S 0.0 0.0 0:43 named
1185 named 9 0 3608 3608 1952 S 0.0 0.0 0:01 named
1186 named 9 0 3608 3608 1952 S 0.0 0.0 0:24 named
1228 root 8 0 624 624 548 S 0.0 0.0 0:01 crond
1419 root 8 0 6800 6800 3596 S 0.0 0.1 0:29 cppop
1465 root 18 19 15012 14M 1656 S N 0.0 0.4 13:28 cpanellogd
1470 root 9 0 6676 6676 3484 S 0.0 0.1 0:06 cppop
1476 nobody 9 0 1904 1904 1248 S 0.0 0.0 0:00 entropychat
1481 nobody 9 0 588 588 356 S 0.0 0.0 0:00 melange
1531 cpanel 9 0 1404 1404 1188 S 0.0 0.0 0:00 stunnel-4.04loc
1619 root 8 0 8180 8180 4244 S 0.0 0.2 0:02 cpsrvd
1716 root 9 0 1172 1172 964 S 0.0 0.0 0:00 mysqld_safe
1750 mysql 9 0 50636 49M 2360 S 0.0 1.3 4:34 mysqld
1771 mailman 9 0 4404 3552 1684 S 0.0 0.0 0:00 mailmanctl
1791 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:04 python2
1792 mailman 9 0 4504 4504 1736 S 0.0 0.1 2:17 python2
1793 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:08 python2
1794 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:06 python2
1795 mailman 9 0 4532 4532 1736 S 0.0 0.1 2:04 python2
1796 mailman 9 0 4576 4576 1736 S 0.0 0.1 2:16 python2
1801 mailman 9 0 4492 4492 1736 S 0.0 0.1 2:10 python2
1802 mailman 9 0 4492 4492 1736 S 0.0 0.1 0:00 python2
1825 mysql 8 0 50636 49M 2360 S 0.0 1.3 4:03 mysqld
1826 mysql 9 0 50636 49M 2360 S 0.0 1.3 0:00 mysqld
1827 mysql 9 0 50636 49M 2360 S 0.0 1.3 0:00 mysqld
1829 root 9 0 700 696 596 S 0.0 0.0 0:00 portsentry
1846 root 9 0 380 380 320 S 0.0 0.0 0:00 mingetty
1847 root 9 0 380 380 320 S 0.0 0.0 0:00 mingetty
1848 root 9 0 380 380 320 S 0.0 0.0 0:00 mingetty
1849 root 9 0 380 380 320 S 0.0 0.0 0:00 mingetty
1851 mysql 9 0 50636 49M 2360 S 0.0 1.3 0:00 mysqld
1852 mysql 9 0 50636 49M 2360 S 0.0 1.3 0:00 mysqld
1856 root 9 0 376 376 320 S 0.0 0.0 0:00 mingetty
1857 root 9 0 376 376 320 S 0.0 0.0 0:00 mingetty
1887 mysql 9 0 50636 49M 2360 S 0.0 1.3 3:08 mysqld 1:10am up 15 days, 16:06, 1 user, load average: 1.71, 1.65, 1.11
108 processes: 105 sleeping, 3 running, 0 zombie, 0 stopped
CPU0 states: 15.0% user, 5.1% system, 2.4% nice, 79.2% idle
CPU1 states: 16.0% user, 4.2% system, 0.5% nice, 79.1% idle
Mem: 3621712K av, 3525372K used, 96340K free, 0K shrd, 42556K buff
Swap: 2097136K av, 892K used, 2096244K free 2830008K cached

 PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
20778 root 19 19 21884 21M 1860 R N 7.9 0.6 0:05 pkgacct
26943 nobody 16 0 13076 12M 4824 S 6.3 0.3 1:56 httpd
26925 nobody 9 0 35436 34M 4892 S 4.5 0.9 2:00 httpd
20634 nobody 9 0 8576 8576 4804 S 2.3 0.2 0:02 httpd
26881 nobody 9 0 12428 12M 4828 S 2.1 0.3 2:10 httpd
19168 nobody 9 0 8044 8044 4768 S 1.9 0.2 0:07 httpd
19170 nobody 9 0 10124 9.9M 4792 S 1.9 0.2 0:06 httpd
7 root 9 0 0 0 0 SW 1.3 0.0 3:38 kupdated
5 root 9 0 0 0 0 SW 0.5 0.0 3:37 kswapd
26908 nobody 9 0 11856 11M 4808 S 0.5 0.3 2:10 httpd
26915 nobody 9 0 12108 11M 4916 S 0.5 0.3 1:55 httpd
26889 nobody 10 0 11060 10M 4904 S 0.3 0.3 1:56 httpd
26903 nobody 9 0 12076 11M 4852 S 0.3 0.3 2:06 httpd
26934 nobody 9 0 17052 16M 4820 S 0.3 0.4 2:08 httpd
14566 nobody 9 0 11280 11M 4816 S 0.3 0.3 0:16 httpd
21089 root 11 0 1064 1064 824 R 0.3 0.0 0:00 top
21111 msports 17 0 1500 1500 1088 R 0.3 0.0 0:00 adsindiana.pl
26921 nobody 9 0 11676 11M 4848 S 0.1 0.3 1:48 httpd
26930 nobody 9 0 11368 11M 4832 S 0.1 0.3 1:56 httpd
26935 nobody 9 0 11452 11M 4856 S 0.1 0.3 1:54 httpd
1 root 8 0 476 476 416 S 0.0 0.0 0:14 init
2 root 8 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:02 ksoftirqd_CPU0
4 root 19 19 0 0 0 SWN 0.0 0.0 0:00 ksoftirqd_CPU1
6 root 9 0 0 0 0 SW 0.0 0.0 2:22 bdflush
11 root -1 -20 0 0 0 SW< 0.0 0.0 0:00 mdrecoveryd
91 root 9 0 0 0 0 SW 0.0 0.0 0:00 khubd
754 root 9 0 552 552 460 S 0.0 0.0 0:45 syslogd
759 root 9 0 456 456 388 S 0.0 0.0 0:00 klogd
872 nobody 8 0 2044 2044 1760 S 0.0 0.0 0:08 proftpd
891 root 9 0 1244 1244 1124 S 0.0 0.0 0:07 sshd
925 root 9 0 912 912 736 S 0.0 0.0 0:00 xinetd
961 root 8 0 2660 2660 1432 S 0.0 0.0 0:11 chkservd
1023 mailnull 9 0 1552 1552 1464 S 0.0 0.0 0:10 exim
1028 mailnull 9 0 1512 1512 1260 S 0.0 0.0 0:00 exim
1036 root 9 0 1344 1344 1092 S 0.0 0.0 1:17 antirelayd
1124 root 8 0 4448 4448 3984 S 0.0 0.1 1:53 httpd
1180 named 9 0 3608 3608 1952 S 0.0 0.0 0:00 named
1182 named 9 0 3608 3608 1952 S 0.0 0.0 0:06 named
1183 named 9 0 3608 3608 1952 S 0.0 0.0 0:43 named
1184 named 9 0 3608 3608 1952 S 0.0 0.0 0:43 named
1185 named 9 0 3608 3608 1952 S 0.0 0.0 0:01 named
1186 named 9 0 3608 3608 1952 S 0.0 0.0 0:24 named
1228 root 8 0 624 624 548 S 0.0 0.0 0:01 crond
1419 root 8 0 6800 6800 3596 S 0.0 0.1 0:29 cppop
1465 root 18 19 15012 14M 1656 S N 0.0 0.4 13:28 cpanellogd
1470 root 9 0 6676 6676 3484 S 0.0 0.1 0:06 cppop
1476 nobody 9 0 1904 1904 1248 S 0.0 0.0 0:00 entropychat
1481 nobody 9 0 588 588 356 S 0.0 0.0 0:00 melange
1531 cpanel 9 0 1404 1404 1188 S 0.0 0.0 0:00 stunnel-4.04loc
1619 root 8 0 8180 8180 4244 S 0.0 0.2 0:02 cpsrvd
1716 root 9 0 1172 1172 964 S 0.0 0.0 0:00 mysqld_safe
1750 mysql 9 0 50636 49M 2360 S 0.0 1.3 4:34 mysqld
1771 mailman 9 0 4404 3552 1684 S 0.0 0.0 0:00 mailmanctl
1791 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:04 python2
1792 mailman 9 0 4504 4504 1736 S 0.0 0.1 2:17 python2
1793 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:08 python2
1794 mailman 9 0 4496 4496 1736 S 0.0 0.1 2:06 python2
1795 mailman 9 0 4532 4532 1736 S 0.0 0.1 2:04 python2
1796 mailman 9 0 4576 4576 1736 S 0.0 0.1 2:16 python2
1801 mailman 9 0 4492 4492 1736 S 0.0 0.1 2:10 python2



6. Mysql config
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Variable_name | Value |
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| back_log | 50 |
| basedir | / |
| binlog_cache_size | 32768 |
| bulk_insert_buffer_size | 8388608 |
| character_set | latin1 |
| character_sets | latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5 |
| concurrent_insert | ON |
| connect_timeout | 5 |
| convert_character_set | |
| datadir | /var/lib/mysql/ |
| default_week_format | 0 |
| delay_key_write | ON |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| flush | OFF |
| flush_time | 0 |
| ft_boolean_syntax | + -><()~*:""&| |
| ft_min_word_len | 4 |
| ft_max_word_len | 254 |
| ft_max_word_len_for_sort | 20 |
| ft_stopword_file | (built-in) |
| have_bdb | NO |
| have_crypt | YES |
| have_innodb | YES |
| have_isam | YES |
| have_raid | NO |
| have_symlink | YES |
| have_openssl | NO |
| have_query_cache | YES |
| init_file | |
| innodb_additional_mem_pool_size | 1048576 |
| innodb_buffer_pool_size | 8388608 |
| innodb_data_file_path | ibdata1:10M:autoextend |
| innodb_data_home_dir | |
| innodb_file_io_threads | 4 |
| innodb_force_recovery | 0 |
| innodb_thread_concurrency | 8 |
| innodb_flush_log_at_trx_commit | 1 |
| innodb_fast_shutdown | ON |
| innodb_flush_method | |
| innodb_lock_wait_timeout | 50 |
| 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_mirrored_log_groups | 1 |
| innodb_max_dirty_pages_pct | 90 |
| innodb_max_purge_lag | 0 |
| innodb_table_locks | ON |
| interactive_timeout | 28800 |
| join_buffer_size | 131072 |
| key_buffer_size | 8388600 |
| language | /usr/share/mysql/english/ |
| large_files_support | ON |
| license | GPL |
| local_infile | ON |
| locked_in_memory | OFF |
| log | OFF |
| log_update | OFF |
| log_bin | OFF |
| log_slave_updates | OFF |
| log_slow_queries | 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_connections | 1000 |
| max_connect_errors | 10 |
| max_delayed_threads | 5 |
| max_insert_delayed_threads | 5 |
| max_heap_table_size | 16777216 |
| max_join_size | 4294967295 |
| max_relay_log_size | 0 |
| max_seeks_for_key | 4294967295 |
| max_sort_length | 1024 |
| max_user_connections | 0 |
| max_tmp_tables | 32 |
| max_write_lock_count | 4294967295 |
| myisam_max_extra_sort_file_size | 268435456 |
| myisam_max_sort_file_size | 2147483647 |
| myisam_repair_threads | 1 |
| myisam_recover_options | OFF |
| myisam_sort_buffer_size | 8388608 |
| net_buffer_length | 16384 |
| net_read_timeout | 30 |
| net_retry_count | 10 |
| net_write_timeout | 60 |
| new | OFF |
| open_files_limit | 10000 |
| pid_file | /var/lib/mysql/rock.greatlakesoutdoors.com.pid |
| log_error | |
| port | 3306 |
| protocol_version | 10 |
| query_alloc_block_size | 8192 |
| query_cache_limit | 1048576 |
| query_cache_size | 8388608 |
| query_cache_type | ON |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 131072 |
| read_only | OFF |
| read_rnd_buffer_size | 262144 |
| rpl_recovery_rank | 0 |
| server_id | 0 |
| slave_net_timeout | 3600 |
| skip_external_locking | ON |
| skip_networking | OFF |
| skip_show_database | OFF |
| slow_launch_time | 2 |
| socket | /var/lib/mysql/mysql.sock |
| sort_buffer_size | 2097144 |
| sql_mode | 0 |
| table_cache | 256 |
| table_type | MYISAM |
| thread_cache_size | 0 |
| thread_stack | 126976 |
| tx_isolation | REPEATABLE-READ |
| timezone | EST |
| tmp_table_size | 33554432 |
| tmpdir | /tmp/ |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| version | 4.0.22-standard |
| version_comment | Official MySQL RPM |
| version_compile_os | pc-linux |
| wait_timeout | 28800 |
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

7. mysql extended status:
+--------------------------+------------+
| Variable_name | Value |
+--------------------------+------------+
| Aborted_clients | 6 |
| Aborted_connects | 85 |
| Bytes_received | 725007614 |
| Bytes_sent | 3563744123 |
| Com_admin_commands | 0 |
| Com_alter_table | 349 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 2 |
| Com_change_db | 4346157 |
| Com_change_master | 0 |
| Com_check | 0 |
| Com_commit | 2 |
| Com_create_db | 11 |
| Com_create_function | 0 |
| Com_create_index | 38 |
| Com_create_table | 126 |
| Com_delete | 496233 |
| Com_delete_multi | 0 |
| Com_drop_db | 1 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 88 |
| Com_flush | 450 |
| Com_grant | 182 |
| Com_ha_close | 0 |
| Com_ha_open | 0 |
| Com_ha_read | 0 |
| Com_insert | 1600096 |
| Com_insert_select | 7536 |
| Com_kill | 0 |
| Com_load | 0 |
| Com_load_master_data | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 86998 |
| Com_optimize | 0 |
| Com_purge | 0 |
| Com_rename_table | 0 |
| Com_repair | 0 |
| Com_replace | 474804 |
| Com_replace_select | 16 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 17430993 |
| Com_set_option | 10811 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 4 |
| Com_show_create | 6263 |
| Com_show_databases | 305 |
| Com_show_fields | 6468 |
| Com_show_grants | 522 |
| Com_show_keys | 23 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_new_master | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 4514 |
| Com_show_slave_hosts | 0 |
| Com_show_slave_status | 0 |
| Com_show_status | 2703 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 6816 |
| Com_show_variables | 361 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 86998 |
| Com_update | 4968867 |
| Connections | 4044108 |
| Created_tmp_disk_tables | 25585 |
| Created_tmp_tables | 1087961 |
| Created_tmp_files | 36 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 821602 |
| Handler_read_first | 2471931 |
| Handler_read_key | 2440325000 |
| Handler_read_next | 3308458285 |
| Handler_read_prev | 15487473 |
| Handler_read_rnd | 580691297 |
| Handler_read_rnd_next | 4239032752 |
| Handler_rollback | 1 |
| Handler_update | 1906121419 |
| Handler_write | 2232387444 |
| Key_blocks_used | 7793 |
| Key_read_requests | 1396220400 |
| Key_reads | 17523527 |
| Key_write_requests | 31316663 |
| Key_writes | 6863933 |
| Max_used_connections | 126 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 256 |
| Open_files | 473 |
| Open_streams | 0 |
| Opened_tables | 54548 |
| Questions | 57298673 |
| Qcache_queries_in_cache | 820 |
| Qcache_inserts | 17119045 |
| Qcache_hits | 23717198 |
| Qcache_lowmem_prunes | 2979014 |
| Qcache_not_cached | 311935 |
| Qcache_free_memory | 2786032 |
| Qcache_free_blocks | 644 |
| Qcache_total_blocks | 2727 |
| Rpl_status | NULL |
| Select_full_join | 24264 |
| Select_full_range_join | 1047 |
| Select_range | 3411394 |
| Select_range_check | 0 |
| Select_scan | 3928735 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 5 |
| Slow_queries | 347 |
| Sort_merge_passes | 11 |
| Sort_range | 3776996 |
| Sort_rows | 600121122 |
| Sort_scan | 1616741 |
| Table_locks_immediate | 41155103 |
| Table_locks_waited | 40112 |
| Threads_cached | 0 |
| Threads_created | 4044107 |
| Threads_connected | 2 |
| Threads_running | 1 |
| Uptime | 1354423 |
+--------------------------+------------+

8. There are several scripts and other vb's running on this site
including two other vb forums, a couple of photopost gallerys and
the like, but no other is even close to the size of the forum
on www.michigan-sportsman.com

9. Cookie timeout = 900; Average concurrent users = 400

10. http://www.michigan-sportsman.com/phpinfo.php

11. Don't know where to find this

12. vb 3.5.3

13. Nope.


Seems like we run a little slower than we should given the resources
we have. Just want to run it by the professionals.

eva2000
Sat 14th Jan '06, 8:00am
You have the most buggy mysql 4.0.22 version so i'd definitely get that upgraded. PHP 4.3.10 also is a buggy version with known high load issues.


try the following suggestions

1. Upgrade MySQL server to 4.0.25
2. Remove Zend Optimiser from php.ini
3. Upgrade PHP to 4.4.1 if you use phpadsnew make sure to update to phpadsnew 2.0.7 to work with PHP 4.4.1
4. Edit /etc/my.cnf and place the following mysql server settings in /etc/my.cnf and restart mysql server afterwards


[mysqld]
safe-show-database
skip-innodb
max_connections = 650
key_buffer = 32M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1800
thread_cache_size = 384
wait_timeout = 120
connect_timeout = 10
tmp_table_size = 128M
max_allowed_packet = 64M
max_connect_errors = 10
thread_concurrency = 2
query_cache_limit = 2M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 16384
query_alloc_block_size = 16384

[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


5. Install APC Cache lastest version from http://pecl.php.net/package/APC. Read install guide at http://www.vbulletin.com/forum/showthread.php?t=165367

6. If you just upgraded to vB 3.5.x and have load issues after above changes try to disable these 4 options:

Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Display Logged in Users?

Admin CP -> vBulletin Options -> Forum Display Options (forumdisplay) -> Show Users Browsing Forums

Admin CP -> vBulletin Options -> Thread Display Options -> Show Users Browsing Thread

Admin CP -> vBulletin Options -> Message Searching Options -> Automatic Similar Thread search

wacnstac
Mon 23rd Jan '06, 11:43am
I see they upgraded me to PHP 4.3.10 which I assume is the latest. You guys said it is buggy and prone to high loads. What version should I use?

eva2000
Tue 24th Jan '06, 8:42am
PHP 4.3.10 = buggy

use PHP 4.4.2 now