LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > About the license and CPUs

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-17-2012, 12:50 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by semprot View Post
Its on top 15-20 processes, is it considered as "consume most cpu cycles"?

Code:
root@***** [~]# top -c
top - 12:57:52 up 20 days, 22:37,  1 user,  load average: 4.37, 4.15, 4.05
Tasks: 207 total,   3 running, 200 sleeping,   4 stopped,   0 zombie
Cpu(s): 40.8%us,  2.3%sy,  0.0%ni, 54.5%id,  0.4%wa,  0.0%hi,  2.0%si,  0.0%st
Mem:  12289752k total,  6929920k used,  5359832k free,  1147196k buffers
Swap:  2096472k total,        0k used,  2096472k free,  3477120k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30292 nobody    15   0  417m  31m  18m R 56.0  0.3   0:23.85 lsphp5:/home/*****/public_html/showthread.php
30359 nobody    16   0  414m  26m  16m S 51.2  0.2   0:12.73 lsphp5
30378 nobody    16   0  414m  27m  16m S 49.8  0.2   0:06.02 lsphp5
30379 nobody    16   0  413m  21m  13m S 48.8  0.2   0:05.42 lsphp5
30216 nobody    16   0  412m  26m  18m S 43.1  0.2   0:47.64 lsphp5
30317 nobody    16   0  412m  24m  16m S 34.3  0.2   0:21.03 lsphp5
30393 nobody    16   0  411m  19m  10m S 19.1  0.2   0:01.00 lsphp5
31455 mysql     15   0 6850m 1.3g 4996 S 17.4 11.2 226:55.94 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/dx
30226 nobody    16   0  413m  28m  19m S 13.1  0.2   0:48.98 lsphp5
30383 nobody    15   0  416m  23m  13m S  8.8  0.2   0:03.10 lsphp5:/home/*****/public_html/showthread.php
27191 nobody    15   0 84324  26m  776 S  8.1  0.2 112:53.46 /usr/local/bin/memcached -u root -m 32 -p 11211 -u nobody -l 127.0.0.1
28710 nobody     0 -19 74268  32m  18m S  6.0  0.3   0:57.34 litespeed (lshttpd)
30330 root      15   0 12860 1208  832 R  0.5  0.0   0:00.08 top -c
30387 nobody    15   0  409m  11m 6244 S  0.5  0.1   0:00.09 lsphp5
28711 nobody     0 -19 93800  50m  41m S  0.2  0.4   0:06.69 litespeed (lshttpd)
    1 root      15   0 10364  692  580 S  0.0  0.0   0:03.00 init [3]
    2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.28 [migration/0]
    3 root      34  19     0    0    0 S  0.0  0.0   0:07.92 [ksoftirqd/0]
Your litespeed process does NOT use much cpu cycles. no need to upgrade at this point. It is the php process consumes heavily. You should either improve your php code or setup opcode cache to offload php.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:48 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.