Re: mod_layout 5 memory leak

Brian Aker <[email protected]> Thu, 20 Dec 2007 13:18:30 -0800
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>
Hi!

Is PHP doing its work as a filter?

Cheers,
	-Brian

On Dec 20, 2007, at 4:21 AM, John Moylan wrote:

> Hi,
>
> I have tested this further and it seems to be a problem when php is
> installed and the mod_layout module is loaded,
>
>
> I have pared my config back to a vanilla Centos5 httpd.conf and
> everything works fine. I loaded the mod_layout module without issue.
>
> I then installed php.x86_64 5.1.6-15.el5 from rpm. Apache starts
> segfaulting immediately. Apache stops segfaulting if I comment out the
> LoadModule directive for mod_layout in httpd.conf.
>
> J
>
>
>
>
> On Tue, 2007-12-18 at 08:57 -0800, Brian Aker wrote:
>> Hi!
>>
>> Can you give me the page you are loading that is causing this? Or is
>> this some sort of automated page generated by apache-bench?
>>
>> Cheers,
>>    -Brian
>>
>> On Dec 18, 2007, at 6:58 AM, John Moylan wrote:
>>
>>> Hi,
>>>
>>> Apache 2.2 on Centos 5 (httpd-2.2.3-11.el5.centos) is segfaulting
>>> under
>>> heavy load. vmstat shows that memory is being used but not freed up.
>>> Apache "dies" with the following error:
>>>
>>> "[notice] child pid 3411 exit signal Segmentation fault (11),  =

>>> possible
>>> coredump in /coredumps"
>>>
>>> If the layout module is not loaded then this issue never arises.
>>>
>>> Issue is easily reproduced using vmstat and apache-bench.
>>>
>>> Is this something that can be fixed by anyone?
>>>
>>> John
>>>
>>>
>>> ***********************************************************
>>> The information in this e-mail is confidential and may be legally
>>> privileged.
>>> It is intended solely for the addressee. Access to this e-mail by
>>> anyone else
>>> is unauthorised. If you are not the intended recipient, any
>>> disclosure,
>>> copying, distribution, or any action taken or omitted to be taken in
>>> reliance
>>> on it, is prohibited and may be unlawful.
>>> Please note that emails to, from and within RT=C9 may be subject to
>>> the Freedom
>>> of Information Act 1997 and may be liable to disclosure.
>>> ************************************************************
>>> _______________________________________________
>>> Mod_layout mailing list
>>> [email protected]
>>> http://lists.tangent.org/mailman/listinfo/mod_layout
>>
>> --
>> _______________________________________________________
>> Brian "Krow" Aker, brian at tangent.org
>> Seattle, Washington
>> http://krow.net/                     <-- Me
>> http://tangent.org/                <-- Software
>> http://exploitseattle.com/    <-- Fun
>> _______________________________________________________
>> You can't grep a dead tree.
>>
> ***********************************************************
> The information in this e-mail is confidential and may be legally  =

> privileged.
> It is intended solely for the addressee. Access to this e-mail by  =

> anyone else
> is unauthorised. If you are not the intended recipient, any  =

> disclosure,
> copying, distribution, or any action taken or omitted to be taken in  =

> reliance
> on it, is prohibited and may be unlawful.
> Please note that emails to, from and within RT=C9 may be subject to  =

> the Freedom
> of Information Act 1997 and may be liable to disclosure.
> ************************************************************

--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/                     <-- Me
http://tangent.org/                <-- Software
http://exploitseattle.com/    <-- Fun
_______________________________________________________
You can't grep a dead tree.