Hallo,
habe einen Server von Strato mit openSuse 10.2, Apache 2.2, PhP 5.2.5, mySQL 5.0.26
Auf dem Server laufen 3 Domains (HP) + 1 Shoutcaststream + 1 Teamspeak
Userauslastung etwa 200 Clients am Forum, 180 af dem Stream, 50 im Teamspeak.
Seit gestern hat der Server etwa ab Mittags grosse Probleme, Seitenaufbau geht langsam, Stream und TS haben Aussetzer.
Ich häng mal Top (von heute morgen), Servertuning.conf und my.cnf dran.
MOD: Bilder immer als Anhang.
habe einen Server von Strato mit openSuse 10.2, Apache 2.2, PhP 5.2.5, mySQL 5.0.26
Auf dem Server laufen 3 Domains (HP) + 1 Shoutcaststream + 1 Teamspeak
Userauslastung etwa 200 Clients am Forum, 180 af dem Stream, 50 im Teamspeak.
Seit gestern hat der Server etwa ab Mittags grosse Probleme, Seitenaufbau geht langsam, Stream und TS haben Aussetzer.
Ich häng mal Top (von heute morgen), Servertuning.conf und my.cnf dran.
MOD: Bilder immer als Anhang.
# prefork MPM
<IfModule prefork.c>
# number of server processes to start
# mpm_common - Apache HTTP Server
StartServers 5
# minimum number of server processes which are kept spare
# prefork - Apache HTTP Server
MinSpareServers 10
# maximum number of server processes which are kept spare
# prefork - Apache HTTP Server
MaxSpareServers 15
# highest possible MaxClients setting for the lifetime of the Apache process.
# mpm_common - Apache HTTP Server
ServerLimit 1000
# maximum number of server processes allowed to start
# mpm_common - Apache HTTP Server
MaxClients 400
# maximum number of requests a server process serves
# mpm_common - Apache HTTP Server
MaxRequestsPerChild 1000
</IfModule>
KeepAlive On
MaxKeepAliveRequests 10
KeepAliveTimeout 2
#EnableMMAP off
#EnableSendfile off
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
# The following options will be passed to all MySQL clients
[client]
port = 3306
socket = /var/lib/mysql/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
set-variable=local-infile=0
port = 3306
socket = /var/lib/mysql/mysql.sock
skip-locking
key_buffer = 64M
sort_buffer_size = 60M
myisam_sort_buffer_size = 512K
net_buffer_length = 128K
max_allowed_packet = 2M
read_buffer_size = 128K
read_rnd_buffer_size = 128K
thread_stack = 128K
thread_cache_size = 256K
thread_concurrency = 8
max_connections = 400
table_cache = 4048
low_priority_updates = 1
concurrent_insert = 2
query_cache_limit = 4M
query_cache_size = 6M
#skip-networking
# log-bin=mysql-bin
server-id = 1
#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=mysql-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 = 4M
#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
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
# The safe_mysqld script
[safe_mysqld]
err-log=/var/lib/mysql/mysqld.log
[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 = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 20M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout
Attachments
Last edited by a moderator: