[Freeswitch-users] Memory leak with mod_local_stream
Rob Forman
rob4manhere at gmail.com
Mon Nov 23 13:53:56 PST 2009
Hey guys,
Having a problem with mod_local_stream.
I recently did a "make current" from 15334 to the latest trunk
(15630). After restarting, there now appears to be a memory leak. On
a test system (CentOS 5.4, 64-bit) with no calls or registrations,
Freeswitch gradually consumes all of the host memory (rate of about
200K/second), then swaps out, eventually rendering the system useless.
I isolated it to mod_local_stream. If I unload mod_local_stream, the
memory use stops climbing. If I re-load mod_local_stream, it starts
again.
I would submit the logs except they aren't any besides it starting.
The system is just sitting there idle. Even valgrind didn't show much
(http://pastebin.freeswitch.org/11238). Maybe I'm using it wrong? I
ran it: valgrind --tool=memcheck --log-file-exactly=vg.log --leak-
check=full --leak-resolution=high --show-reachable=yes .libs/
freeswitch -vg
Questions:
* has anyone else seen this?
* what is the best way I can assist troubleshooting this?
I saw a patch to mod_local_stream (rev 15431) a few weeks back. Could
that have anything to do with it?
Rob
More information about the FreeSWITCH-users
mailing list