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

Reply
 
Thread Tools Display Modes
  #61  
Old 04-17-2012, 12:50 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
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
  #62  
Old 04-17-2012, 01:02 PM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
sir leave about thme now im moving on a new server and i purchased enterprise edition license so tell me only that can i use same license on two servers ya license is only for one server
Reply With Quote
  #63  
Old 04-17-2012, 01:12 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by funzclub View Post
sir leave about thme now im moving on a new server and i purchased enterprise edition license so tell me only that can i use same license on two servers ya license is only for one server
http://www.litespeedtech.com/support...about_licenses

Can one license be installed on multiple servers?

No, one license can only be installed on one server. If you have VPS, each VPS will require its own license. The license is generated based on server hardware signature. So if you upgrade your server hardware, please make sure your license is still valid.
Reply With Quote
  #64  
Old 04-17-2012, 01:35 PM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
ok sir thanks for exg. if i have a 2 tb hd in my server and i upgraded my hardware means i add 2tb hd more then we in this case our license will valid or not
Reply With Quote
  #65  
Old 04-17-2012, 06:46 PM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by webizen View Post
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.
thanks for your suggestion. i really appreciate it.
Reply With Quote
  #66  
Old 04-18-2012, 12:06 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by funzclub View Post
ok sir thanks for exg. if i have a 2 tb hd in my server and i upgraded my hardware means i add 2tb hd more then we in this case our license will valid or not
That should be OK. License status will not be affected by that.
Reply With Quote
  #67  
Old 12-04-2012, 04:51 AM
ShoppingMopping ShoppingMopping is offline
New Member
 
Join Date: Dec 2012
Posts: 1
Superb.It’s a great work. Thank you for sharing it.
__________________
Cherish the memories with finest China Backpacker or best Backpacker Tours.
Reply With Quote
  #68  
Old 12-11-2012, 06:23 AM
ISSMT3 ISSMT3 is offline
New Member
 
Join Date: Dec 2012
Posts: 1
I have two websites.
Reply With Quote
Reply

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 10:37 PM.



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