Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 20:57:57 +0200 (CEST)
From:      Marc Schneiders <marc@schneiders.org>
To:        Ganesh Kumar <alganesh@m-net.arbornet.org>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Why is this box so slow?
Message-ID:  <20020830205322.X28856-100000@voo.doo.net>
In-Reply-To: <20020830121455.X21940-100000@m-net.arbornet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Aug 2002, at 12:17 [=GMT-0400], Ganesh Kumar wrote:

> > Machine is collocated, so, please, no suggestions to take RAM out etc.
> > Thanks!
>
> What are the processes that run on this machine ? We had a peculiar
> problem that slowed down our machine - we had 33 copies of apache running
> in our system.

I run thttpd, which doesn't fork.

> So why dont you take a look at the cpu usage and process
> status.

I did, and the load is low. There is more than enough RAM, swap isn't
ever used. See top output below, with a remark: If I do not run
dnetc, it doesn't get better.

last pid: 28885;  load averages:  1.02,  1.08,  1.02  up 39+03:29:08    20:56:06
26 processes:  2 running, 24 sleeping

Mem: 53M Active, 403M Inact, 82M Wired, 29M Cache, 73M Buf, 59M Free
Swap: 4096M Total, 4096M Free


  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
50852 marc      90  20   884K   680K RUN    581.4H 95.56% 95.56% dnetc
28885 marc      38   0  1916K  1004K RUN      0:01 44.00%  2.15% top
92235 root       2   0  2456K  1720K select   1:03  0.39%  0.39% sshd
   95 root       2   0  4480K  3928K select 325:16  0.00%  0.00% named
  108 root       2   0  2352K  1492K select  86:26  0.00%  0.00% sshd
   97 root       2   0  1332K   816K select  48:49  0.00%  0.00% ntpd
   92 root       2   0   960K   584K select  12:17  0.00%  0.00% syslogd
84007 nobody     2   0  1132K   812K select  11:57  0.00%  0.00% boa
92165 root       2   0  2456K  1720K select   8:42  0.00%  0.00% sshd
  178 root       2   0  2792K  2208K select   3:53  0.00%  0.00% named
  106 root      10   0  1008K   664K nanslp   3:39  0.00%  0.00% cron
27475 root       2   0  3628K  2708K select   1:14  0.00%  0.00% named
  114 smmsp     18   0  2812K  1704K pause    0:35  0.00%  0.00% sendmail
97342 nobody     2   0  1860K  1520K kqread   0:21  0.00%  0.00% thttpd
  152 root       2   0  3448K  2456K select   0:19  0.00%  0.00% snmpd
28185 root       2   0  3016K  2332K select   0:13  0.00%  0.00% sendmail
28856 marc       2   0  4560K  3040K select   0:08  0.00%  0.00% pine
  104 root       2   0  1080K   712K select   0:03  0.00%  0.00% inetd



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?20020830205322.X28856-100000>