Sunucu özelliklerim

intel q9300 8 gb ram centos 5 - vbulletin - xcache-vbseo kurulumu

günlük hit:80k
anlık:3500-1500

ani server load yükselmeleri oluyor sitenin hızını düşürmüyor ama 30-40 vuruyor tekrar düşüyor

my.cnf

[mysqld]
#skip-name-resolve
safe-show-database
#old_passwords
back_log = 50
max_connections = 1000
key_buffer_size = 384M
myisam_sort_buffer_size = 128M
join_buffer_size = 8M
read_buffer_size = 8M
sort_buffer_size = 8M
table_cache = 2048
thread_cache_size = 20
wait_timeout = 30
connect_timeout = 20
tmp_table_size = 256M
max_heap_table_size = 256M
max_allowed_packet = 64M
net_buffer_length = 16384
max_connect_errors = 100000
thread_concurrency = 8
concurrent_insert = 2
table_lock_wait_timeout = 30
read_rnd_buffer_size = 4M
bulk_insert_buffer_size = 16M
query_cache_limit = 8M
query_cache_size = 256M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM
max_write_lock_count = 16

[mysqld_safe]
nice = -10
open_files_limit = 8192

[mysqldump]
quick
httpd.conf
Include "/usr/local/apache/conf/includes/pre_main_global.conf"
Include "/usr/local/apache/conf/includes/pre_main_2.conf"

RLimitMEM 25550272853
RLimitCPU 140

KeepAlive On
MaxKeepAliveRequests 170
KeepAliveTimeout 4
UseCanonicalName Off
AccessFileName .htaccess
DefaultType text/plain
HostnameLookups Off
ErrorLog logs/error_log
ServerTokens Full
AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/usr/local/apache/manual$1"

LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
ForceLanguagePriority Prefer

Alias /icons/ /usr/local/apache/icons/


ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"


<IfModule prefork.c>
    StartServers 5
    MinSpareServers 10
    MaxSpareServers 25
    MaxClients 256
    MaxRequestsPerChild 0
mysql tuning çıktısı

MySQL Version 5.0.67-community i686

Uptime = 2 days 21 hrs 26 min 26 sec
Avg. qps = 56
Total Questions = 14041192
Threads Connected = 5

Server has been running for over 48hrs.
It should be safe to follow these recommendations

To find out more information on how each of these
runtime variables effects performance visit:
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html
Visit http://www.mysql.com/products/enterprise/advisors.html
for info about MySQL's Enterprise Monitoring and Advisory Service

SLOW QUERIES
The slow query log is NOT enabled.
Current long_query_time = 10 sec.
You have 234 out of 14041255 that take longer than 10 sec. to complete
Your long_query_time may be too high, I typically set this under 5 sec.

BINARY UPDATE LOG
The binary update log is NOT enabled.
You will not be able to do point in time recovery
See http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html

WORKER THREADS
Current thread_cache_size = 384
Current threads_cached = 175
Current threads_per_sec = 0
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 1000
Current threads_connected = 5
Historic max_used_connections = 180
The number of used connections is 18% of the configured maximum.
Your max_connections variable seems to be fine.

MEMORY USAGE
Max Memory Ever Allocated : 5 G
Configured Max Per-thread Buffers : 27 G
Configured Max Global Buffers : 650 M
Configured Max Memory Limit : 28 G
Physical Memory : 7.61 G

Max memory limit exceeds 90% of physical memory

KEY BUFFER
Current MyISAM index space = 111 M
Current key_buffer_size = 384 M
Key cache miss rate is 1 : 10416
Key buffer fill ratio = 21.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere

QUERY CACHE
Query cache is enabled
Current query_cache_size = 256 M
Current query_cache_used = 51 M
Current query_cache_limit = 8 M
Current Query cache Memory fill ratio = 20.19 %
Current query_cache_min_res_unit = 4 K
Your query_cache_size seems to be too high.
Perhaps you can use these resources elsewhere
MySQL won't cache query results that are larger than query_cache_limit in size

SORT OPERATIONS
Current sort_buffer_size = 8 M
Current read_rnd_buffer_size = 4 M
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 8.00 M
You have had 53 queries where a join could not use an index properly
join_buffer_size >= 4 M
This is not advised
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.

OPEN FILES LIMIT
Current open_files_limit = 17010 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine

TABLE CACHE
Current table_cache value = 8000 tables
You have a total of 385 tables
You have 1155 open tables.
The table_cache value seems to be fine

TEMP TABLES
Current max_heap_table_size = 256 M
Current tmp_table_size = 256 M
Of 89529 temp tables, 10% were created on disk
Created disk tmp tables ratio seems fine

TABLE SCANS
Current read_buffer_size = 8 M
Current table scan ratio = 356 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 87
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'