Well I hope you can help us optimise our servers for running http://www.alternativenation.net/ it's got to a fairly decent size and probably needs a bit of tweaking to get it running a bit faster. Cheers in advance.
Think these are all the details you need.
1.
Dedicated 2 servers one dealing with MySql
2.
cpu speed/type single or dual cpus): Dual Xeon 2.6GH
how much memory installed: 2GB ram
hard drive type/configuration: 3 x 36Gb SCSI
linux distributor or windows version: FreeBSD 4.11
apache/IIS version: apache 1.3.33
PHP version: php 4.3.11
MySQL version: mysql 4.0.24
Has other sites on it and runs apache
cpu speed/type single or dual cpus): Dual Xeon 3.0GHz
how much memory installed: 2Gb RAM
hard drive type/configuration: 3 x 73Gb SCSI
linux distributor or windows version: FreeBSD 5.4
apache/IIS version: apache 1.3.33
PHP version: php 4.3.11
MySQL version: mysql 4.0.26-log
This one deals with the mysql database and servers the images
3.
No innodb databases
4.
MySQL was compiled from ports, using libpthread, although is currently using libthr through the use of libmap.conf in FreeBSD it was built using the BUILD_OPTIMIZED flags, and innodb was disabled during the compile.
5.
Last pid: 5008; load averages: 0.08, 0.13,
0.15 up 53+09:34:27 17:30:02
230 processes: 1 running, 229 sleeping
Mem: 279M Active, 1459M Inact, 200M Wired, 56M Cache,
112M Buf, 8624K Free
Swap: 4096M Total, 1240K Used, 4095M Free
6.
back_log 50
basedir /usr/local/
bdb_cache_size 8388600
bdb_home /var/db/mysql/
bdb_log_buffer_size 921600
bdb_logdir
bdb_max_lock 10000
bdb_shared_data OFF
bdb_tmpdir /var/tmp/
bdb_version Sleepycat Software: Berkeley DB
3.2.9a: (September 3, 2005)
binlog_cache_size 32768
bulk_insert_buffer_size 8388608
character_set latin1
character_sets latin1 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 10
convert_character_set
datadir /var/db/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_max_word_len 254
ft_max_word_len_for_sort 20
ft_min_word_len 4
ft_stopword_file (built-in)
have_bdb YES
have_crypt YES
have_innodb NO
have_isam YES
have_openssl NO
have_query_cache YES
have_raid NO
have_symlink YES
init_file
interactive_timeout 28800
join_buffer_size 1044480
key_buffer_size 67108864
language /usr/local/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 ON
log_update OFF
log_warnings 1
long_query_time 3
low_priority_updates OFF
lower_case_file_system OFF
lower_case_table_names 0
max_allowed_packet 67107840
max_binlog_cache_size 4294967295
max_binlog_size 1073741824
max_connect_errors 30
max_connections 750
max_delayed_threads 20
max_heap_table_size 16777216
max_insert_delayed_threads 20
max_join_size 4294967295
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_max_extra_sort_file_size 268435456
myisam_max_sort_file_size 2147483647
myisam_recover_options OFF
myisam_repair_threads 1
myisam_sort_buffer_size 67108864
net_buffer_length 16384
net_read_timeout 30
net_retry_count 1000000
net_write_timeout 60
new OFF
open_files_limit 32768
pid_file
/var/db/mysql/phantom.dnsvision.com.pid Kernel & Server Optimization services. - srcds.com forums:: 2 posts - 1 author - Last post: Apr 11, 2008For customized solutions please email me for details. Windows Optimization of services (Disable Configuration of the param.h file for running 1000FPS servers. Post: #2. RE: Kernel & Server Optimization services. http://forums.srcds.com/viewtopic/6918HOME |
port 3306
protocol_version 10
query_alloc_block_size 16384
query_cache_limit 1048576
query_cache_size 33554432
query_cache_type ON
query_cache_wlock_invalidate OFF
query_prealloc_size 16384
range_alloc_block_size 2048
read_buffer_size 1044480
read_only OFF
read_rnd_buffer_size 262144
rpl_recovery_rank 0
server_id 0
skip_external_locking ON
skip_networking OFF
skip_show_database OFF
slave_net_timeout 3600
slow_launch_time 2
socket /tmp/mysql.sock
sort_buffer_size 2097144
sql_mode 0
table_cache 1800
table_type MYISAM
thread_cache_size 384
thread_stack 196608
timezone UTC
tmp_table_size 33554432
tmpdir /var/tmp/
transaction_alloc_block_size 8192
transaction_prealloc_size 4096
tx_isolation REPEATABLE-READ
version 4.0.26-log
version_comment FreeBSD port: mysql-server-4.0.26
version_compile_os portbld-freebsd5.4
wait_timeout 60
7.
Aborted_clients 1792
Aborted_connects 0
Bytes_received 12285516
Bytes_sent 723591149
Com_admin_commands 3940
Com_alter_table 0
Com_analyze 0
Com_backup_table 0
Com_begin 0
Com_change_db 5855
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 375
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 1612
Com_insert_select 23
Com_kill 0
Com_load 0
Com_load_master_data 0
Com_load_master_table 0
Com_lock_tables 2
Com_optimize 0
Com_purge 0
Com_rename_table 0
Com_repair 0
Com_replace 374
Com_replace_select 0
Com_reset 0
Com_restore_table 0
Com_revoke 0
Com_rollback 0
Com_savepoint 0
Com_select 15846
Com_set_option 7
Com_show_binlog_events 0
Com_show_binlogs 0
Com_show_create 0
Com_show_databases 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_new_master 0
Com_show_open_tables 0
Com_show_processlist 99
Com_show_slave_hosts 0
Com_show_slave_status 0
Com_show_status 100
Com_show_tables 0
Com_show_variables 4
Com_slave_start 0
Com_slave_stop 0
Com_truncate 0
Com_unlock_tables 2
Com_update 3235
Com_update_multi 0
Connections 1248
Created_tmp_disk_tables 111
Created_tmp_files 0
Created_tmp_tables 482
Delayed_errors 0
Delayed_insert_threads 0
Delayed_writes 0
Flush_commands 1
Handler_commit 0
Handler_delete 688
Handler_read_first 123
Handler_read_key 3809977
Handler_read_next 6397203
Handler_read_prev 21633
Handler_read_rnd 519790
Handler_read_rnd_next 18724623
Handler_rollback 0
Handler_update 12278
Handler_write 345790
Key_blocks_used 21941
Key_read_requests 15362986
Key_reads 21812
Key_write_requests 7486
Key_writes 3696
Max_used_connections 120
Not_flushed_delayed_rows 0
Not_flushed_key_blocks 0
Open_files 248
Open_streams 0
Open_tables 158
Opened_tables 164
Qcache_free_blocks 475
Qcache_free_memory 18273464
Qcache_hits 15963
Qcache_inserts 15746
Qcache_lowmem_prunes 0
Qcache_not_cached 101
Qcache_queries_in_cache 1619
Qcache_total_blocks 4013
Questions 43795
Rpl_status NULL
Select_full_join 50
Select_full_range_join 3
Select_range 5840
Select_range_check 0
Select_scan 2055
Slave_open_temp_tables 0
Slave_running OFF
Slow_launch_threads 0
Slow_queries 9
Sort_merge_passes 0
Sort_range 2761
Sort_rows 1061771
Sort_scan 635
Table_locks_immediate 40943
Table_locks_waited 55
Threads_cached 73
Threads_connected 48
Threads_created 121
Threads_running 1
Uptime 1541
8.
We have other vB sites on the apache server. All rather small and some other sites again not huge traffic. Would be happy to move them all to a seperate sever to be honest and leave the two just running this site.
9.
Avearage 100-150 Max about 200-250 at the moment.
10.
http://www.alternativenation.net/phpinfo.php
11.
KeepAlive On, MaxKeepAliveRequests 100, KeepAlive
Timeout 15, MinSpare 20, MaxSpare 30, StartServers 20,
MaxCLients 1000,
12.
3.5.1
13.
None
Excellent and thanks :)
my.cnf looks fine and stats look fine to me only a few minor changes
1. upgrade to PHP 4.4.2
2. remove PHPA and 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
3. upgrade to vB 3.5.3
4. change httpd.conf maxclients from 1000 to 256 and restart apache
Glad i could help :)
Where was the last debate on wednesday with Mccain and Obama?
INSTANCE / WAITING FOR SPRING
|