From owner-freebsd-questions Sun Oct 3 10:24:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from trooper.velocet.net (trooper.velocet.net [216.126.82.226]) by hub.freebsd.org (Postfix) with ESMTP id 228F514CEA for ; Sun, 3 Oct 1999 10:24:23 -0700 (PDT) (envelope-from dgilbert@trooper.velocet.net) Received: (from dgilbert@localhost) by trooper.velocet.net (8.9.3/8.9.3) id NAA41713; Sun, 3 Oct 1999 13:24:16 -0400 (EDT) (envelope-from dgilbert) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14327.37184.259874.807747@trooper.velocet.net> Date: Sun, 3 Oct 1999 13:24:16 -0400 (EDT) To: Alfred Perlstein Cc: David Gilbert , freebsd-questions@FreeBSD.ORG Subject: Re: runaway apache processes? In-Reply-To: References: <14327.6267.899595.923700@trooper.velocet.net> X-Mailer: VM 6.71 under 20.4 "Emerald" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Alfred" == Alfred Perlstein writes: Alfred> On Sun, 3 Oct 1999, David Gilbert wrote: >> I've been having real problems with runaway apache processes with >> more recent versions of FreeBSD. Apache is configured (by hand) >> with ssl, php, httpdapy (a python module) and a few others. >> >> When this happens, some (sometimes many) httpd processes chew up >> 100% CPU and need a kill -9 to die. >> >> Has anyone else be having this problem? Alfred> I'm not a php nor python programmer, however I've seen this Alfred> happen when there is an accidental infinite loop in a php Alfred> script, perhaps the php or python engines have a way of Alfred> aborting a script after X amount of time has gone by? But we've verified that this will happen even when the server is serving a non-php page or a graphic. It appears (after much pulling of hair) to be due to the pthreads required by the python module --- that compiling apache with pthreads makes it very wonky indeed. Dave. -- ============================================================================ |David Gilbert, Velocet Communications. | Two things can only be | |Mail: dgilbert@velocet.net | equal if and only if they | |http://www.velocet.net/~dgilbert | are precisely opposite. | =========================================================GLO================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message