httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: trick/tips for finding memory leaks
Date Mon, 26 Nov 2007 22:24:33 GMT
Sam Carleton wrote:
> On 11/26/07, ed <> wrote:
>> Generally speaking, if you're using apr routines then they should
>> handle the memory resources for you, there should be little need for
>> allocating on the heap.

However - you do have to be very careful of your pool scope.  A single
misplaced conn->pool reference means your request data is going to
survive every kept-alive request on that worker for that client; while
there are even uglier ways to mess yourself up using the process, child
or even cmd pools.


View raw message