From owner-freebsd-questions Fri Aug 30 11:58:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66B4F37B400 for ; Fri, 30 Aug 2002 11:58:16 -0700 (PDT) Received: from voo.doo.net (voo.doo.net [81.17.45.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1012F43E81 for ; Fri, 30 Aug 2002 11:58:15 -0700 (PDT) (envelope-from marc@schneiders.org) Received: from localhost (localhost [127.0.0.1]) by voo.doo.net (8.12.5/8.12.3) with ESMTP id g7UIvvHi028893; Fri, 30 Aug 2002 20:58:02 +0200 (CEST) (envelope-from marc@schneiders.org) Date: Fri, 30 Aug 2002 20:57:57 +0200 (CEST) From: Marc Schneiders X-X-Sender: To: Ganesh Kumar Cc: Subject: Re: Why is this box so slow? In-Reply-To: <20020830121455.X21940-100000@m-net.arbornet.org> Message-ID: <20020830205322.X28856-100000@voo.doo.net> X-Preferred-email-to: marc@schneiders.org X-Other-email-to: marc@venster.nl X-Organization: Venster (Zeist - NL) X-URL: http://www.bijt.net/ X-SOA: A.ROOT-SERVERS.ORSC. X-OS: FreeBSD: The Power to Serve MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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