apache is seg faulting. why ?
Jon-Eirik Pettersen
lists at jonepet.net
Sat Jan 31 08:36:17 PST 2004
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.
More information about the freebsd-questions
mailing list