From owner-freebsd-questions Thu Aug 1 9:31:34 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 136B937B400 for ; Thu, 1 Aug 2002 09:31:30 -0700 (PDT) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35D7943E6E for ; Thu, 1 Aug 2002 09:31:28 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id MAA37874; Thu, 1 Aug 2002 12:31:32 -0400 (EDT) (envelope-from shovey@buffnet.net) Date: Thu, 1 Aug 2002 12:31:22 -0400 (EDT) From: Stephen Hovey To: lists@brenius.com Cc: questions@FreeBSD.ORG Subject: Re: Very High HTTPD Usage (Pls help, urgent) In-Reply-To: <006101c23978$97a2e8d0$7b01a8c0@afi> Message-ID: 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 Other than your ram is all consumed - if you use PHP check any new code for infinite loops, otherwise you are probably being pounded by a web spider/search engine - check the access_logs for a pattern of who is connecting. On Thu, 1 Aug 2002 lists@brenius.com wrote: > 12:26PM up 124 days, 6:47, 2 users, load averages: 12.31, 12.66, 12.17 > > Usually around 0.20- 0.30 load average... > > last pid: 53735; load averages: 13.83, 13.01, 12.33 > up 124+06:48:28 12:27:22 > 94 processes: 16 running, 78 sleeping > CPU states: 27.2% user, 0.0% nice, 72.4% system, 0.4% interrupt, 0.0% idle > Mem: 324M Active, 63M Inact, 89M Wired, 23M Cache, 61M Buf, 992K Free > Swap: 720M Total, 176M Used, 544M Free, 24% Inuse > > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 42591 nobody 61 0 5732K 3728K RUN 3:16 7.18% 7.18% httpd > 47033 nobody 60 0 5720K 3720K RUN 3:15 7.03% 7.03% httpd > 47750 nobody 60 0 5612K 3600K RUN 3:17 6.98% 6.98% httpd > 47736 nobody 60 0 5720K 3716K RUN 3:17 6.79% 6.79% httpd > 47749 nobody 59 0 5720K 3716K RUN 3:16 6.79% 6.79% httpd > 49201 username 59 0 19204K 13412K RUN 3:23 6.54% 6.54% procmail > 47755 nobody 59 0 5600K 3572K RUN 3:17 6.54% 6.54% httpd > 47035 nobody 58 0 5720K 3716K RUN 3:15 6.49% 6.49% httpd > 49166 nobody 59 0 5600K 3532K RUN 3:16 6.40% 6.40% httpd > 47563 nobody 58 0 5720K 3724K RUN 3:17 6.10% 6.10% httpd > > How can I troubleshoot this and track down the culprit. It has been at this for the > last 10 minutes and is really slowing down the server. Please help! > > Thank you! > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message