From owner-freebsd-stable Sun Jul 7 16:50:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB2BF37B408 for ; Sun, 7 Jul 2002 16:49:57 -0700 (PDT) Received: from I-Sphere.COM (shell.i-sphere.com [209.249.146.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id B45B443E64 for ; Sun, 7 Jul 2002 16:49:52 -0700 (PDT) (envelope-from fasty@shell.i-sphere.com) Received: from shell.i-sphere.com (fasty@localhost [127.0.0.1]) by I-Sphere.COM (8.12.3/8.12.3) with ESMTP id g67NocHd082265; Sun, 7 Jul 2002 16:50:38 -0700 (PDT) (envelope-from fasty@shell.i-sphere.com) Received: (from fasty@localhost) by shell.i-sphere.com (8.12.3/8.12.3/Submit) id g67NocXW082263; Sun, 7 Jul 2002 16:50:38 -0700 (PDT) Date: Sun, 7 Jul 2002 16:50:38 -0700 From: faSty To: Kenneth W Cochran Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Out of swap, -stable, apache2 Message-ID: <20020707235038.GA82250@i-sphere.com> References: <200207072214.SAA4562252@shell.TheWorld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207072214.SAA4562252@shell.TheWorld.com> User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I have apache 2.0.39_3 + MySQL + PHP/4.2.1 no problem. -fasty On Sun, Jul 07, 2002 at 06:14:34PM -0400, Kenneth W Cochran wrote: > Hello -stable: > > Is anyone else here having an out-of-swap condition, apparently > caused by apache2? > > This has only been happening since about the end of June. > It seems to start about 24 hours after the system has been > rebooted after a cvsup/{build,install}world. > > OS is -stable, as of 2002/07/05; this started happening (I > think) after some port-updating (apache2) on 28 June. > Webserver is apache2, from -ports, along with mod_php4. > Apache/2.0.39 (Unix) DAV/2 PHP/4.2.1 > > While this event is underway, top shows httpd at the top > (eating quite a lot of CPU) & with a status of "PFAULT" > (or something like that). After the event "finishes" httpd & > the system appear to be running again, just fine. > > Looking around in the logs, I find the following: > > >From /var/log/messages: > > Jul 6 19:42:09 localhost /kernel: swap_pager: out of swap space > Jul 6 19:42:09 localhost /kernel: swap_pager_getswapspace: failed > Jul 6 19:42:09 localhost /kernel: pid 33475 (httpd), uid 80, was killed: out of swap space > . > . > Jul 6 22:36:39 localhost /kernel: swap_pager_getswapspace: failed > Jul 6 22:36:39 localhost last message repeated 46 times > Jul 6 22:36:39 localhost /kernel: pid 33478 (httpd), uid 80, was killed: out of swap space > . > . > Jul 7 11:25:41 localhost /kernel: swap_pager_getswapspace: failed > Jul 7 11:25:41 localhost last message repeated 64 times > Jul 7 11:25:41 localhost /kernel: pid 46115 (httpd), uid 80, was killed: out of swap space > > >From /var/log/httpd-error.log: (ip-addresses clobbered to > hopefully not embarrass the guilty... :) > > [Sat Jul 06 19:40:32 2002] [error] [client 999.999.99.999] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): / > . > . > [Sat Jul 06 22:35:19 2002] [error] [client 888.888.888.88] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): / > . > . > [Sun Jul 07 11:24:16 2002] [error] [client 777.77.777.777] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): / > > Anything else in the logs is several minutes "outside" these > (perhaps related?) entries. > > DNS is cache-only: > named 8.3.2-T1B Fri Jul 5 19:08:16 CDT 2002 > root@localhost.my.domain:/usr/obj/usr/src/usr.sbin/named > > Any ideas as to what might be going on here? > > The above is, to me, admittedly rather sketchy; any suggestions > as to how I might trigger this myself & capture any more helpful > logging/debugging data/info? > > Is this even a FreeBSD issue? i.e. Should I take this up with > the Apache Group? Or is this some kind of pilot-error on my part? > > Many thanks, > > -kc > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message