[Freeswitch-users] Memory problems

Sergey Okhapkin sos at sokhapkin.dyndns.org
Thu Oct 28 13:52:31 PDT 2010


I can't run valgrind on the production server (you know why)...

On Thursday 28 October 2010, Anthony Minessale wrote:
> install valgrind
> 
> valgrind --tool=memcheck --log-file=vg.log --leak-check=full
> --leak-resolution=high --show-reachable=yes .libs/lt-freeswitch -vg
> 
> make several minutes of typical calls
> shutdown FS cleanly and send me vg.log
> 
> Also you could consider posting a jira in the future....
> 
> 
> 
> 
> 
> On Thu, Oct 28, 2010 at 12:26 PM, Sergey Okhapkin
> 
> <sos at sokhapkin.dyndns.org> wrote:
> > AFAIK the original poster wrote about memory usage, but not CPU. I have
> > exactly the same problem - after few days of run FS RSS grows to more
> > than 1GB, after FS restart RSS is about 50M. Version git-fe638ad
> > 2010-10-13. Boxes running older FS version git-828960a 2010-09-25 have
> > RSS in 60-100M range for weeks.
> >
> > On Thursday 28 October 2010, Michael Collins wrote:
> >> Is it consistently driving the CPU usage up after a restart? You might
> >> want to do top -H to see if you can narrow down the exact process that
> >> is sucking up all the resources. Also, make sure that you are not
> >> suffering a SIP attack. You may want to consider setting up fail2ban:
> >> http://wiki.freeswitch.org/wiki/Fail2ban
> >>
> >> Make sure you update to the latest as soon as possible as Tony has fixed
> >> some recent bugs.
> >>
> >> -MC
> >>
> >> On Wed, Oct 27, 2010 at 10:04 PM, Babstar <babstar99 at gmail.com> wrote:
> >> > On Tue, Oct 26, 2010 at 6:23 AM, Michael Collins
> >
> > <msc at freeswitch.org>wrote:
> >> >> Look at the *.db files. Are any of them getting really large?
> >> >> -MC
> >> >>
> >> >> Michael,
> >> >
> >> >                just had the latest failure, nothing unusually large
> >> > with the *.db files:
> >> > 16K     /usr/local/freeswitch/db/call_limit.db
> >> > 148K    /usr/local/freeswitch/db/core.db
> >> > 8.0K    /usr/local/freeswitch/db/fifo.db
> >> > 76K     /usr/local/freeswitch/db/sofia_reg_external.db
> >> > 504K    /usr/local/freeswitch/db/sofia_reg_internal.db
> >> > 8.0K    /usr/local/freeswitch/db/sofia_reg_internal.db-journal
> >> > 76K     /usr/local/freeswitch/db/sofia_reg_internal-ipv6.db
> >> > 16K     /usr/local/freeswitch/db/voicemail_default.db
> >> >
> >> >
> >> > When I restarted the daemon, the usage over a few minutes jump up to
> >> > 24%, only a reboot could  fix it.
> >> >
> >> > --
> >> > Babstar
> >> >
> >> > _______________________________________________
> >> > FreeSWITCH-users mailing list
> >> > FreeSWITCH-users at lists.freeswitch.org
> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> >> >rs http://www.freeswitch.org
> >
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> 




More information about the FreeSWITCH-users mailing list