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
  #51  
Old 03-21-2012, 04:10 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
run 'top -c' etc to figure out what consume the most server resources and what is the bottleneck. if lsws takes most cpu cycles, you may try with a higher license.
Reply With Quote
  #52  
Old 03-21-2012, 04:20 PM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
Default sir top process is using by mysql and lsphp5

sir top process is using by mysql and lsphp5 so can you guide me what will i do now if 10 % is using by mysql then 4 % is using by lsphp5
Reply With Quote
  #53  
Old 03-21-2012, 04:38 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
pls paste the screenshot here.
Reply With Quote
  #54  
Old 03-21-2012, 04:50 PM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
Default its screen shots

this is the screen shots sir
Attached Images
File Type: jpg mysql.jpg (49.0 KB, 9 views)
File Type: jpg mysql2.jpg (49.7 KB, 7 views)
Reply With Quote
  #55  
Old 04-17-2012, 10:30 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by d3vnul View Post
Simply type : iostat
Atm i use 2 cpu license. when i typed that, i got the result below
Code:
avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          37.45    0.05    2.76    0.29    0.00   59.45
Should i use 4 cpu license now?
Reply With Quote
  #56  
Old 04-17-2012, 10:47 AM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
p.m me i can configure your server better than old in same server
Reply With Quote
  #57  
Old 04-17-2012, 10:52 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
do 'top -c' and see which processes consume most cpu cycles. if it is 'litespeed', then upgrade makes sense.
Reply With Quote
  #58  
Old 04-17-2012, 10:55 AM
funzclub funzclub is offline
Member
 
Join Date: Mar 2012
Posts: 26
sir whats about my server is you solved my problem i p.m you that already
Reply With Quote
  #59  
Old 04-17-2012, 11:00 AM
semprot semprot is offline
Member
 
Join Date: Apr 2012
Posts: 41
Quote:
Originally Posted by webizen View Post
do 'top -c' and see which processes consume most cpu cycles. if it is 'litespeed', then upgrade makes sense.
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]
Reply With Quote
  #60  
Old 04-17-2012, 12:44 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
Quote:
Originally Posted by funzclub View Post
sir whats about my server is you solved my problem i p.m you that already
does your trial license still get deleted every time you try to start lsws? pm your server temporary root ssh access for me to take a look if so.
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 01:54 AM.



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