Your prize for 47 days uptime is probably a new version! That is the best way to check for memory leaks, update whenever you can. On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg <flokrrr@gmail.com> wrote:
Hello,
We experience the same behaviour here.
UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, 341 microseconds 2172632 session(s) since startup
cat /proc/11818/status shows: VmPeak: 6829064 kB VmSize: 6778648 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 442120 kB VmRSS: 428764 kB VmData: 6561024 kB VmStk: 136 kB VmExe: 24 kB VmLib: 29644 kB VmPTE: 1828 kB VmSwap: 0 kB Threads: 507
And free says: total used free shared buffers cached Mem: 15G 15G 181M 188M 170M 14G -/+ buffers/cache: 1.2G 14G Swap: 15G 28M 15G
Dunno if it helps, but we don't appear to meet any issue with calls (no crash or nothing, on other servers we have it has been running for months or even years with full memory if I'm not mistaken).
Regards Florent
2016-09-13 18:11 GMT+02:00 Anthony Minessale <anthony.minessale@gmail.com> :
That looks normal to me. FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. If you chart goes past 2 to 2.5 gigs, you may have a problem then.
you can run valgrind but you can only run 1 call at a time testing typical callflow.
valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg
Also when those months are over, hopefully you update cos you can keep running the same FS for many months anyway ;)
On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov <s.safarov@gmail.com> wrote:
I has configured FreeSwitch process memory usage graph. According this graph durring 24 days size of used memory ingrezed about two times. [image: FS-memory-chart.png] Pastebin of FreeSwitch process memory map is placed at https://pastebin.freeswitch.org/view/9e66572a Are you have any suggestion how to find memory leak.
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA