Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2001 22:51:26 +0200
From:      "Ali Niknam" <ali@iephosting.net>
To:        <questions@freebsd.org>
Subject:   Server has a relatively high System CPU load - why?
Message-ID:  <000a01c0ba24$5a983f50$0100a8c0@cow>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi Guys,

I do not understand why the 'System' cpu load is 14.5% while the user cpu is only 3.7%?

Can somebody please explain this to me?

Furthermore: this is a webserver: how much more do you think it can have?

Thanks,
Ali

last pid: 14558;  load averages:  0.78,  0.63,  0.67    up 23+04:19:10  22:45:28
59 processes:  1 running, 58 sleeping
CPU states:  3.7% user,  0.6% nice, 14.5% system,  1.0% interrupt, 80.3% idle
Mem: 147M Active, 163M Inact, 111M Wired, 22M Cache, 112M Buf, 561M Free
Swap: 1024M Total, 1024M Free

  PID USERNAME    PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
76829 root          2  -2 45328K 37748K poll   0  28:18  4.05%  4.05% zeus.web
76828 root          2  -2 44960K 37792K poll   0  28:20  3.37%  3.37% zeus.web
50387 root          2   0 12992K  4464K poll   0   7:32  1.37%  1.37% mysqld
76827 root          2   1  1288K   816K poll   1   7:04  0.15%  0.15% zeus.cgi
 9489 root          2   0  3676K  3328K accept 1   0:04  0.10%  0.10% php
11872 root          2   0  3384K  3036K connec 1   0:03  0.10%  0.10% php
 9345 root          2   0  4088K  3568K sbwait 0   0:05  0.05%  0.05% php
12908 root          2   0  3324K  2976K accept 1   0:02  0.05%  0.05% php
14045 root          2   0  3136K  2764K sbwait 1   0:00  0.06%  0.05% php


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d7d7d7>
<DIV><FONT face=Arial size=2>Hi Guys,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I do not understand why the 'System' cpu load is 
14.5% while the user cpu is only 3.7%?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Can somebody please explain this to 
me?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Furthermore: this is a webserver: how much more do 
you think it can have?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Ali</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>last pid: 14558;&nbsp; load averages:&nbsp; 
0.78,&nbsp; 0.63,&nbsp; 0.67&nbsp;&nbsp;&nbsp; up 23+04:19:10&nbsp; 
22:45:28<BR>59 processes:&nbsp; 1 running, 58 sleeping<BR>CPU states:&nbsp; 3.7% 
user,&nbsp; 0.6% nice, 14.5% system,&nbsp; 1.0% interrupt, 80.3% idle<BR>Mem: 
147M Active, 163M Inact, 111M Wired, 22M Cache, 112M Buf, 561M Free<BR>Swap: 
1024M Total, 1024M Free</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; PID USERNAME&nbsp;&nbsp;&nbsp; PRI 
NICE&nbsp; SIZE&nbsp;&nbsp;&nbsp; RES STATE&nbsp; C&nbsp;&nbsp; TIME&nbsp;&nbsp; 
WCPU&nbsp;&nbsp;&nbsp; CPU COMMAND<BR>76829 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp; -2 45328K 
37748K poll&nbsp;&nbsp; 0&nbsp; 28:18&nbsp; 4.05%&nbsp; 4.05% zeus.web<BR>76828 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp; -2 44960K 
37792K poll&nbsp;&nbsp; 0&nbsp; 28:20&nbsp; 3.37%&nbsp; 3.37% zeus.web<BR>50387 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 0 
12992K&nbsp; 4464K poll&nbsp;&nbsp; 0&nbsp;&nbsp; 7:32&nbsp; 1.37%&nbsp; 1.37% 
mysqld<BR>76827 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp; 1&nbsp; 1288K&nbsp;&nbsp; 816K poll&nbsp;&nbsp; 1&nbsp;&nbsp; 
7:04&nbsp; 0.15%&nbsp; 0.15% zeus.cgi<BR>&nbsp;9489 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 0&nbsp; 
3676K&nbsp; 3328K accept 1&nbsp;&nbsp; 0:04&nbsp; 0.10%&nbsp; 0.10% php<BR>11872 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 0&nbsp; 
3384K&nbsp; 3036K connec 1&nbsp;&nbsp; 0:03&nbsp; 0.10%&nbsp; 0.10% 
php<BR>&nbsp;9345 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
2&nbsp;&nbsp; 0&nbsp; 4088K&nbsp; 3568K sbwait 0&nbsp;&nbsp; 0:05&nbsp; 
0.05%&nbsp; 0.05% php<BR>12908 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 0&nbsp; 
3324K&nbsp; 2976K accept 1&nbsp;&nbsp; 0:02&nbsp; 0.05%&nbsp; 0.05% php<BR>14045 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 0&nbsp; 
3136K&nbsp; 2764K sbwait 1&nbsp;&nbsp; 0:00&nbsp; 0.06%&nbsp; 0.05% 
php<BR></FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c0ba24$5a983f50$0100a8c0>