Date: Sat, 31 Jan 2004 17:36:16 +0100 From: Jon-Eirik Pettersen <lists@jonepet.net> To: Melvyn Sopacua <freebsd-questions@webteckies.org>, freebsd-questions@freebsd.org Subject: Re: apache is seg faulting. why ? Message-ID: <401BD980.1050009@jonepet.net> In-Reply-To: <200401311732.57733.freebsd-questions@webteckies.org> References: <20040130124034.GA408@colargol.aaton.com> <200401311732.57733.freebsd-questions@webteckies.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?401BD980.1050009>