I have been load testing a server running on RHEL 3.0 (2.4.21). I see that themalloc() and friends can use mmap() to allocate memory, usually for larger allocations. looks like you have a leak.
/proc/pid/maps keeps growing.
If the server is leaking memory, then i expected, the heap address to
change rather than
creating a new segment. As the server is a threaded app, i tried
ld_preloading my own
library to catch all pthread_create calls, but could catch only 4. So
even threading doesnt
seem to be an issue.
so i am wondering now. I know the server is leaking memory. But i dont
know where to look
at.
Can someone pls help me in letting me know, in which cases can a
/proc/pid/maps file keep on increasing ?
The server is running on IBM hardware, with 4GB ram. The maps file
currently has 2200
lines just like the ones pasted below.