50-70k tekil hitli bir site için 2*E5620 işlemci, 8Gb Ram ve RAID5 sas disklerden oluşan bir sistem kurdum. Site kağnı gibi çalışıyor. Loadlar 0,8 civarında. Sunucuda plesk panel kurulu ve nginx reverse proxy olarak çalışıyor.
Sitenin kendine ait cache sistemi var. Sunucu tarafında nasıl bir ayar yaparsam site normale döner?
Ayarlar aşağıda
http
<IfModule prefork.c> StartServers 4 MinSpareServers 25 MaxSpareServers 50 ServerLimit 1024 MaxClients 1024 MaxRequestsPerChild 5000 </IfModule>my.cnf
long_query_time = 5 log-slow-queries=/var/log/mysql_slow.log key_buffer_size = 128M max_allowed_packet = 1M table_open_cache = 1024 max_connections = 512 sort_buffer_size = 2M read_buffer_size = 2M read_rnd_buffer_size = 4M myisam_sort_buffer_size = 64M thread_cache_size = 8 query_cache_size= 8M
Optimizasyon geçip sorunu çözeceğim.