[Freeswitch-users] what is the purpose and value of the files in the db directory?

Frank Church vfclists at gmail.com
Sat Apr 14 18:11:11 MSD 2012


On 13 April 2012 17:16, Ken Rice <krice at freeswitch.org> wrote:

> The files in the db directory are used for a variety of things...
> Most of the files are for storing runtime information that can be nuked
> across reboots the exception to that is the voicemail db... If you nuke it
> you lose all your voicemail metadata effectively resetting all the
> voicemail
> boxes.
>
> Data stored in there is used for various things like show calls and show
> channels so that we don't have to lock memory structures just to show you
> what calls are active and what state they are in. (this was a lessoned
> learned from years of seeing "avoiding deadlock" from a simple show me the
> calls.
>
> As far as using an alternate database yes you can... See the wiki for core
> odbc docs. This applies not just to the core but to several other modules
> individually.
>
> Also as a side note, if you are not using the voicemail module, you can
> mount the db directory on a ram drive. This has been shown to increse
> performance and reduce disk IO a fair bit...
>
>
>
> On 4/13/12 4:38 AM, "Frank Church" <vfclists at gmail.com> wrote:
>
> > I have been getting an occasional problem when freeswitch fails to
> > start correctly. I googled around and found out that its was caused by
> > the corruption of files in the db directory.
> >
> > What runtime related information is stored in those files? Are they
> > useful for some logging or analytical value?
> >
> > Can an alternate database system be used for them?
>
>
>
>

Is there a way to detect if the start up failure is due to those fails, so
that you can delete them and restart Freeswitch?

Can you check something like asterisks 'core show channels' etc from it,
something like call progress, duration etc of live calls, CDR etc?

What format are they in, sqlite3?




_________________________________________________________________________
> 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
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120414/8e8f8c01/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list