habe folgendes problem
teilweise geht die server last auf load 30.0 hoch
was kann ich machen das es nicht wieder so hoch geht ?
hier die apache conf
mysql conf
da ich mich noch nicht all zulange damit beschäftige hoffe ich das mir jemand tips geben kann
meine seite hat 15k besucher am tag
danke euch für eure hilfe
teilweise geht die server last auf load 30.0 hoch
Code:
top - 21:16:46 up 2 days, 13:10, 2 users, load average: 0.60, 1.07, 1.36
Tasks: 99 total, 1 running, 98 sleeping, 0 stopped, 0 zombie
Cpu0 : 1.3%us, 1.3%sy, 0.0%ni, 94.7%id, 0.0%wa, 1.6%hi, 1.0%si, 0.0%st
Cpu1 : 1.6%us, 0.7%sy, 0.0%ni, 95.4%id, 0.0%wa, 1.6%hi, 0.7%si, 0.0%st
Cpu2 : 1.7%us, 1.0%sy, 0.0%ni, 95.7%id, 0.0%wa, 1.0%hi, 0.7%si, 0.0%st
Cpu3 : 0.3%us, 0.3%sy, 0.0%ni, 96.2%id, 0.0%wa, 1.7%hi, 1.4%si, 0.0%st
Mem: 3961576k total, 1162004k used, 2799572k free, 101772k buffers
Swap: 14565368k total, 4724k used, 14560644k free, 745932k cached
was kann ich machen das es nicht wieder so hoch geht ?
hier die apache conf
Code:
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 100
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 2
##
## Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 5
MaxSpareServers 10
MaxClients 100
MaxRequestsPerChild 4000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
StartServers 2
MaxClients 100
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 4000
</IfModule>
mysql conf
Code:
# * Fine Tuning
#
key_buffer = 52M
max_allowed_packet = 16M
sort_buffer_size = 2M
#read_rnd_buffer_size = 4M
thread_stack = 12M
thread_cache_size = 72
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
max_connections = 100
table_cache = 912
#thread_concurrency = 15
#
# * Query Cache Configuration
#
query_cache_limit = 4M
query_cache_size = 10M
#
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
#log = /var/log/mysql/mysql.log
#
# Error logging goes to syslog. This is a Debian improvement :)
#
# Here you can see queries with especially long duration
#log_slow_queries = /var/log/mysql/mysql-slow.log
long_query_time = 2
#log-queries-not-using-indexes
#
# The following can be used as easy to replay backup logs or for replication.
# note: if you are setting up a replication slave, see README.Debian about
# other settings you may need to change.
#server-id = 1
#log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name
#
# * BerkeleyDB
#
# Using BerkeleyDB is now discouraged as its support will cease in 5.1.12.
#skip-bdb
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
# You might want to disable InnoDB to shrink the mysqld process by circa 100MB.
skip-innodb
#
da ich mich noch nicht all zulange damit beschäftige hoffe ich das mir jemand tips geben kann
meine seite hat 15k besucher am tag
danke euch für eure hilfe