Hi,
i have a big problem with my mysql 5.5 load is up to 90% of cpu and i need some one to help me optimize my.cnf file
here is my VPS information:
my.cnf right now is:
any one can help me?
thanks and best regards
i have a big problem with my mysql 5.5 load is up to 90% of cpu and i need some one to help me optimize my.cnf file
here is my VPS information:
Code:
Processor Information
Total processors: 3
Processor #1
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
Speed
2133.408 MHz
Cache
4096 KB
Processor #2
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
Speed
2133.408 MHz
Cache
4096 KB
Processor #3
Vendor
GenuineIntel
Name
Intel(R) Xeon(R) CPU E5506 @ 2.13GHz
Speed
2133.408 MHz
Cache
4096 KB
Memory Information
Memory: 4776936k/4907008k available (2577k kernel code, 121408k reserved, 1492k data, 208k init)
System Information
Linux 2.6.18-408.8.2.el5.lve0.8.61.3xen #1 SMP Wed Jul 11 06:58:44 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Physical Disks
Current Memory Usage
total used free shared buffers cached
Mem: 4898816 3222228 1676588 0 194456 2097112
-/+ buffers/cache: 930660 3968156
Swap: 1048568 0 1048568
Total: 5947384 3222228 2725156
Current Disk Usage
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 123G 72G 45G 62% /
tmpfs 2.4G 0 2.4G 0% /dev/shm
/usr/tmpDSK 4.0G 154M 3.6G 5% /tmp
my.cnf right now is:
Code:
[mysqld]
log-slow-queries
max_connections=500
default-storage-engine=MyISAM
innodb_file_per_table=1
query_cache_size = 50M
any one can help me?
thanks and best regards