Log in

View Full Version : hight cpu load


IRANCITY
12-13-2012, 01:48 PM
hi dear
i transfer my site to new vps but in this vps cpu and ram usage is too high

how can i control it ?

i install CpNginx 6 plugin ... but no answer...


this is my info

my.cnf

root@server [~]# cat /etc/my.cnf
#DO NOT MODIFY THE FOLLOWING COMMENTED LINES!
#Created with ELS from www.servermonkeys.com
#els-build=5.0
[mysqld]
local-infile=0
datadir=/var/lib/mysql
skip-locking
skip-innodb
skip-networking
safe-show-database
query_cache_limit=1M
query_cache_size=128M ## 32MB for every 1GB of RAM
query_cache_type=1
max_user_connections=250
max_connections=500
interactive_timeout=10
wait_timeout=20
connect_timeout=20
thread_cache_size=128
key_buffer=512M ## 128MB for every 1GB of RAM
join_buffer=1M
max_connect_errors=20
max_allowed_packet=128M
table_cache=1024
record_buffer=1M
sort_buffer_size=4M ## 1MB for every 1GB of RAM
read_buffer_size=4M ## 1MB for every 1GB of RAM
read_rnd_buffer_size=4M ## 1MB for every 1GB of RAM
thread_concurrency=8 ## Number of CPUs x 2
myisam_sort_buffer_size=64M
server-id=1
collation-server=latin1_general_ci

[mysql.server]
user=mysql

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

[mysqldump]
quick
max_allowed_packet=128M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=128M ##64
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M

[mysqlhotcopy]
interactive-timeout






2 image attached ....

IRANCITY
12-13-2012, 01:51 PM
Pid Owner Priority CPU % Memory % Command
32190 (Trace) (Kill) mysql 0

7.1

4.0 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/server.iranpardis.com.err --open-files-limit=8192 --pid-file=/var/lib/mysql/server.iranpardis.com.pid
3606 (Trace) (Kill) root 0

5.2

1.0 whostmgr2 - top ./top

Lynne
12-13-2012, 05:47 PM
You should post over on vbulletin.com in the Server Configuration forum for help.

final kaoss
12-18-2012, 02:55 AM
I'm interested to know what mods are/were installed when this happened or is this a fresh install?