Sunucu core2 4300
2 GB ram
/etc/my.cnf
[mysqld]
set-variable=local-infile=0
max_connections = 500
key_buffer = 512M
table_cache = 512
thread_cache_size = 384
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 64M
bulk_insert_buffer_size = 8M
query_cache_size = 32M
query_cache_type = 1
default-storage-engine = MyISAM
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
top -n1
Tasks: 92 total, 1 running, 91 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.5% us, 1.2% sy, 0.7% ni, 94.8% id, 0.8% wa, 0.0% hi, 0.0% si
Mem: 2066780k total, 1143852k used, 922928k free, 125628k buffers
Swap: 4192956k total, 0k used, 4192956k free, 655932k cached
Not:Ram Kullanımı çok Fazla
|