cp /etc/my.cnf /etc/my.cnf-yedek
rm -rf /etc/my.cnf
nano /etc/my.cnf
direk alt kısımda yer alan ayarları yapıştırın...
Alıntı
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=8M
query_cache_size=256M
query_cache_type=1
max_connections=500
max_user_connections=8
interactive_timeout=10
wait_timeout=10
connect_timeout=3
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=8M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
thread_concurrency=8
myisam_sort_buffer_size=64M
server-id=1
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
[isamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M
[myisamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M
nano /etc/httpd/conf/httpd.conf
Alıntı
Timeout 30
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 2
MinSpareServers 8
MaxSpareServers 13
StartServers 18
MaxClients 2048
MaxRequestsPerChild 500
bu ayarları değiştirin
service httpd restart
yazın..
daha bitmedi şimdi bu ayarlarla çalışa dursun sunucu (Başkası kendi sunucusuna bu ayarları yapmasın) Cpanel kullanıyormusunuz? İşletim sisteminiz nedir? yüklü php modüllerini yazınız.