centos6 - High CPU recources on VPS (centOS) -


i noticed vps running on high recources. @ moment it's running @ 100% on 2 weeks already.

when @ processes, command # top list (top 3).

top - 14:45:52 93 days, 22:05,  1 user,  load average: 1.89, 1.64, 1.57 tasks: 138 total,   2 running, 136 sleeping,   0 stopped,   0 zombie cpu(s): 63.7%us, 35.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  1.3%si,  0.0%st mem:   1020400k total,   736016k used,   284384k free,   116344k buffers swap:  2064376k total,   175280k used,  1889096k free,   204212k cached    pid user      pr  ni  virt  res  shr s %cpu %mem    time+  command 13848 myself    20   0  376m 4104 3936 r 48.1  0.4  16502:27 php 13839 root      20   0  169m 1984 1900 s 35.8  0.2  11856:37 crond  2626 myself    20   0  373m  13m 7796 s 16.2  1.4   0:17.31 php 

the other precesses run on low recources or couple of seconds. can see first 2 processes take 48% , 35% , both running long time! there way better @ running process?

maybe needed search harder on internet. found out how find file behind pid. posting answer although question isn't wanted...\

the following command gave me process information.

# ps -f pid -f 

result:

uid        pid  ppid  c stime tty          time cmd 10000    13848 13839 54 jul28 ?        11-11:26:43 /usr/bin/php -q /var/www/vhosts/user/folder/cron/file.php 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -