Apache memory utilization issue

Hi,

I have been running into an issue wherein suddenly an apache process eats up lots of memory and system starts swapping. It causes the server to hang due to io-wait. I am able to trace the process/thread which is eating up memory, however, am unable to figure out which webpage is causing it. Pmap shows lots of anonymous memory blocks of different sizes are allocated to that processs.

Ours is a python based setup and we use mod_wsgi with apache.

I was able to figure out one such webpage through a vulnerability scanner and fix the issue. However, another one is still pending. Is there any way to figure out the page currently being served by an apache thread?

Check out mod_status: mod_status - Apache HTTP Server