howardchui
Sat 25th Feb '06, 1:00pm
My master DB server's system processes are always using a lot of my cpu power. For example here's a line from top:
Cpu(s): 23.4% us, 49.3% sy, 0.0% ni, 21.1% id, 3.8% wa, 0.3% hi, 2.0% si
And here's ps:
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 3472 88 ? S 2005 1:44 init [3]
root 2 0.0 0.0 0 0 ? SW 2005 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SWN 2005 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? SW 2005 0:00 [migration/1]
root 5 0.0 0.0 0 0 ? SWN 2005 0:00 [ksoftirqd/1]
root 6 0.0 0.0 0 0 ? SW< 2005 0:30 [events/0]
root 7 0.0 0.0 0 0 ? SW< 2005 0:58 [events/1]
root 8 0.0 0.0 0 0 ? SW< 2005 0:00 [kblockd/0]
root 9 0.0 0.0 0 0 ? SW< 2005 0:00 [kblockd/1]
root 11 0.0 0.0 0 0 ? SW< 2005 0:00 [khelper]
root 10 0.0 0.0 0 0 ? SW 2005 0:00 [khubd]
root 16 0.0 0.0 0 0 ? SW< 2005 0:00 [aio/0]
root 14 0.0 0.0 0 0 ? SW 2005 15:32 [kswapd1]
root 15 0.0 0.0 0 0 ? SW 2005 9:18 [kswapd0]
root 17 0.0 0.0 0 0 ? SW< 2005 0:00 [aio/1]
root 116 0.0 0.0 0 0 ? SW 2005 0:00 [kseriod]
root 151 0.0 0.0 0 0 ? SW 2005 0:00 [scsi_eh_0]
root 164 0.0 0.0 0 0 ? SW 2005 0:08 [kjournald]
root 1102 0.0 0.0 0 0 ? SW 2005 0:00 [kjournald]
root 1103 0.0 0.0 0 0 ? SW 2005 5:33 [kjournald]
root 1104 0.0 0.0 0 0 ? SW 2005 72:51 [kjournald]
root 1590 0.0 0.0 3408 156 ? S 2005 1:03 syslogd -m 0
root 1594 0.0 0.0 2360 164 ? S 2005 0:32 klogd -x
rpc 1612 0.0 0.0 4444 4 ? S 2005 0:00 portmap
rpcuser 1631 0.0 0.0 4444 4 ? S 2005 0:00 rpc.statd
root 1656 0.0 0.0 3416 52 ? S 2005 1:02 rpc.idmapd
root 1759 0.0 0.0 2360 4 ? S 2005 0:00 /usr/sbin/acpid
root 1789 0.0 0.0 18104 32 ? S 2005 0:07 /usr/sbin/sshd
root 1802 0.0 0.0 7884 4 ? S 2005 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 1820 0.0 0.0 34092 640 ? S 2005 3:36 sendmail: accepting connections
smmsp 1829 0.0 0.0 26896 364 ? S 2005 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 1844 0.0 0.0 4500 140 ? S 2005 0:30 crond
daemon 1889 0.0 0.0 4484 160 ? S 2005 0:10 /usr/sbin/atd
root 1910 0.0 0.0 2408 144 ? S 2005 0:36 mdadm --monitor --scan
root 1925 0.0 0.0 2344 4 tty1 S 2005 0:00 /sbin/mingetty tty1
root 1926 0.0 0.0 2344 4 tty2 S 2005 0:00 /sbin/mingetty tty2
root 1927 0.0 0.0 2344 4 tty3 S 2005 0:00 /sbin/mingetty tty3
root 1928 0.0 0.0 2344 4 tty4 S 2005 0:00 /sbin/mingetty tty4
root 1929 0.0 0.0 2344 4 tty5 S 2005 0:00 /sbin/mingetty tty5
root 1930 0.0 0.0 2344 4 tty6 S 2005 0:00 /sbin/mingetty tty6
root 12468 0.0 0.0 44480 600 ? S Feb03 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/localhost.localdomain.pid
root 7166 0.0 0.0 37152 108 ? S Feb23 0:00 sshd: howard [priv]
howard 7254 0.0 0.0 37280 440 ? S Feb23 0:12 sshd: howard@pts/193
howard 7255 0.0 0.0 45912 724 pts/193 S Feb23 0:00 -bash
root 32144 0.0 0.0 0 0 ? SW 00:36 0:00 [pdflush]
root 32147 0.0 0.0 0 0 ? SW 00:36 0:00 [pdflush]
mysql 32163 0.0 15.0 3403440 610228 ? S 00:37 0:33 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/localhost.localdomain.
howard 32668 0.0 0.0 5236 780 pts/193 R 12:29 0:00 ps aux
It's a dual opteron with 4gb ram and 6 scsi drives raid 10. It only runs Mysql.
My question is why is the system utilization double the user?
Steve Machol
Sat 25th Feb '06, 3:17pm
Please see this thread for help with optimizing your server:
http://www.vbulletin.com/forum/showthread.php?threadid=70117
Then post the requested info.
howardchui
Sat 25th Feb '06, 5:05pm
1.
dedicated db server
2. your server specs. For example:
dual opteron 244
4gb
6 18gb 15k scsi drives Raid 10 (all on one partition)
fedora core 2
mysql 4.0.23 (There are problems when I try 4.0.24 or newer
3.
no innodb tables
4.
64bit Mysql RPM
5.
top - 15:23:16 up 332 days, 4:40, 2 users, load average: 4.82, 4.16, 4.31
Tasks: 51 total, 1 running, 50 sleeping, 0 stopped, 0 zombie
Cpu(s): 22.2% us, 47.8% sy, 0.0% ni, 27.8% id, 0.8% wa, 0.2% hi, 1.3% si
Mem: 4066960k total, 3543484k used, 523476k free, 52752k buffers
Swap: 1052216k total, 3672k used, 1048544k free, 2793320k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20993 howard 16 0 5936 952 5708 R 0.3 0.0 0:00.01 top
1 root 16 0 3472 88 3304 S 0.0 0.0 1:44.34 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.36 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.65 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.36 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.40 ksoftirqd/1
6 root 5 -10 0 0 0 S 0.0 0.0 0:30.18 events/0
7 root 5 -10 0 0 0 S 0.0 0.0 0:58.24 events/1
8 root 5 -10 0 0 0 S 0.0 0.0 0:00.06 kblockd/0
9 root 5 -10 0 0 0 S 0.0 0.0 0:00.05 kblockd/1
11 root 9 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
10 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
16 root 14 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
14 root 15 0 0 0 0 S 0.0 0.0 15:32.73 kswapd1
15 root 15 0 0 0 0 S 0.0 0.0 9:19.10 kswapd0
17 root 14 -10 0 0 0 S 0.0 0.0 0:00.00 aio/1
116 root 25 0 0 0 0 S 0.0 0.0 0:00.41 kseriod
6. your mysql configuration variables located at /etc/my.cnf or c:\my.cnf or my.ini so post the contents inside of my.cnf (minus any passwords of course).
# Example MySQL config file for very large systems.
#
# This is for a large system with memory of 1G-2G where the system runs mainly
# MySQL.
#
# You can copy this file to
# /etc/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is /var/lib/mysql) or
# ~/.my.cnf to set user-specific options.
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 2560M
max_allowed_packet = 1024M
table_cache = 512
sort_buffer_size = 1792M
read_buffer_size = 1792M
myisam_sort_buffer_size = 1024M
thread_cache = 8
query_cache_size = 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 8
max_connections = 1200
max_connect_errors = 10000
log_slow_queries=/var/log/slow-queries.log
long_query_time=2
ft_min_word_len=2
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (via the "enable-named-pipe" option) will render mysqld useless!
#
#skip-networking
# Replication Master Server (default)
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1
# Replication Slave (comment out master section to use this)
#
# To configure this host as a replication slave, you can choose between
# two methods :
#
# 1) Use the CHANGE MASTER TO command (fully described in our manual) -
# the syntax is:
#
# CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
# MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
#
# where you replace <host>, <user>, <password> by quoted strings and
# <port> by the master's port number (3306 by default).
#
# Example:
#
# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
# MASTER_USER='joe', MASTER_PASSWORD='secret';
#
# OR
#
# 2) Set the variables below. However, in case you choose this method, then
# start replication for the first time (even unsuccessfully, for example
# if you mistyped the password in master-password and the slave fails to
# connect), the slave will create a master.info file, and any later
# change in this file to the variables' values below will be ignored and
# overridden by the content of the master.info file, unless you shutdown
# the slave server, delete master.info and restart the slaver server.
# For that reason, you may want to leave the lines below untouched
# (commented) and instead use CHANGE MASTER TO (see above)
#
# required unique id between 2 and 2^32 - 1
# (and different from the master)
# defaults to 2 if master-host is set
# but will not function as a slave if omitted
#server-id = 2
#
# The replication master for this slave - required
#master-host = <hostname>
#
# The username the slave will use for authentication when connecting
# to the master - required
#master-user = <username>
#
# The password the slave will authenticate with when connecting to
# the master - required
#master-password = <password>
#
# The port the master is listening on.
# optional - defaults to 3306
#master-port = <port>
#
# binary logging - not required for slaves, but recommended
#log-bin
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
#log-update = /path-to-dedicated-directory/hostname
# Uncomment the following if you are using BDB tables
#bdb_cache_size = 384M
#bdb_max_lock = 100000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
#innodb_log_group_home_dir = /var/lib/mysql/
#innodb_log_arch_dir = /var/lib/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 384M
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 100M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 256M
sort_buffer_size = 256M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 2048M
sort_buffer_size = 1024M
read_buffer = 1024M
write_buffer = 1024M
[mysqlhotcopy]
interactive-timeout
7.
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 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 | 2 |
| 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 | 2684354560 |
| 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 | ON |
| log_slave_updates | OFF |
| log_slow_queries | ON |
| log_warnings | 1 |
| long_query_time | 2 |
| low_priority_updates | OFF |
| lower_case_file_system | OFF |
| lower_case_table_names | 0 |
| max_allowed_packet | 1073740800 |
| max_binlog_cache_size | 4294967295 |
| max_binlog_size | 1073741824 |
| max_connections | 1200 |
| max_connect_errors | 10000 |
| max_delayed_threads | 20 |
| max_insert_delayed_threads | 20 |
| max_heap_table_size | 16777216 |
| max_join_size | 18446744073709551615 |
| 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 | 9223372036854775807 |
| myisam_repair_threads | 1 |
| myisam_recover_options | OFF |
| myisam_sort_buffer_size | 1073741824 |
| net_buffer_length | 16384 |
| net_read_timeout | 30 |
| net_retry_count | 10 |
| net_write_timeout | 60 |
| new | OFF |
| open_files_limit | 6010 |
| pid_file | /var/lib/mysql/localhost.localdomain.pid |
| log_error | |
| port | 3306 |
| protocol_version | 10 |
| query_alloc_block_size | 8192 |
| query_cache_limit | 1048576 |
| query_cache_size | 33554432 |
| query_cache_type | ON |
| query_prealloc_size | 8192 |
| range_alloc_block_size | 2048 |
| read_buffer_size | 1879044096 |
| read_only | OFF |
| read_rnd_buffer_size | 262144 |
| rpl_recovery_rank | 0 |
| server_id | 1 |
| 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 | 1879048184 |
| sql_mode | 0 |
| table_cache | 512 |
| table_type | MYISAM |
| thread_cache_size | 8 |
| thread_stack | 196608 |
| tx_isolation | REPEATABLE-READ |
| timezone | EST |
| tmp_table_size | 33554432 |
| tmpdir | /tmp/ |
| transaction_alloc_block_size | 8192 |
| transaction_prealloc_size | 4096 |
| version | 4.0.23-standard-log |
| version_comment | Official MySQL RPM |
| version_compile_os | unknown-linux |
| wait_timeout | 28800 |
+---------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+--------------------------+------------+
| Variable_name | Value |
+--------------------------+------------+
| Aborted_clients | 0 |
| Aborted_connects | 266 |
| Bytes_received | 3196255980 |
| Bytes_sent | 4084235101 |
| Com_admin_commands | 1 |
| Com_alter_table | 0 |
| Com_analyze | 0 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 772977 |
| 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 | 12818 |
| 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 | 392094 |
| 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 | 4085 |
| Com_replace_select | 0 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_savepoint | 0 |
| Com_select | 2997358 |
| Com_set_option | 0 |
| Com_show_binlog_events | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 0 |
| Com_show_fields | 9 |
| 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 | 1 |
| Com_show_slave_status | 0 |
| Com_show_status | 1 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 0 |
| Com_show_variables | 2 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 0 |
| Com_update | 979535 |
| Connections | 706736 |
| Created_tmp_disk_tables | 2406 |
| Created_tmp_tables | 30996 |
| Created_tmp_files | 3 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_commit | 0 |
| Handler_delete | 70503 |
| Handler_read_first | 485283 |
| Handler_read_key | 530140077 |
| Handler_read_next | 436182261 |
| Handler_read_prev | 77263405 |
| Handler_read_rnd | 33372311 |
| Handler_read_rnd_next | 2012421374 |
| Handler_rollback | 0 |
| Handler_update | 1808203 |
| Handler_write | 701818 |
| Key_blocks_used | 304253 |
| Key_read_requests | 1668941593 |
| Key_reads | 299272 |
| Key_write_requests | 533850 |
| Key_writes | 558384 |
| Max_used_connections | 350 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 512 |
| Open_files | 531 |
| Open_streams | 0 |
| Opened_tables | 3258 |
| Questions | 9449727 |
| Qcache_queries_in_cache | 3679 |
| Qcache_inserts | 2950008 |
| Qcache_hits | 3584145 |
| Qcache_lowmem_prunes | 29244 |
| Qcache_not_cached | 47351 |
| Qcache_free_memory | 19999800 |
| Qcache_free_blocks | 1716 |
| Qcache_total_blocks | 9376 |
| Rpl_status | NULL |
| Select_full_join | 30 |
| Select_full_range_join | 0 |
| Select_range | 674857 |
| Select_range_check | 0 |
| Select_scan | 486421 |
| Slave_open_temp_tables | 0 |
| Slave_running | OFF |
| Slow_launch_threads | 0 |
| Slow_queries | 767 |
| Sort_merge_passes | 0 |
| Sort_range | 949309 |
| Sort_rows | 104735935 |
| Sort_scan | 32224 |
| Table_locks_immediate | 8968354 |
| Table_locks_waited | 391902 |
| Threads_cached | 2 |
| Threads_created | 52194 |
| Threads_connected | 20 |
| Threads_running | 11 |
| Uptime | 57048 |
+--------------------------+------------+
Uptime: 57048 Threads: 20 Questions: 9449732 Slow queries: 767 Opens: 3258 Flush tables: 1 Open tables: 512 Queries per second avg: 165.645
mysqladmin Ver 8.40 Distrib 4.0.21, for pc-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 4.0.23-standard-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 15 hours 50 min 48 sec
Threads: 20 Questions: 9449732 Slow queries: 767 Opens: 3258 Flush tables: 1 Open tables: 512 Queries per second avg: 165.645
8. is your vB the only thing on the server? or other scripts & sites which utilise php and mysql?
only thing
9. how many average and max concurrent users on your vB forum ? and what your cookie timeout is ?
average=5000
cookie time out=2700
12. what version of vB are you running ?
3.0.7 (with patches)
I wasn't really asking for a server optimization but if it helps figure out the high systems utilization what the heck :)
eva2000
Sun 26th Feb '06, 2:17am
Not sure about system usage in top, but an optimisation is needed as you set memory allocation way too high on my.cnf!
What probs when you upgrade to MySQL higher than 4.0.23 ? Tried 4.0.26 ?
Apache values for
KeepAlive
MaxKeepAliveRequests
KeepAliveTimeout
MinSpareServers
MaxSpareServers
StartServers
MaxClients
AND Maxrequestsperchild value =
?????
phpinfo.php url link ?
Can you please install mysqlreport as well from http://www.vbulletin.com/forum/showthread.php?t=175177 and post the output you get preferably before you try any of the below suggested changes.
1. Upgrade MySQL server to 4.0.26
2. Edit /etc/my.cnf and place the following mysql server settings in /etc/my.cnf and restart mysql server afterwards
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
safe-show-database
skip-innodb
max_connections = 800
key_buffer = 192M
myisam_sort_buffer_size = 128M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1800
thread_cache_size = 512
wait_timeout = 90
connect_timeout = 10
tmp_table_size = 512M
max_heap_table_size = 512M
max_allowed_packet = 64M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
thread_concurrency = 4
query_cache_limit = 8M
query_cache_size = 192M
query_cache_type = 1
query_prealloc_size = 65536
query_alloc_block_size = 32768
long_query_time=2
ft_min_word_len=2
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
ft_min_word_len=2
key_buffer = 384M
sort_buffer = 384M
read_buffer = 256M
write_buffer = 256M
[mysqlhotcopy]
interactive-timeout
3. Upgrade to vB 3.0.13 http://www.vbulletin.com/forum/showthread.php?t=176176
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.