Öncelikle Cevap verdiğin için Çok Teşekkür ederim...
dediğin gibi mod_rewrite modülü yüklü gözüküyor...
root@sunucu1 [~]# httpd -M |grep rewrite
rewrite_module (static)
Syntax OK
mysqltuner.pl dosyasınıda çalıştırdığımdaki ekran görüntüsü bu, bu çıktıya göre ne yapmam gerekiyor..?
root@sunucu1 [/]# ./mysqltuner.pl
>> MySQLTuner 1.3.0 - Major Hayden <major@mhtx.net>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.36-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 1G (Tables: 1767)
[--] Data in InnoDB tables: 2M (Tables: 133)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[!!] Total fragmented tables: 145
-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 18h 37m 54s (7M q [113.996 qps], 90K conn, TX: 27B, RX: 1B)
[--] Reads / Writes: 98% / 2%
[--] Total buffers: 168.0M global + 2.8M per thread (151 max threads)
[OK] Maximum possible memory usage: 583.2M (15% of installed RAM)
[OK] Slow queries: 0% (0/7M)
[OK] Highest usage of available connections: 34% (52/151)
[OK] Key buffer size / total MyISAM indexes: 8.0M/127.4M
[OK] Key buffer hit rate: 98.7% (156M cached / 2M reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (1K temp sorts / 3M sorts)
[!!] Joins performed without indexes: 1069
[!!] Temporary tables created on disk: 42% (1M on disk / 2M total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 0% (400 open / 160K opened)
[OK] Open file limit used: 1% (791/50K)
[OK] Table locks acquired immediately: 99% (10M immediate / 10M locks)
[OK] InnoDB buffer pool / data size: 128.0M/2.1M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Adjust your join queries to always utilize indexes
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries without LIMIT clauses
Set thread_cache_size to 4 as a starting value
Increase table_cache gradually to avoid file descriptor limits
Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C
Variables to adjust:
query_cache_size (>= 8M)
join_buffer_size (> 128.0K, or always use indexes with joins)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)
table_cache (> 400)
birde top komutu sonuçlarınıda gönderiyim
top - 10:02:22 up 18:53, 1 user, load average: 0.62, 0.53, 0.48
Tasks: 172 total, 2 running, 167 sleeping, 0 stopped, 3 zombie
Cpu(s): 13.8%us, 5.4%sy, 0.0%ni, 80.7%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3924372k total, 3503880k used, 420492k free, 378344k buffers
Swap: 4194296k total, 23792k used, 4170504k free, 2427404k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5485 mysql 20 0 2343m 205m 5256 S 31.9 5.4 69:19.75 mysqld
2550 root 20 0 81404 16m 1512 S 0.3 0.4 0:18.55 tailwatchd
19371 root 20 0 102m 4376 3368 S 0.3 0.1 0:00.17 sshd
21248 nobody 20 0 72300 6436 1876 S 0.3 0.2 0:00.01 httpd
21543 eiki1544 20 0 215m 38m 7060 S 0.3 1.0 0:00.30 php
21555 root 20 0 15036 1288 944 R 0.3 0.0 0:00.04 top
21572 ikin5454 20 0 188m 11m 5828 R 0.3 0.3 0:00.01 php
1 root 20 0 19356 1196 912 S 0.0 0.0 0:04.23 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:01.42 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.58 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.09 watchdog/0
7 root RT 0 0 0 0 S 0.0 0.0 0:00.45 migration/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 0:02.14 ksoftirqd/1
10 root RT 0 0 0 0 S 0.0 0.0 0:00.07 watchdog/1
11 root RT 0 0 0 0 S 0.0 0.0 0:00.26 migration/2
12 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
13 root 20 0 0 0 0 S 0.0 0.0 0:01.08 ksoftirqd/2
14 root RT 0 0 0 0 S 0.0 0.0 0:00.07 watchdog/2
15 root RT 0 0 0 0 S 0.0 0.0 0:01.66 migration/3
16 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
17 root 20 0 0 0 0 S 0.0 0.0 0:00.52 ksoftirqd/3Son olarak:
Litespeed kurmak istesem...
https://store.litespeedtech.com/store/cart.php bu sayfada bir çok satın alma seçeneği var sunucum için hangisini seçmem gerekiyor ve varolan siteleri şuan kurarsam riske atarmıyım yani sunucuda site yokken mi yapmak gerekir...
Teşekkür ederim.
httpd.conf ile ilgili yazdığınız doğrudur ancak sizin sorununuz bundan olamaz, zira alt klasörlerde htaccess arayıp işlem yapıp ekrana basması milisaniyeler içinde gerçekleşir, anlık 5-10 bin istek almıyorsa sunucunuz gözle görülür bir fark kesinlikle göremezsiniz,
mod_rewrite yüklü olmasa htaccess dosyalarınız çalışmazdı, o yüzden yüklüdür (zaten sunucunuzda herhangi bir panel yüklü ise mod_rewrite da yüklüdür. Gozlerimle görmek istiyorum diyorsanız "httpd -M |grep rewrite" komutunu yazdığınızda cevap olarak aşağıdakini görüyorsanız yüklüdür.
Sunucunuz size ayrılan ramin tamamını kullanıyor görünüyor, ufaktan swap kullanmaya başlamış, detaylı incelemeden kesin konuşmak zor ancak sıkıntınız mysql yapılandırmanız da olabilir,
aşağıdaki kodları kullanarak basit bir test yaptırabilirsiniz, çıktısını paylaşırsanız yardımcı olmaya çalışalım
Ayrıca httpd.conf düzenleyerek performans elde etmek isterseniz
http://httpd.apache.org/docs/2.2/tr/...rf-tuning.html adresini dikkatle incelemenizi tavsiye ediyorum.
Nginx ve Litespeed elbette size performans sağlayabilir, ancak litespeed lisans ücreti ve nginxin yapılandırma zorluğu düşünülünce günlük hitiniz 5 haneli rakamlara çıkmadığı sürece bence ikiside gereksiz.