[Freeswitch-users] segmentation fault on startup
Norman Tomlins
norm at voicenetwork.ca
Tue Feb 14 21:17:31 MSK 2012
Darcy,
Freeswitch uses sqlite for it's database and doesn't compact the database
at all and they will keep growing. If you wanted to shrink the db down,
you could do a "VACUUM" from the sqlite command line. Personally, I
just delete the db files when I restart freeswitch, and keep everything on
a 100 meg ram disk.
Norman Tomlins
Voice Network Inc.
On Tue, Feb 14, 2012 at 1:01 PM, Darcy <darcy at primrose.ws> wrote:
> One last question regarding this, after restart, I noticed the
> registrations
> were awry, only 1 registration at a time, each new one replaced the
> existing
> one, so we deleted all the db files and restarted freeswitch again,
> corrected the problem. I noticed sofia_reg_internal was over 2.7 meg, but
> now that it is restarted it is only 82kb, should these be flushed on a
> regular basis, say for example, once a week, stop the freeswitch remove the
> db files, restart the freeswitch, it could of course be scheduled in
> crontab. This switch only has 8 registrations, we many use it as a sip
> tandem (acl authentication).
>
> Thanks
> Darcy
>
> -----Original Message-----
> From: Anthony Minessale
> Sent: Tuesday, February 14, 2012 11:29 AM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] segmentation fault on startup
>
> Hard to know cos you need to get a backtrace of the crash to be able
> to identify it.
> But like ken said, if the db was possibly corrupted and sqlite causes
> the crash then there is little we can do besides what you already did.
>
>
> On Tue, Feb 14, 2012 at 10:05 AM, Darcy <darcy at primrose.ws> wrote:
> > I have three freeswitches running on public IPs, not behind a router.
> > There was a power hit on site and all servers were restarted but none of
> > the
> > freeswitches started, when I tried to manually start them, I got a
> > segmentation fault. I had to rename core.db on each system to get them
> > to
> > restart. Is this a known issue. One of these switches had a git update
> 1
> > week ago, the other two are various vintages but run flawless, until last
> > night of course. The longest running one is about 14 months.
> >
> > Any input or thoughts would be appreciated.
> >
> > Darcy
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > 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
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120214/93f87949/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list