Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-17 Thread Chris Fowler
Thanks for the tip Brian. Here's a link to the valgrind output : http://cfowl.postinbox.com/vg.log Chris. ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-17 Thread Brian West
You're not leaking... I wouldn't call 737 bytes a leak. /b On Mar 17, 2009, at 10:49 AM, Chris Fowler wrote: Thanks for the tip Brian. Here's a link to the valgrind output : http://cfowl.postinbox.com/vg.log Chris. ___ Freeswitch-users mailing

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-17 Thread Anthony Minessale
The crash on shutdown was an issue in mod_spidermonkey that was accidentally added if you update again it's gone. please run the valgrind command again then make several calls that fall in line with your normal usage pattern so the program can get an accurate trace of the memory usage. On

[Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Chris Fowler
Hi, I’ve been seeing an issue where FreeSWITCH’s CPU and memory utilization climb over time; a restart of FS clears up the problem. See graphs for the past week. http://cfowl.postinbox.com/fs.jpg Observed on the Release Candidate, and then upgraded to the current trunk a couple of times.

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Brian West
Can you update to SVN trunk as of now? /b On Mar 16, 2009, at 3:19 PM, Chris Fowler wrote: Hi, I’ve been seeing an issue where FreeSWITCH’s CPU and memory utilization climb over time; a restart of FS clears up the problem. See graphs for the past week. http://cfowl.postinbox.com/fs.jpg

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread jay binks
what happens in your dialplan ? is is possible that you execute a script on each call, thats not being exited ? Jay On Tue, Mar 17, 2009 at 6:19 AM, Chris Fowler ch...@fowler.cc wrote: Hi, I’ve been seeing an issue where FreeSWITCH’s CPU and memory utilization climb over time; a restart of

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Chris Fowler
Jay : what happens in your dialplan ? Nothing special; no external script execution just default pattern matching to route to extensions (per the stock config). Brian: Can you update to SVN trunk as of now? Yup, I will pull the trunk and report back in 24 hours. Chris.

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Brian West
Happen to use voicemail a lot? ivr.conf.xml? /b On Mar 16, 2009, at 5:42 PM, Chris Fowler wrote: Jay : what happens in your dialplan ? Nothing special; no external script execution just default pattern matching to route to extensions (per the stock config). Brian: Can you update to SVN

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Anthony Minessale
nothing special is a bit vague. clearly something you are doing makes a difference. Perhaps you can explain any custom extensions you have or what you are doing a little better? install valgrind and run it for a while valgrind --tool=memcheck --log-file=vg.log --leak-check=full

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Chris Fowler
Brian: Can you update to SVN trunk as of now? I updated - version reports: FreeSWITCH Version 1.0.trunk (12631) Only difference I note with this build is that upon shutdown FS now SegFaults. The mem/cpu usage continues to slowly climb. snip 2009-03-16 20:59:32 [CONSOLE]

Re: [Freeswitch-users] Possible memory / cpu leak

2009-03-16 Thread Brian West
Tip: ulimit -s 240, or freeswitch fork and execv out from under valgrind. /b On Mar 16, 2009, at 11:01 PM, Chris Fowler wrote: Anthony - valgrind --tool=memcheck --log-file=vg.log --leak- check=full --leak-resolution=high --show-reachable=yes /path/to/ freeswitch -vg Nothing got