From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 08:36:17 2004 Return-Path: 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 5FB6016A4CE for ; Sat, 31 Jan 2004 08:36:17 -0800 (PST) Received: from tromso-dhcp-235-56.bluecom.no (tromso-dhcp-235-56.bluecom.no [62.101.235.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355EA43D45 for ; Sat, 31 Jan 2004 08:36:13 -0800 (PST) (envelope-from lists@jonepet.net) Received: from localhost (localhost.jonepet.net [127.0.0.1]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id B913B6D1; Sat, 31 Jan 2004 17:38:03 +0100 (CET) Received: from tromso-dhcp-235-56.bluecom.no ([127.0.0.1]) by localhost (discovery.jonepet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80160-10; Sat, 31 Jan 2004 17:38:03 +0100 (CET) Received: from jonepet.net (atlantis.wlan.jonepet.net [10.2.33.4]) by tromso-dhcp-235-56.bluecom.no (Postfix) with ESMTP id 7DDD26D0; Sat, 31 Jan 2004 17:38:03 +0100 (CET) Message-ID: <401BD980.1050009@jonepet.net> Date: Sat, 31 Jan 2004 17:36:16 +0100 From: Jon-Eirik Pettersen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Melvyn Sopacua , freebsd-questions@freebsd.org References: <20040130124034.GA408@colargol.aaton.com> <200401311732.57733.freebsd-questions@webteckies.org> In-Reply-To: <200401311732.57733.freebsd-questions@webteckies.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at jonepet.net Subject: Re: apache is seg faulting. why ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 16:36:17 -0000 Melvyn Sopacua wrote: >On Friday 30 January 2004 13:40, julien Beauviala wrote: > > > >>the following : >> >> >>>pid 72041 (httpd), uid 80: exited on signal 11 >>>pid 72040 (httpd), uid 80: exited on signal 11 >>>pid 72099 (httpd), uid 80: exited on signal 11 >>>pid 72039 (httpd), uid 80: exited on signal 11 >>>pid 74202 (httpd), uid 80: exited on signal 11 >>> >>> > >Make sure you're up-to-date - it may be a security hole. > >Otherwise: use top(1) and check if at some point you see a httpd process >spinning wildly for a long time, while memory grows. > >A frequent problem, is that somebody coded an infinite loop, filling a >variable and then the process runs outof memory and segfaults. > >PHP code like this for example: >$i = 11; >$buffer = ''; >while ( $i != 10 ) >{ > $buffer .= 'hello'; > $i++; >} > > > PHP does have memory-limits.