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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C0BA35.1DB79F20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


------=_NextPart_000_0007_01C0BA35.1DB79F20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0007_01C0BA35.1DB79F20--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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