arkadaşlar vps ye geçtim daha yeni.. ve serverda bir cpu problemi olduğunu bir kaç arkadaşımla birlikte düşünmekteyiz ..
sistemim wordpress , script teması tamamen optimizedir. gereksiz hiç birşey yoktur. super cache de kuruludur. sql den konu adı , içeriği , etiketi geliyor. arşivler yıllık geliyor.
eklenti olarak all in seo var . sitemap var ki bu sadece sitemap oluştur dersem çalışıyor , contact form var kullanılmıyor bile neredeyse .
günlük 3k-4k hit cpu oranı %14-35 (%49a kadar çıktı) arası değişmektedir. ram ise %10-15 civarlarındadır.
bazı hostgatora geçenler %15-20 cpu kullanımım vardı buraya geçtim %2-3 anca kullanıyor diyenleri çok gördüm , ve araştırdım serverın cpu su optimize edilebiliyormuş.
nasıl yapılmalıdır , neler yapılmalıdır cpu problemi için kaynak ve bilgi verirseniz bunu sunucu sahibime bildireceğim..
İşlemci : Q6600 4 Çekirdek İşlemci
Ram : 512 MB
HDD: 30 GB
Trafik : 300 GB
Lokasyon : Tr/Profilo
İşletim Sistemi : CENTOS 5.4 i686 vmware
Kontrol Paneli : Cpanel/WHM
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -
MySQL Version 5.0.85-community i686
Uptime = 0 days 19 hrs 31 min 12 sec
Avg. qps = 19
Total Questions = 1398278
Threads Connected = 2
Warning: Server has not been running for at least 48hrs.
It may not be safe to use 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 0 out of 1398299 that take longer than 10 sec. to complete
Your long_query_time seems to be fine
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 = 0
Current threads_cached = 0
Current threads_per_sec = 1
Historic threads_per_sec = 1
Your thread_cache_size is fine
MAX CONNECTIONS
Current max_connections = 100
Current threads_connected = 2
Historic max_used_connections = 15
The number of used connections is 15% of the configured maximum.
Your max_connections variable seems to be fine.
No InnoDB Support Enabled!
MEMORY USAGE
Max Memory Ever Allocated : 58 M
Configured Max Per-thread Buffers : 268 M
Configured Max Global Buffers : 17 M
Configured Max Memory Limit : 286 M
Physical Memory : 503 M
Max memory limit seem to be within acceptable norms
KEY BUFFER
Current MyISAM index space = 807 K
Current key_buffer_size = 7 M
Key cache miss rate is 1 : 3790
Key buffer free ratio = 82 %
Your key_buffer_size seems to be fine
QUERY CACHE
Query cache is supported but not enabled
Perhaps you should set the query_cache_size
SORT OPERATIONS
Current sort_buffer_size = 2 M
Current read_rnd_buffer_size = 256 K
Sort buffer seems to be fine
JOINS
Current join_buffer_size = 132.00 K
You have had 0 queries where a join could not use an index properly
Your joins seem to be using indexes properly
OPEN FILES LIMIT
Current open_files_limit = 1024 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 = 64 tables
You have a total of 63 tables
You have 64 open tables.
Current table_cache hit rate is 27%
, while 100% of your table cache is in use
You should probably increase your table_cache
TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 211168 temp tables, 28% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.
TABLE SCANS
Current read_buffer_size = 128 K
Current table scan ratio = 29 : 1
read_buffer_size seems to be fine
TABLE LOCKING
Current Lock Wait ratio = 1 : 105403
Your table locking seems to be fine