|
|

03-21-2012, 04:10 PM
|
|
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.
|

03-21-2012, 04:20 PM
|
|
Member
|
|
Join Date: Mar 2012
Posts: 26
|
|
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
|

03-21-2012, 04:38 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
|
pls paste the screenshot here.
|

03-21-2012, 04:50 PM
|
|
Member
|
|
Join Date: Mar 2012
Posts: 26
|
|
its screen shots
this is the screen shots sir
|

04-17-2012, 10:30 AM
|
|
Member
|
|
Join Date: Apr 2012
Posts: 41
|
|
Quote:
Originally Posted by d3vnul
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?
|

04-17-2012, 10:47 AM
|
|
Member
|
|
Join Date: Mar 2012
Posts: 26
|
|
|
p.m me i can configure your server better than old in same server
|

04-17-2012, 10:52 AM
|
|
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.
|

04-17-2012, 10:55 AM
|
|
Member
|
|
Join Date: Mar 2012
Posts: 26
|
|
|
sir whats about my server is you solved my problem i p.m you that already
|

04-17-2012, 11:00 AM
|
|
Member
|
|
Join Date: Apr 2012
Posts: 41
|
|
Quote:
Originally Posted by webizen
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]
|

04-17-2012, 12:44 PM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,339
|
|
Quote:
Originally Posted by funzclub
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:55 PM.
|
|