apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Spinetti <m.spine...@pisa.iol.it>
Subject [Fwd: APR_POOL_DEBUG??]
Date Fri, 23 Dec 2005 07:17:35 GMT
Any advice?
I compiled apr with enable pool debug = verbose.
Now in the error log I have a lot of information.
How can I discover apr memory problems by these information?
Because of apr is so much powerful I suppose that there is some way to 
debug it.....

Thanks

--Marco


-------- Original Message --------
Subject: 	APR_POOL_DEBUG??
Date: 	Thu, 22 Dec 2005 14:49:50 +0100
From: 	Marco Spinetti <m.spinetti@pisa.iol.it>
To: 	dev@apr.apache.org



Hi all,
I'm writing a dso 1.3 apache module which uses apr.
Checking my module with a stress test (1440 reqs/min) I'm observing , 
with top, that SIZE and RSS of httpd processes are growing.
So I'm supposing that my module can have some memory allocation leak.
It's strange because I use apr for all my allocation, but it's clear 
that it has some problems.
My system is RHAS 3 on Linux.
I have a global pool which I use for allocating some global structs, and 
then every childs has a pool which at the end they destroy with 
apr_pool_destroy.
How can I debug my apr memory allocation?
I was thinking to start my apache with -X and then I'd like that apr 
writes all informations on stderr (---> error_log of apache).
Any advices?

Cheers

--Marco





Mime
View raw message