Sparkiller
Thu 11th Mar '04, 3:58pm
1. dedicated
2. server specs:
cpu speed/type single or dual cpus): single 700MHz Pentium3
how much memory installed: 256 MB SDRAM
hard drive type/configuration: 10 GB IDE
linux distributor: Linux SuSE 8.2
apache: apache 1.3.27
PHP version: php 4.3.1
MySQL version: mysql 3.23.55
3. no mysql4
4. mysql was pre-installed
5. Top-Stats:
top - 20:51:00 up 1:00, 1 user, load average: 4.06, 2.50, 2.58
Tasks: 99 total, 1 running, 98 sleeping, 0 stopped, 0 zombie
Cpu(s): 40.3% user, 7.8% system, 0.0% nice, 51.9% idle
Mem: 255140k total, 250728k used, 4412k free, 916k buffers
Swap: 2097136k total, 11028k used, 2086108k free, 104592k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
4204 wwwrun 19 0 17916 17m 15m S 15.0 7.0 0:08.68 httpd
4166 wwwrun 19 0 17748 17m 15m S 8.5 7.0 0:06.76 httpd
4191 wwwrun 19 0 18148 17m 15m S 7.2 7.1 0:09.62 httpd
5145 root 16 0 1024 1024 792 R 5.2 0.4 0:01.04 top
5218 mysql 15 0 16024 11m 5428 D 2.0 4.7 0:00.06 mysqld
4164 root 15 0 1384 1380 1152 S 1.3 0.5 0:03.24 pipelog.pl
4181 wwwrun 15 0 17684 17m 15m S 1.3 6.9 0:05.56 httpd
5113 wwwrun 16 0 16388 16m 15m S 1.3 6.4 0:00.72 httpd
5 root 15 0 0 0 0 S 0.7 0.0 0:18.12 kswapd
4165 wwwrun 15 0 17788 17m 15m S 0.7 7.0 0:04.06 httpd
4187 wwwrun 15 0 17896 17m 15m S 0.7 7.0 0:07.38 httpd
5128 wwwrun 15 0 17212 16m 15m S 0.7 6.7 0:00.40 httpd
5159 mysql 15 0 16024 11m 5428 D 0.7 4.7 0:00.32 mysqld
5203 mysql 15 0 16024 11m 5428 D 0.7 4.7 0:00.18 mysqld
1 root 15 0 88 68 48 S 0.0 0.0 0:08.22 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration_CPU0
3 root 15 0 0 0 0 S 0.0 0.0 0:00.00 keventd
6. my.cnf
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
skip-networking
set-variable = max_connections=250
set-variable = interactive_timeout=120
set-variable = wait_timeout=120
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
#log-bin
server-id = 1
# 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
#set-variable = bdb_cache_size=4M
#set-variable = bdb_max_lock=10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1: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
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50
# The safe_mysqld script
[safe_mysqld]
err-log=/var/lib/mysql/mysqld.log
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[myisamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[mysqlhotcopy]
interactive-timeout
7. mysql extended-status
http://projektstarwars.de/mysqlinfo.php
8. Currently the only thing on the server
9. Average 40-50 user, maximum 100-110
10. http://www.projektstarwars.de/phpinfo.php
11.
Timeout 120
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 15
MinSpareServers 8
MaxSpareServers 32
StartServers 8
MaxClients 256
12. vbulletin 2.3.0
2. server specs:
cpu speed/type single or dual cpus): single 700MHz Pentium3
how much memory installed: 256 MB SDRAM
hard drive type/configuration: 10 GB IDE
linux distributor: Linux SuSE 8.2
apache: apache 1.3.27
PHP version: php 4.3.1
MySQL version: mysql 3.23.55
3. no mysql4
4. mysql was pre-installed
5. Top-Stats:
top - 20:51:00 up 1:00, 1 user, load average: 4.06, 2.50, 2.58
Tasks: 99 total, 1 running, 98 sleeping, 0 stopped, 0 zombie
Cpu(s): 40.3% user, 7.8% system, 0.0% nice, 51.9% idle
Mem: 255140k total, 250728k used, 4412k free, 916k buffers
Swap: 2097136k total, 11028k used, 2086108k free, 104592k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ Command
4204 wwwrun 19 0 17916 17m 15m S 15.0 7.0 0:08.68 httpd
4166 wwwrun 19 0 17748 17m 15m S 8.5 7.0 0:06.76 httpd
4191 wwwrun 19 0 18148 17m 15m S 7.2 7.1 0:09.62 httpd
5145 root 16 0 1024 1024 792 R 5.2 0.4 0:01.04 top
5218 mysql 15 0 16024 11m 5428 D 2.0 4.7 0:00.06 mysqld
4164 root 15 0 1384 1380 1152 S 1.3 0.5 0:03.24 pipelog.pl
4181 wwwrun 15 0 17684 17m 15m S 1.3 6.9 0:05.56 httpd
5113 wwwrun 16 0 16388 16m 15m S 1.3 6.4 0:00.72 httpd
5 root 15 0 0 0 0 S 0.7 0.0 0:18.12 kswapd
4165 wwwrun 15 0 17788 17m 15m S 0.7 7.0 0:04.06 httpd
4187 wwwrun 15 0 17896 17m 15m S 0.7 7.0 0:07.38 httpd
5128 wwwrun 15 0 17212 16m 15m S 0.7 6.7 0:00.40 httpd
5159 mysql 15 0 16024 11m 5428 D 0.7 4.7 0:00.32 mysqld
5203 mysql 15 0 16024 11m 5428 D 0.7 4.7 0:00.18 mysqld
1 root 15 0 88 68 48 S 0.0 0.0 0:08.22 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration_CPU0
3 root 15 0 0 0 0 S 0.0 0.0 0:00.00 keventd
6. my.cnf
# The MySQL server
[mysqld]
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
skip-networking
set-variable = max_connections=250
set-variable = interactive_timeout=120
set-variable = wait_timeout=120
set-variable = key_buffer=16M
set-variable = max_allowed_packet=1M
set-variable = table_cache=64
set-variable = sort_buffer=512K
set-variable = net_buffer_length=8K
set-variable = myisam_sort_buffer_size=8M
#log-bin
server-id = 1
# 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
#set-variable = bdb_cache_size=4M
#set-variable = bdb_max_lock=10000
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1: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
#set-variable = innodb_buffer_pool_size=16M
#set-variable = innodb_additional_mem_pool_size=2M
# Set .._log_file_size to 25 % of buffer pool size
#set-variable = innodb_log_file_size=5M
#set-variable = innodb_log_buffer_size=8M
#innodb_flush_log_at_trx_commit=1
#set-variable = innodb_lock_wait_timeout=50
# The safe_mysqld script
[safe_mysqld]
err-log=/var/lib/mysql/mysqld.log
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[myisamchk]
set-variable = key_buffer=20M
set-variable = sort_buffer=20M
set-variable = read_buffer=2M
set-variable = write_buffer=2M
[mysqlhotcopy]
interactive-timeout
7. mysql extended-status
http://projektstarwars.de/mysqlinfo.php
8. Currently the only thing on the server
9. Average 40-50 user, maximum 100-110
10. http://www.projektstarwars.de/phpinfo.php
11.
Timeout 120
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 15
MinSpareServers 8
MaxSpareServers 32
StartServers 8
MaxClients 256
12. vbulletin 2.3.0